Jump to content
Sign in to follow this  
Forge

Isn't there something like..

Recommended Posts

Forge

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

hotkeyset

Edited by emmanuel

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

Share this post


Link to post
Share on other sites
Forge

$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

HoyKeySet is needed write to Start.

and...

HotKeySet ( "+{F1}", "Resolution" )

OR

HotKeySet ( "{F1}", "Resolution" )

But don't:

HotKeySet ( "{+F1}", "Resolution" )

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×