Jump to content

Terminal - Changing User with Password


Recommended Posts

Posted

Hi, 

 

I want to create a workflow to change the user in the Terminal app but I can't make the workflow wait for the Terminal ask for the password and just then write it .

I think what I need is a "wait next interaction from the computer" command or something like that. 

Posted

"sleep".
 
Every programming language has a sleep command. AppleScript calls it "delay" just to be awkward: delay 0.1 will pause for 0.1 seconds.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...