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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...