Jump to content
Flirc Forums
clive

Create a Macro involving Win key + subsequent keys to sleep laptop

Recommended Posts

I would like the power button on my remote (I have a spare WDTV and a Panasonic remote which I'm using with Flirc Gen 2) to act as a sleep button. I'm using a Windows 10 laptop to run Kodi. I've tried using the Shut down button in both GUI & command line. Although both report success nothing happens when the power button is pressed. I want sleep rather than shut down anyway. In windows the key combination for sleep is Win key + x (simultaneously) followed by u then s. How should I turn this into a macro? (I have read the manual and searched the forum, but no one else seems to have asked this question).  Thank you.

Share this post


Link to post
Share on other sites

Which Flirc model do you have? If it's 2nd gen one, then you can create macros using a command line tool (not yet supported in the GUI).

But there's already a wake/suspend function you can use. It's in the GUI in Media keys controller.

  • Thanks 1

Share this post


Link to post
Share on other sites

@yawor Thanks. I'd assumed that the power button would have the same function (in the gui) in all controllers. I'm using Gen 2 by the way.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×