zasxes 0 Posted September 27, 2007 if so, how? Thanks. Share this post Link to post Share on other sites
JBeef 0 Posted September 27, 2007 HotKeySet("{ENTER}","schmenter") While 1 Sleep(10) WEnd Func schmenter() If Not WinActive("some app") Then HotKeySet("{ENTER}") Send("{ENTER}") HotKeySet("{ENTER}","schmenter") EndIf EndFunc - crazy - ~Jap Share this post Link to post Share on other sites
Blue_Drache 260 Posted September 27, 2007 I use something similar with my GUIs. If WinActive($hwndGUI_Main) Then HotKeySet("{ESC}", "MyExit") Else HotKeySet("{ESC}") EndIf If Window X is active, then "ESC" will fire "MyExit" for the script. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Share this post Link to post Share on other sites
SadBunny 131 Posted September 27, 2007 (edited) HotKeySet("{ENTER}","schmenter") ... Func schmenter() This is the best lingual-programmatical joke I've heard in a long time Thanks for the laugh! /edit: tpyo typo Edited September 27, 2007 by SadBunny Roses are FF0000, violets are 0000FF... All my base are belong to you. Share this post Link to post Share on other sites