I figured one.ahk would be like this:
Code: Select all
Send, #b
exitapp
Code: Select all
Loop {
soundbeep,600,500
sleep 500
}
#b::Pause
Code: Select all
Send, #b
exitapp
Code: Select all
Loop {
soundbeep,600,500
sleep 500
}
#b::Pause
Code: Select all
F12::FileAppend,,pause.ahk
Code: Select all
MsgBox, Here we go.
if FileExist("pause.ahk") {
FileDelete, pause.ahk
ExitApp
}
From where I stand that would only work if the second script is reading that section and the script would only pause if and when it reads that line. No?BoBo wrote: ↑22 May 2022, 04:02"Poor men’s"-option…
Script1Script2Code: Select all
F12::FileAppend,,pause.ahk
Same working directory.Code: Select all
MsgBox, Here we go. if FileExist("pause.ahk") { FileDelete, pause.ahk ExitApp }
Code: Select all
Loop (
SoundBeep, 600,500
Sleep, 500
}
if FileExist("pause.ahk") {
FileDelete, pause.ahk
ExitApp
}