Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetTitleMatchMode, 2
- DetectHiddenWindows, On
- f1:: ;start timer
- settimer, runcheck, 900000
- return
- runcheck:
- RunWait, cmd /c ""C:\Windows\System32\wbem\WMIC.exe" Path win32_process Where "Name='AutoHotkey.exe'" Get CommandLine | clip", , Hide
- If CLIPBOARD contains Fisch Macro V12.ahk
- {
- ;its running so do nothing
- }
- Else
- {
- Run, C:\Users\Thom\Desktop\Fisch Macro V12.ahk ;change this to script file name and path
- sleep 5000
- send p ;starts the autofish
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment