This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Using Applescript with 1Password

Is there a way to find out the location of the user's keychain using Applescript? I was able to do it easily from the plist in the web version, but not with the MAS version...

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Social Choreographer
    I'm no AppleScript expert, but the preference file for the 1Password 3.9 Helper is located here:



    [CODE]~/Library/Containers/com.agilebits.onepassword-osx-helper/Data/Library/Preferences/com.agilebits.onepassword-osx-helper.plist[/CODE]



    And the relevant key is:





    [CODE]

    <key>DatabasePath</key>

    <string>/Path/To/Your/1Password.agilekeychain</string>[/CODE]



    I hope that helps. Please let me know. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />
  • Senior Member
    Certainly not the case with 1Password 3.8.20, Khad.
  • Social Choreographer
    edited September 2012
    Nope. It is not. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />



    Since lonevvolf said he was able to obtain the information just fine from "the web version" (3.8.x) and this is the 3.9 forum, I didn't include that information. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' />



    The preference file for the 1Password 3.8 is located in the "usual" location (not in the Containers folder) since 3.8 is not sandboxed:



    [CODE]~/Library/Preferences/ws.agile.1Password.plist[/CODE]



    And the relevant key is:



    [CODE]<key>AgileKeychainLocation</key>

    <string>/Path/To/Your/1Password.agilekeychain</string>[/CODE]



    <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />
  • Senior Member
    Thanks, Khad -- I didn't notice that I was in the wrong topic. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />
  • &quot;T-Dog&quot; Agile&#39;s Mascot Community Moderator
    Hey NS



    I am just glad to see you still hanging around here like myself.
  • Junior Member
    Thanks! That worked perfectly!
  • Social Choreographer
    Great! <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In