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

Is it possible to wake a laptop from sleep?

General Discussion
4
6
3.0k
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 Aug 17, 2020, 12:26 AM

    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.

    R 1 Reply Last reply Aug 17, 2020, 11:22 PM Reply Quote 0
    • R
      Russ @sykramsounds
      last edited by Russ Aug 17, 2020, 11:38 PM Aug 17, 2020, 11:22 PM

      @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
      • B
        Bráulio Betônico
        last edited by Oct 24, 2021, 7:15 PM

        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?

        R 1 Reply Last reply Oct 24, 2021, 7:44 PM Reply Quote 0
        • R
          Russ @Bráulio Betônico
          last edited by Russ Oct 24, 2021, 7:45 PM Oct 24, 2021, 7:44 PM

          @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
          • B
            Bráulio Betônico
            last edited by Oct 24, 2021, 8:10 PM

            It worked. Thank you so much again.

            R 1 Reply Last reply Oct 24, 2021, 9:55 PM Reply Quote 1
            • R
              Russ @Bráulio Betônico
              last edited by Oct 24, 2021, 9:55 PM

              @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