Sign in to follow this  
Followers 0
Hyflex

Whats wrong with this?

9 posts in this topic

Global $Paused
HotKeySet("{END}", "Terminate")
Hotkeyset("{LCTRL}", "op")

While 1
Sleep (500)
WEnd

Func Terminate()
    Exit
EndFunc


Func op()
TrayTip ( "Attepting to Open", "Attepting to Open", 10 , 1 )
Sleep(100)
Run(@ScriptDir & "/xE.exe")
Sleep(100)
Endfunc

When i press left controll it doesnt run it....

I have in the folder im in, s2.au3 and s2.exe i tryed it compiled... and xE.exe

Share this post


Link to post
Share on other sites



The following hotkeys cannot be set:

...

Alt, Ctrl, Shift, Win - These are the modifier keys themselves!

...

Share this post


Link to post
Share on other sites

ahhh how do i set lets say E to be it then?

Would it be: Hotkeyset("{E}", "op")

or

Hotkeyset("E", "op")

Share this post


Link to post
Share on other sites

"{E}" would do nothing, since E isn't a special key. "E" would require Shift + E since it's case-sensitive.

What about trying "e" ?

Share this post


Link to post
Share on other sites

Doesnt work i useing insert now xD thansk, close topic please

Share this post


Link to post
Share on other sites

You would just use "e" for a basic e. You really should read the help file and actually pay attention to the send keys page.

Share this post


Link to post
Share on other sites

i did but it didnt work, e doesnt work still...

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  
Followers 0