On Nov 27, 2007, at 7:12 PM, John Stephens wrote:
The one thing I'd like
is an easy way to customize hotkeys to quickly
move items to different collections. I'm really
happy with the hotkeys I use in Gmail, and I use
Mail Act-on to implement the same hotkeys in
Mail.app. Is there any tool like this for
Yojimbo?
If the answer involves Applescript, I would need
a balbative step-by- step guide. If there is a
Quicksilver solution, I would be delighted.
Well, here is a script that moves the selected items to a collection
called "Foo". You could save a copy of this script for each
collection you want to be able to move items to (change the name of
the target collection in each copy, of course). Then it's up to you
how to assign keyboard shortcuts to each script. I'm sure you could
do it with Quicksilver; I've tested it with FastScripts.
tell application "Yojimbo"
set _collection to folder collection "Foo"
set _items to selected items of browser window 1
if _items is missing value then return
repeat with _item in _items
remove _item from every folder collection
add _item to _collection
end repeat
end tell
As written above, the items are removed from any other folders before
putting them in the target folder. If you just want to add them to
target without removing them from other collections, you can delete
the "remove" line.
Jim
--
------------------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <yojimbo-talk@barebones.com>.
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
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: <[EMAIL PROTECTED]>