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

How to unlock your screen (not from sleep mode)

Mac
1
1
395
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.
  • M
    Mike
    last edited by Aug 13, 2021, 4:55 PM

    Hi, I wrote an applescript that allows you to unlock your screen.
    Use on your own risk. 🙂

     tell application "System Events"
     keystroke return
     delay 2
     keystroke "YOUR_PASSWORD"
     keystroke return
     end tell
    

    You call the command on TriggerCMD via osascript.
    This only works when you wake up your Mac from Screensaver, not from Sleep Mode.

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post