taras di Posted October 28, 2006 Share Posted October 28, 2006 Hi everyone, I've compiled a script into an exe. I wish to run this script from any window, on the file that is currently highlighted. I though I could do this by creating a shortcut to the exe, placing the shortcut on the destkop, and assigning it a shortcut key. However, when I press the shortcut key nothing happens! I tried assigning a shortcut key to some other shortcuts on my desktop, and they seem to work. Does anyone know why this is happening? Thanks Taras Link to comment Share on other sites More sharing options...
Valuater Posted October 28, 2006 Share Posted October 28, 2006 (edited) Sounds like you are "trying" correctly, dont know the problem!?... Maybe just add HotKeySet() to your exe and have it running in a "sleep" mode. When you press the HotKey, the script will execute 8) Edited October 28, 2006 by Valuater Link to comment Share on other sites More sharing options...
taras di Posted October 29, 2006 Author Share Posted October 29, 2006 Sounds like you are "trying" correctly, dont know the problem!?... Maybejust add HotKeySet() to your exe and have it running in a "sleep" mode. When you press the HotKey, the script will execute8)Hmm, didn't think of trying setting the hotkey in the exe (it was late at night :"> ). It works now. What I was trying to do is set a hotkey for the compiled executable, so the executable itself would run when the windows hotkey was set (you set a hotkey by going to properties of the shortcut).Oh well, this works fine Thanks!Taras 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