Jump to content

Recommended Posts

Posted

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.

Posted (edited)

hotkeyset

Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Posted

$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"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...