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

    Is it possible to wake a laptop from sleep?

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 4 Posters 4.1k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              Bráulio Betônico
              last edited by

              It worked. Thank you so much again.

              RussR 1 Reply Last reply Reply Quote 1
              • RussR Offline
                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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post