Page 1 of 1

Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 02 Jan 2019, 10:08
by BoBo
Trigger CMD is a cloud service that allows you to securely and remotely run commands on your computers.
Your commands could install updates, open your garage, run a script, or anything else you decide.
There are many ways to trigger your commands, including IFTTT, Alexa, Google Home, SmartThings, and Zapier.

https://www.triggercmd.com

Its voice command index is listed in a JSON (text) file so you can edit/swap those using AHK :)

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 02 Jan 2019, 10:52
by jeeswg
Hello BoBo! :wave:

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 02 Jan 2019, 13:40
by BoBo
jeeswg wrote:
02 Jan 2019, 10:52
Hello BoBo! :wave:
Greetz + Happy New Year jeeswg (& friends) :beer: :mrgreen:

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 09 Feb 2019, 23:18
by SOTE
Looking at this, you can do much of this with AHK and your e-mail account. Have a computer with AHK check your e-mail, Google Drive, or web server that has a document with command words. The person can send their command words to the document from any remote location, and their computer with AHK would check this document periodically. Then based on the command words in the document, execute various AHK scripts.

Of course the downside is that AutoHotkey is Windows and ReactOS (which is still now ready for prime time yet) only for now.

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 10 Feb 2019, 16:41
by garry
I 'like' these 'smart' things ( IoT )

( first answer to 5G )
How does 5G make everyday life easier for us?
5G will take the Internet of Things one step further.
Mobile phones that ask the fridge at home if there is enough beer left.

With the Internet of Things, cyber blackmailers could lock out owners from their homes.

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 12 Mar 2019, 07:39
by BoBo
SOTE wrote:
09 Feb 2019, 23:18
Looking at this, you can do much of this with AHK and your e-mail account. Have a computer with AHK check your e-mail, Google Drive, or web server that has a document with command words. The person can send their command words to the document from any remote location, and their computer with AHK would check this document periodically. Then based on the command words in the document, execute various AHK scripts.

Of course the downside is that AutoHotkey is Windows and ReactOS (which is still now ready for prime time yet) only for now.
My focus was to trigger the script using my voice via an Amazon Echo Dot II. That works great. Haven't had a try to create/modify a document hosted at Google Drive, which I think would need some extra effort. Feel free to prove me wrong ;)

For those who want to create an AHK option without using a third party app the following info might come handy (but is probably outdated?).
http://www.wolter.biz/2017/12/alexa-programming-languages-and-tools/
Good luck :)

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 04 Jun 2020, 07:02
by BoBo

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 06 Sep 2022, 07:01
by BoBo

Re: Trigger CMD - Run AHK Scripts Using Amazon's Alexa or ...

Posted: 24 Feb 2023, 05:19
by markwood5637
"It is possible to run AutoHotkey (AHK) scripts using Amazon's Alexa through the use of third-party applications and services?"

Here's one approach to accomplishing this:

Create an Alexa Skill: Create a new Alexa Skill using the Alexa Skills Kit (ASK) developer console. This will involve creating a new skill with a custom invocation name and defining the intents and utterances that users will use to trigger the skill.

Create a Lambda Function: Create a new AWS Lambda function that will handle the requests from the Alexa Skill. This function should be written in a programming language supported by AWS Lambda, such as Node.js, Python, or Java.

Install the AutoHotkey Compiler: Install the AutoHotkey compiler on the AWS Lambda function to enable the script execution. You can either package the AHK script within the Lambda function or reference it from a remote location.

Write the Code: Write the code that will handle the incoming requests from Alexa, parse the intent and slots, and execute the AHK script based on the user's request.

Test and Deploy: Test the skill thoroughly to ensure it is functioning correctly. Once it is working as expected, deploy the skill to the Alexa platform.