Page 1 of 1

AutoHotKey Plugin

Posted: Wed Jan 15, 2014 8:48 pm
by Krafty
Image

Just finished working on an AutoHotKey plugin for Eventghost. This allows you to run pretty much any AutoHotKey script as an action. There are also a few extra actions I added.

Here's a list of all of them:
  • AutoHotKey Command - Runs a one-line ahk command.
  • AutoHotKey Script - Runs user-entered ahk code.
  • AutoHotKey Files - Runs an ahk file.
  • AutoHotKey Message Box - Creates an ahk message box. There are several different button styles and each button triggers an event.
  • AutoHotKey SoundBeep - Emits a tone from the PC speaker.
  • AutoHotKey Block Input - Blocks user input. Freezes the mouse and ignores all keyboard input until the timeout is reached or "BlockInput Off" action is executed. Only works if Eventghost is ran as admin.
  • BlockInput Off - Gives control back to the user after "Block Input" is executed.
  • AutoHotKey Click Image - Searches the screen for an image provided by the user. If the image is found the user can choose to have it trigger an event with the coordinates in the payload and/or click the mouse at the coordinates. Window with image must be active.
  • AutoHotKey Input Box - Creates an input box the prompts the user. The entered data is set to a variable.
That's it for now. I'll probably set up a quick google website for this later like I did with my other plugins. Let me know if you run into any issues.

Just move the extracted "AutoHotKey" folder to the plugins folder in your Eventghost folder to install.

Enjoy n__n

Edit: I forgot to mention, if you want to use "eg." variables, just enclose them in #s. Like this: #eg.variable#

Re: AutoHotKey Plugin

Posted: Wed Jan 15, 2014 10:05 pm
by bruinlax
nice! so far so good! thanks for writing it!

Any chance you could put this on an SVN so i could keep it updated if you update it?

Re: AutoHotKey Plugin

Posted: Wed Jan 15, 2014 10:58 pm
by Krafty
bruinlax wrote:nice! so far so good! thanks for writing it!

Any chance you could put this on an SVN so i could keep it updated if you update it?
Glad you like it n__n

I've never used an SVN before, but I'll look into it before the next update. I'll let you know when I have that set up.

Re: AutoHotKey Plugin

Posted: Tue Jan 28, 2014 12:23 pm
by piert
Thanks for sharing, Krafty!
I use Autohotkey, which is a great program, to automate a lot of keyboard input at work.
At home I use Eventghost for a lot of automation purposes. I think there is a lot of overlap in capabilities of both programs.
The entry box to user for a variable input seems interesting. Will have to think of new applications for it (which is always a good thing :lol: )