Hyflex Posted March 31, 2007 Posted March 31, 2007 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
Helge Posted March 31, 2007 Posted March 31, 2007 The following hotkeys cannot be set:...Alt, Ctrl, Shift, Win - These are the modifier keys themselves!...
Hyflex Posted March 31, 2007 Author Posted March 31, 2007 ahhh how do i set lets say E to be it then? Would it be: Hotkeyset("{E}", "op") or Hotkeyset("E", "op")
Helge Posted March 31, 2007 Posted March 31, 2007 "{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" ?
Hyflex Posted March 31, 2007 Author Posted March 31, 2007 Doesnt work i useing insert now xD thansk, close topic please
Richard Robertson Posted March 31, 2007 Posted March 31, 2007 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.
jvanegmond Posted March 31, 2007 Posted March 31, 2007 Reading the help file actually helps understanding it... github.com/jvanegmond
Hyflex Posted March 31, 2007 Author Posted March 31, 2007 i did but it didnt work, e doesnt work still...
Helge Posted March 31, 2007 Posted March 31, 2007 HotKeySet("e", "test") While 1 Sleep(100) WEnd Func test() MsgBox(64, "", "oh ?") EndFunc
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