exactly, IN["nameofprog"] instead of nameofprog,
Is it possible?
Code: Select all
IN := {}
IN["name"] := "IntelliJ v2017.3.2"
IN["nameofprog"] := idea64.exe
nameofprog := idea64.exe
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; unique action list
_INAction( Menu, Sleep, Key ) {
;;MsgBox, %Menu%, %Sleep%, %Key%
SendInput, %Menu%
WinWaitActive, ahk_class SunAwtDialog ahk_exe %nameofprog%
Sleep %Sleep%
SendInput, {delete}%Key%
WinWaitClose, ahk_class SunAwtDialog ahk_exe %nameofprog%
}