X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: kize37 on June 17, 2011, 02:57:59 PM

Title: How to capture Key Press with using CM19A
Post by: kize37 on June 17, 2011, 02:57:59 PM
How can I use the CM19A and have it capture key press events using a remote KR19A.

Thanks,

Todd
Title: Re: How to capture Key Press with using CM19A
Post by: Noam on June 17, 2011, 03:14:31 PM
I suppose you could create a macro in AHP for each button press you want to capture, and have the macro run a batch file that appends that information to a text file.
Title: Re: How to capture Key Press with using CM19A
Post by: kize37 on June 18, 2011, 08:42:02 AM
Thank you!

Looking for z and /as a key press when I press one of the remote buttons. This would be running in the background while I run a flash program.  Do you have an example of how to accomplish this.

Todd
Title: Re: How to capture Key Press with using CM19A
Post by: Noam on June 18, 2011, 09:44:17 PM
There are a number of free programs (AutoIt3 comes to mind right away) which can sned a keystroke to a specific program.
Title: Re: How to capture Key Press with using CM19A
Post by: dbemowsk on June 18, 2011, 09:59:02 PM
Another program that *might* fit the bill and is configurable for a whole host of other things is AutoHotKey (http://www.google.com/url?sa=t&source=web&cd=1&ved=0CCgQFjAA&url=http%3A%2F%2Fwww.autohotkey.com%2F&rct=j&q=autohotkey&ei=jFf9TeeuHKnw0gH44P23Aw&usg=AFQjCNFPilXcl_JZc0P02lpflIlG3G-Q-w&sig2=EpxqMIe2B3QcZlQi5-MwNQ&cad=rja).  You'll have to read up on it and see if there is a way you can capture the key press.
Title: Re: How to capture Key Press with using CM19A
Post by: Noam on June 18, 2011, 10:17:55 PM
Another program that *might* fit the bill and is configurable for a whole host of other things is AutoHotKey (http://www.google.com/url?sa=t&source=web&cd=1&ved=0CCgQFjAA&url=http%3A%2F%2Fwww.autohotkey.com%2F&rct=j&q=autohotkey&ei=jFf9TeeuHKnw0gH44P23Aw&usg=AFQjCNFPilXcl_JZc0P02lpflIlG3G-Q-w&sig2=EpxqMIe2B3QcZlQi5-MwNQ&cad=rja).  You'll have to read up on it and see if there is a way you can capture the key press.
THAT was the other one! (I was drawing a blank on the name - I've used both, and they both are pretty powerful utilities in the right hands)
Title: Re: How to capture Key Press with using CM19A
Post by: EL34 on June 21, 2011, 01:08:50 PM
Auto Hot key is great.

I use it to capture button presses on USB devices that you can customize the keystrokes for each button on the USB device
Like say, a extra button on a mouse that has been programmed to create the letter X when pressed

Title: Re: How to capture Key Press with using CM19A
Post by: kize37 on June 22, 2011, 04:09:45 PM
Thanks for the help!

Todd