Forge Posted June 10, 2004 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.
emmanuel Posted June 10, 2004 Posted June 10, 2004 (edited) hotkeyset Edited June 10, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks)
Forge Posted June 10, 2004 Author 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"
Josbe Posted June 10, 2004 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now