Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
NIronwolf
2 discussion posts
Is there a way to have a global variable in BFS scripts?

My use case is to configure how a set of triggered scripts run. I'm setting a rows/columns variable to slice my screen up and then use some key combinations to move/resize the current window, but since I have 16 scripts that's repeated and I kind of wanted to play with the splits without editing that many triggers.

Thanks!
Dec 23, 2023  • #1
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
You can use the BFS.ScriptSettings.xxx functions to share settings between scripts.

https://www.displayfusion.com/ScriptedFunctions/Help/#bfsScriptSettings

You can call BFS.ScriptSettings.WriteValue to save a value then use BFS.ScriptSettings.ReadValue to read that value back from any other scripts. I hope this helps!
Dec 26, 2023  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)