Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
-
hermhart
- Posts: 244
- Joined: 13 Jan 2015 18:41
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)?
Windows 11 Pro; 100% scaling
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
If you were asking me, then yes, thanks!
-
hermhart
- Posts: 244
- Joined: 13 Jan 2015 18:41
Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)
Thank you. 
Windows 11 Pro; 100% scaling
XYplorer Beta Club