Jump to content
Sign in to follow this  
Hyflex

Whats wrong with this?

Recommended Posts

Hyflex

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
Helge

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
Hyflex

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
Helge

"{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
Hyflex

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

Share this post


Link to post
Share on other sites
Richard Robertson

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
Hyflex

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  

×