Given the below two scripts, what is the preferred way for Script B to "Show" a GUI that was created in Script A?
It actually does seem to work with this mini-example. In my larger project it is not working though.
CODE:
#SingleInstance
#Requires AutoHotkey v2+
; SCRIPT A
; show gui from other script?
myg := gui()
myg.add('text',,'My GUI')
!^+s::
{myg.show('w200 h200')
}
CODE:
#SingleInstance
#Requires AutoHotkey v2+
; SCRIPT B
; show gui in other script?
!^+o::
showOther(*)
{A_SendLevel++
send "!^+s"
A_SendLevel--
}
It actually does seem to work with this mini-example. In my larger project it is not working though.
Statistics: Posted by kunkel321 — 19 minutes ago