Page 1 of 1

Script command get(#CommandID) add #481 (Suspend Auto-Refresh)

Posted: 24 Jul 2019 19:25
by hermhart
Would it be possible to add to the get(#CommandID) the toggle state for #481 (Suspend Auto-Refresh)?

Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)

Posted: 31 Jan 2022 01:10
by jupe
+1

Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)

Posted: 01 Feb 2022 08:56
by admin
OK, implemented it like this:

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");
Is that what you had in mind?

Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)

Posted: 01 Feb 2022 16:49
by jupe
If you were asking me, then yes, thanks!
      
:ugeek:

Re: Script command get(#CommandID) add #481 (Suspend Auto-Refresh)

Posted: 01 Feb 2022 19:25
by hermhart
Thank you. :appl: