autorefresh disable enable with script code

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

autorefresh disable enable with script code

Post 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
newbie or not...........

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: autorefresh disable enable with script code

Post 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.

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: autorefresh disable enable with script code

Post by drjs5x »

i will if else for my script thanks.
:appl:
newbie or not...........

Post Reply