TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Is it possible to wake a laptop from sleep?

    General Discussion
    4
    6
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sykramsounds
      last edited by

      I created a .cmd file that puts my laptop to sleep but I cant figure out how to wake it up using TriggerCMD. I tried Wake on Lan but that didnt seem to work on my laptop. Any suggestions are greatly appreciated. My end goal is be able to turn on my laptop, PC and lights in my studio using on press on my iPhone/siri.

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @sykramsounds
        last edited by Russ

        @sykramsounds, if the laptop is asleep, you can't run commands on it because it's not even connected to the internet when it's asleep.

        If it's on but just the display is off, you could still run commands, including the command to turn the display back on. I assume you have a mac? If so, these are the commands:

        Display off:  pmset displaysleepnow
        Display on:   caffeinate -u -t 1
        

        Or better yet, do this:

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • Bráulio BetônicoB
          Bráulio Betônico
          last edited by

          How are you? Everything ok? Can you help me?
          In triggercmd how can I insert the command turn on screen and turn off screen in the same command configuration?

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Bráulio Betônico
            last edited by Russ

            @Bráulio-Betônico, it should look like this. Notice I set "Allow Parameters" to true so I could use the Off Command field:

            697d49df-f459-4b52-97ca-110644893739-image.png

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • Bráulio BetônicoB
              Bráulio Betônico
              last edited by

              It worked. Thank you so much again.

              RussR 1 Reply Last reply Reply Quote 1
              • RussR
                Russ @Bráulio Betônico
                last edited by

                @Bráulio-Betônico, no problem. Thanks for the question. I'm glad you asked.

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post