Forge 0 Posted June 10, 2004 On {F1} Then Do something Stop I want to do something when someone press F1, then I just want the script to Idle until it's pressed again. Share this post Link to post Share on other sites
emmanuel 0 Posted June 10, 2004 (edited) hotkeyset Edited June 10, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Share this post Link to post Share on other sites
Forge 0 Posted June 10, 2004 $osversion = @OSVersion $DesktopWidth = @DesktopWidth $DesktopHeight = @DesktopHeight $answer = MsgBox(4, "Forge System Information (Test)", "Writes your system specs.") if $answer = 7 Then MsgBox(0, "Exit", "Exiting.") exit EndIf Func Resolution() Send ("My computer is running " & $OSVersion & ". I am also using the resolution " & $DesktopWidth & "x" & $DesktopHeight & ". Tibia System Spec 1.0.") EndFunc AutoItSetOption("SendKeyDelay", 10) HotKeySet ( "{+F1}", "Resolution" ) I want it script to stay "on" Share this post Link to post Share on other sites
Josbe 1 Posted June 10, 2004 HoyKeySet is needed write to Start. and... HotKeySet ( "+{F1}", "Resolution" ) OR HotKeySet ( "{F1}", "Resolution" ) But don't: HotKeySet ( "{+F1}", "Resolution" ) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites