Jump to content

Recommended Posts

Posted

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

Posted (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 by Valuater

NEWHeader1.png

Posted

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)

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 :whistle:

Thanks!

Taras

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
×
×
  • Create New...