execute root command: send hotkey / key combination

Post your questions and help other users.

Moderator: Martin

Post Reply
terigilteo
Posts: 4
Joined: 14 Oct 2014 08:58

execute root command: send hotkey / key combination

Post by terigilteo » 23 Mar 2015 08:04

Hi,

is there a way to send key combinations with automagic? Like alt+tab? Using one single root command seems not to work and I also tried to have multiple commands run simultaniously but that also didnt end up in a key combination.

The reason I am trying this is that some applications, especially Chrome, dont particularly like the control UI features of automagic. The workaround for this is to send keys via root command, e.g. keycode 82 for menu. Thus I get into the more options menu, but I still cannot navigate it. Pressing ctrl+t on the other hand would open a new tab instantly. Any further ideas on this?

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

Re: execute root command: send hotkey / key combination

Post by Martin » 24 Mar 2015 19:06

Hi,

To my knowledge it's not possible to send modifier keys with command input keyevent (however I might be wrong).
You could use Execute Root Command: input keyevent DPAD_DOWN to move within a menu and use Execute Root Command: input keyevent DPAD_CENTER to click on the selected item.

I have also seen some apps automating actions within a web page by executing a Javascript Bookmarklets.

Regards,
Martin

terigilteo
Posts: 4
Joined: 14 Oct 2014 08:58

Re: execute root command: send hotkey / key combination

Post by terigilteo » 25 Mar 2015 12:04

hey martin,

thank you very much for your reply. Too bad that it doesnt work to send modifier keys. I used your suggested method to open a new tab in chrome and it works fine. It's a bit slow though.

Post Reply