I hope this message finds you all in good health.
I need a little help with this clipboard clearing.
know that this code below clears the clipboard
Code: Select all
Clipboard =""
Code: Select all
^r::reload
Code: Select all
Clipboard =""
Code: Select all
^r::reload
Code: Select all
Clipboard := ""
So, no reload then? Then I would simply replace it:automatically clear my clipboard onces i hit the ctrl+R (^r::reload) and won't mess with the other script functions.
Code: Select all
^r::Clipboard := ""
Code: Select all
^r::
Clipboard := ""
Reload
Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached. For details, see Reload docs.
MsgBox, 4,, The script could not be reloaded.
return
(default setting in AHK v2, but not in v1)gregster wrote: ↑29 Feb 2024, 07:48Possibly adding SetBatchLines -1 to the top of the script will speed things up on average.
Users browsing this forum: DecimalTurn and 147 guests