Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
Would it be possible to add to the get(#CommandID) the toggle state for #481 (Suspend Auto-Refresh)?
-
- Site Admin
- Posts: 60564
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
OK, implemented it like this:
Is that what you had in mind?
Code: Select all
+ Variable <get [Command ID] [ReturnOnTrue = 1] [ReturnOnFalse = 0]>
now also supports this:
#481 = View | Suspend Auto-Refresh (True if Auto-Refresh is off or suspended)
Example:
echo get("#481", "Auto-Refresh Off", "Auto-Refresh On");
FAQ | XY News RSS | XY Twitter
Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
If you were asking me, then yes, thanks!