Kudos to BareBones for the 1.4 version of Yojimbo. I've wanted to be able to launch the location associated with a password via a single keystroke for some time, and now I have it, yay!
Actually, this will work for not just passwords, but bookmarks and web items as well, check it out.
----- on run tell application "Yojimbo" set tSel to the selection if tSel is {} or class of tSel is not list then display dialog "This script only works on selected items." buttons {"OK"} default button 1 else set foundSomething to false repeat with tItem in tSel set tLoc to "" if class of tItem is password item or class of tItem is bookmark item then set tLoc to location of tItem else if class of tItem is web archive item then set tLoc to source URL of tItem end if if tLoc is not "" then tell application "Finder" open location tLoc end tell set foundSomething to true end if end repeat if not foundSomething then display dialog "Could not find any locations to launch." buttons {"OK"} default button 1 end if end if end tell end run -----
Hope someone else finds it useful, -Mike
====================================================Mike "Sunburn" Byrne | What if there were <sunburn@byrneweb.com> | no hypothetical <http://byrneweb.com/sunburn/> | situations?
-- ------------------------------------------------------------------ This message is sent to you because you are subscribed to the mailing list <yojimbo-talk@barebones.com>. To unsubscribe, send mail to: <yojimbo-talk-off@barebones.com> List archives: <http://www.listsearch.com/yojimbotalk.lasso> Have a feature request, or not sure if the software's working correctly? Please send mail to: <support@barebones.com>
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!