Jump to content

Recommended Posts

Hi! I need only remote stop screensaver or awake screen from sleep without password unlock. How to use this workflow for that? When i try to use this workflow, it select a name of the folder on my desktop and trying to rename it.

Share this post


Link to post

Hey,

 

change the script to this:

 

on alfred_script(q)

tell application "System Events"
do shell script "caffeinate -u -t 1"
key code 123
end tell
end alfred_script
 
does it then work as you want it to ?

Share this post


Link to post

 

Hey,

 

change the script to this:

 

on alfred_script(q)

tell application "System Events"
do shell script "caffeinate -u -t 1"
key code 123
end tell
end alfred_script
 
does it then work as you want it to ?

 

It works! Oh great! Thank you very much!

Share this post


Link to post

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...