If I put this in this in
1.ahkCode:
msgbox, starting script..
#Include 2.ahk
msgbox, back to original file..
and this in
2.ahkCode:
#Persistent
msgbox, included script..
it runs 2.ahk.. & successfully returns to 1 where it left off.
If I change
2.ahk to this:
Code:
#Persistent
msgbox, included script..
!s::msgbox, you pressed alt s..
it never returns to original file..
If I put the hotkey on
1.ahk instead of 2..
Code:
msgbox, starting script..
#Include 2.ahk
msgbox, back to original file..
!s::msgbox, you pressed alt s..
..the entire script works fine..
Do hotkeys always have to be either on the 1st script file.. (or on the last 'include' of the script)... or is this a bug?
ps.I also tried different variations w/ return or exit on 2.. but didn't have any luck..