Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.

Hi. I wasn't sure where to post this; it is mostly a howto but includes a small autohotkey script.

A process for using an android phone as a remote control for five autohotkey actions of your choice. I exemplify with remote control of the audio player Xmplay. But the autohotkey commands can be changed to whatever you want to do.

6. save the below code as premote.ahk (if you added other shortcuts keys in xmplay then first edit the sendinput code; see http://www.autohotkey.com/docs/commands/Send.htm ). The script, when running, "reroutes" all mouse clicks/scrolls to instead send the xmplay shortcuts keyboard combinations.

Thanks. I thought up a possible extension too: the premotedroid app on the phone has three mouse buttons and a scroll area. The rest of the screen acts as a mouse touchpad. So mouse gesture actions could also be added. That's more complex but there is mouse gesture code on the autohotkey forums to adapt. If anyone goes for that, feel free to share the solution here.

I have now also discovered that premotedroid can show screen captures of the PC screen. So if you use it to control an audio player you can move the mouse on the phone to see the playlist window. Very useful!

ath: nice program, WinButtons! I don't think you need my autohotkey script to control WinButtons from premotedroid though. Moving the mouse to the WinButton GUI and then just clicking the buttons should be enough. But it could be smart to write an autohotkey script that locks the mouse within the screen coordinates of the WinButtons window and keeps that window active. That way, you would always have it centered in premotedroid. It would be like having the WinButtons GUI right on the phone, if the GUI is small enough to fit the phone screen.