Open 1password from apple script

Options
mickael
mickael
Community Member

Hi,

I try to open 1password from Apple Script through a bash script.

I tried:

osascript -e 'tell app "1Password 7"' -e 'if it is not running then launch'  -e 'end tell'

But this doesn't seem to work. I would like to have to bring the window on the desktop and ideally ask for password.

Is it possible to do that ?

Thanks


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

Comments

  • rudy
    Options

    @mickael,

    I'm not entirely sure if you need to do the if it is not running then launch

    how about this?

    osascript -e 'tell app "1Password 7"' -e 'activate' -e 'end tell'

  • MrC
    MrC
    Volunteer Moderator
    Options
    $ open /Applications/1Password\ 7.app
    
This discussion has been closed.