They work in window explorerm, directory opus and others. But they don't work in everything.exe.
How can i fix the issue?
Thanks for any help in advance.
Code: Select all
#j:: ;edit for .ahk .txt
MouseClick
clips:=Clipboardall
Clipboard:=""
Send,^c
ClipWait, 0
path:=Clipboard
Clipboard:=clips
if ErrorLevel
return
Run Edit %path%, , Max UseErrorLevel
return
#o:: ;open a file
MouseClick
send, {appskey}
sleep 100
send, {o}
sleep 100
send, {enter}
Return
#p:: ;copy file path
MouseClick
tmp:=Clipboardall
Clipboard:=""
Send,^c
ClipWait, 0
path:=Clipboard
Clipboard:=tmp
if ErrorLevel
return
;~ Msgbox, % "Filepath: " path
ToolTip % "Copied to" Clipboard:=path, 250, 500
Sleep 3000
ToolTip
return
#a:: ;RUN as an administrator
MouseClick
send, {appskey}
send, {a}
send, {enter}
Return
#z:: ;unzip by bandzip
MouseClick
send, {appskey}
send, {z}
send, {enter}
If winexist("Bandizip")
Winclose, "Bandizip"
Return