Hyflex Posted March 31, 2007 Share 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 Link to comment Share on other sites More sharing options...
Helge Posted March 31, 2007 Share Posted March 31, 2007 The following hotkeys cannot be set:...Alt, Ctrl, Shift, Win - These are the modifier keys themselves!... Link to comment Share on other sites More sharing options...
Hyflex Posted March 31, 2007 Author Share 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") Link to comment Share on other sites More sharing options...
Helge Posted March 31, 2007 Share 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" ? Link to comment Share on other sites More sharing options...
Hyflex Posted March 31, 2007 Author Share Posted March 31, 2007 Doesnt work i useing insert now xD thansk, close topic please Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 31, 2007 Share 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. Link to comment Share on other sites More sharing options...
jvanegmond Posted March 31, 2007 Share Posted March 31, 2007 Reading the help file actually helps understanding it... github.com/jvanegmond Link to comment Share on other sites More sharing options...
Hyflex Posted March 31, 2007 Author Share Posted March 31, 2007 i did but it didnt work, e doesnt work still... Link to comment Share on other sites More sharing options...
Helge Posted March 31, 2007 Share Posted March 31, 2007 HotKeySet("e", "test") While 1 Sleep(100) WEnd Func test() MsgBox(64, "", "oh ?") EndFunc Link to comment Share on other sites More sharing options...
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