is there a way to send key strokes to computer?

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Maxxy
Posts: 6
Joined: 23 Aug 2014 10:17

is there a way to send key strokes to computer?

Post by Maxxy » 26 Aug 2014 11:00

Or launch a specific file on computer. I was thinking how cool it could be if I could say OK Google and then say pause. And my PC would launch a file (which would be AHK script) or just send a keystroke of space. And it would pause the movie in VLC. (Talking about windows of course)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: is there a way to send key strokes to computer?

Post by Martin » 26 Aug 2014 17:21

I'm not sure to what kind of events an AHK script can react to. Maybe you could let AHK run an internal web server and send HTTP GET or POST requests from Automagic to the windows machine.
You could also run an FTP server on your windows machine and send some files via FTP to your desktop machine and then use an AHK script to detect when such a file appears in the file system. Dropbox or Google Drive could also work to send/sync a file to your desktop.

ZSasha
Posts: 103
Joined: 11 Oct 2013 03:48

Re: is there a way to send key strokes to computer?

Post by ZSasha » 28 Aug 2014 21:59

Plus there is a number of different ways of how Automagic may talk to a PC.
One of them - to use AutoRemote - it is a Tasker plugin but works just fine with Automagic.

On the PC would would probably need some app too - like EventGhost what can work with AutoRemote natively.

Locked