Step-by-step tutorial on "Triggering your BATCH files using ALEXA"

[I am leaving this here, after posting it at http://www.echotalk.org/index.php/topic,1713.0.html as I am sure this little step-by-step tutorial may help many people out there willing to run batch files in different computers using ALEXA voice commands to trigger them.]

Actually, having it working as I mentioned in the previous post was great because eventually doing my research on the web I found out that I can trigger batch files on my PC using Alexa.
So now, I am totally free to use Alexa to command my PC as I want!

This is what is needed.

  1. ifttt_com (If you are not used to it make sure you don’t get lost looking in the ready made recepies. Instead, once you create an account and log in, go straight to the top right corner and click the arrow next to your username and choose “New Applet”). Then click in the “+ this” of the big blue “if+this_then_that” and search for Amazon/Alexa and add it. Pretty easy to find it, as their is just one that will show up when you search for Alexa!

  2. Then choose the first box: that says, “Say a specific phrase(…)” and choose the words/expression you want for Alexa to trigger an event.

  3. Now click on the big blue "+that" of the big blue text "if[ALEXA][then_+_that]"
    Search for Pushbullet. You will need to create an account with facebook/or/google and also, make sure you download the desktop app of Pushbullet that you will need to play around with a bit, I suppose, to configure the settings and get to know it a bit better. You will need to set it to give you an API key and set an encryption password. You will later have to use the two things when you configure the “Plugin: PushBullet” in EventGhost itself, when you add it to the Autoplay. Then you just need to right-click on “Plugin: PushBullet” and choose “Configure item” from the context menu. I will explain it again, later on when we reach 5).

Anyway, we are still in fttt_com, right? And so, now choose the action that says “Push a link (…)”. The way I used it, you can give any Title and URL that you want. It doesn’t matter, since you only want to use the trigger feature, without caring about the title and URL themselves.
Then just review and click FINISH at the end of the page.

[Quite simple, right? It took me a lot of time, though. Because I couldn’t find much documentation or step-by-step tutorials out there. So just had to find my way, trying it out. You are lucky, to have it here all step-by-step!]

  1. Now this part may be a bit more difficult but as I am explaining it all here, may be easy as well.
    First, you’ll want to install the latest build of Eventghost. Once installed you’ll also want to download the Pushbullet Plugin for Eventghost. Extract the archived “Pushbullet” folder and place it in the Eventghost/plugins directory where you installed Eventghost.

Basically follow these 4 steps (as quoted from: eventghost_net/forum/viewtopic.php?f=9&t=5709)
A) Complete installation (for new users)
A.1) You have to download the file PushBulletPluginFolder.zip [http://www.eventghost.net/forum/download/file.php?id=4010]
A.2) Unzip it and the folder PushBullet (including content) move to the folder …\EventGhost\plugins.
A.3) Download the file init.py (at the bottom of the post: http://www.eventghost.net/forum/download/file.php?id=5032) and move it to new folder …\EventGhost\plugins\PushBullet.
A.4) Restart EventGhost and add the plugin PushBullet to your configuration [Menu->Configuration->Add Plugin (Find it in the last folder_OTHER)].

  1. Once you have done this, open Eventghost, click New (CTRL-N) and you will see a blank page with a “Autostart” in the right pane. All your macros/actions will fall under this. To load Pushbullet, you will need to add a plugin to Autoplay.
    This will load the plugin and allow you to begin pushing links to Eventghost.

Then, add a folder to the Configuration Tree, and call it as you wish. I called it ‘MyMacro’.
Right-click it and choose ‘Add event’ giving it the name of the link name you gave in PushBullet.
Then, Right-click again your ‘MyMacro’ folder and choosing ‘Add action’ and then System-> Start Application and in the "Executable: " textfield you may put the path of an executable or of a batch file.

Should be all clear by now. I hope I am not missing anything important. Just make sure you set up the encryption password and API key in PushBullet and then set it in the EventGhost “PushBullet” event you will have to create.

And that’s pretty much. Now you have the power of batch files and executables of your PCs in the hands of Alexa, at the commands of your voice. Great stuff, indeed!

PS_
Last, but not least, according to “tetraecho” user, as he says (in this thread echotalk_org/index.php?topic=612.0): “You don’t need IFTTT, or Pushbullet Look at: eventghost_net/forum/viewtopic.php?f=2&t=7429 to let Alexa talk to EventGhost without them”.
That is if node.js and Lambda Functions do not scare you… I will certainly leave it for another time, as my solution is working fine.