I have a script using a couple of guis and actions are triggered by a hotkey (^Esc) within the scipt :
Code: Select all
gui 1 definition
gui 2 definition
gui x definition
return
^Esc::
code to use my gui based on several things...
......
return
xxx:
return
yyy:
return
- In the other script I can use Send, ^{Esc} to trigger the first script but I don't think it is the cleanest way...
- I remove the first return below the guis definitions and the ^Esc:: so I can call the first script from my second script when needed. Again I don't like it because each time the script will "rebuild" the guis...
Anyone see a better way to solve this situation ?
Thanks for any idea. Best.