Page 1 of 1

autorefresh disable enable with script code

Posted: 18 Mar 2018 14:17
by drjs5x
hi

autorefresh how can disable enable with script code.

start my script
autorefresh set disabled

foreach my rename script

end
autorefresh set enabled.

which code script.
autorefresh how can disable enable with script code.
thanks

Re: autorefresh disable enable with script code

Posted: 18 Mar 2018 14:19
by jupe

Code: Select all

setting "AutoRefresh", 0;
You only need it at the start of your script, it will return to it's previous setting when the script finishes, or change the 0 to a 1 if you want to re-enable it before the script finishes.

Re: autorefresh disable enable with script code

Posted: 18 Mar 2018 14:25
by drjs5x
i will if else for my script thanks.
:appl: