Re: Changing collection icons (was Re: Enhancements)

2008-04-15 Thread Jim DeVona
On Tue, Apr 15, 2008 at 12:49 PM, Jim Correia [EMAIL PROTECTED] wrote:

  The icons for folder and tag collections can be customized. (In much the
 same way that you can in the Finder.)

  - Select the tag/folder collection
  - Open the Inspector
  - Click on the icon
  - Paste a custom icon

I did not know that. Very cool!

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]


Re: Cycle through Search criteria

2008-04-09 Thread Jim DeVona
On Wed, Apr 9, 2008 at 12:29 PM, Patrick Gilmour [EMAIL PROTECTED] wrote:

  Would anyone else find this useful?

I would, too.

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]


Re: Yohimbo search

2008-04-07 Thread Jim DeVona
On Mon, Apr 7, 2008 at 8:43 AM, Steven Weiniger [EMAIL PROTECTED] wrote:

  Alsois there a way to tab back or use a keyboard shortcut to go from
 DELETE ITEM FROM COLLECTION to DELETE ITEM TO TRASH?

Yes. See 
http://www.listsearch.com/Yojimbo/Message/index.lasso?4443-session=listsearch:18185BB009f0414C1FIxk28E63AE
for one way.

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]


Re: Keyboard shortcuts

2008-03-14 Thread Jim DeVona
If you enable All controls under System Preferences-Keyboard 
Mouse-Keyboard Shortcuts-Full Keyboard Access, you can use tab to
cycle between buttons in almost all dialogs (not just in Yojimbo). The
selected button is shown by a blue halo distinct from the normal
default button highlight, and pressing the space bar invokes the
selected button (return and any other dialog shortcuts keep their
conventional roles).

Jim

On Fri, Mar 14, 2008 at 7:45 AM, Steven Weiniger [EMAIL PROTECTED] wrote:

  Hi
  Is there any keyboard shortcut to tab between buttons when Yojimbo asks
 whether you want to delete a note from a collection or from the library?
  Thanks
  Steven W

-- 
--
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]


Re: Feature clarification - capture URL

2008-03-08 Thread Jim DeVona
On Sat, Mar 8, 2008 at 2:10 PM, Wayne Hardy [EMAIL PROTECTED] wrote:

 I need to capture the source URL of a website when I copy it, whether
 highlighting some text on a page or capturing a web archive. (I need to copy
 quite a bit of data from the Internet, then be able to document the source
 months later.)

When you create a web archive with Yojimbo, the URL is saved as the
item comment. Likewise, if you bookmark a page in Yojimbo you can
paste text into its item comment.

Anyway, depending what you mean by copying a web site, a script may
indeed be feasible to help capture the information you need. By copy
do you mean create a text item containing the page content, or simply
copying the selected text to the system clipboard?

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]


Re: Feature clarification - capture URL

2008-03-08 Thread Jim DeVona
On Sat, Mar 8, 2008 at 9:54 PM, Rhet Turnbull [EMAIL PROTECTED] wrote:

  --Also, sometimes the title is blank even when it the document
  has a title

  tell application Safari
 activate
 set theURL to URL of document 1
 set theName to do JavaScript document.title in document 1

Neat script. I use the following method to get the page title for my
Bookmark in Yojimbo scripts, and it seems to work quite reliably:

set theName to the name of document 1

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]


Re: Sync Conflict Messages with ID numbers

2008-02-08 Thread Jim DeVona
I think Yojimbo and/or Apple should provide more descriptive messages
in those cases (I'm not sure whose court that ball is in, though).

In any case, you can open that ID as a URL. Type x-yojimbo-item:// in
your browser, followed by the item ID. It should open the item in
Yojimbo. (It's the same format you get with Copy Item Link from
Yojimbo itself, but I don't know if there's a direct way to find items
by ID within Yojimbo.)

Jim

On Feb 8, 2008 5:50 PM, Steve Drach [EMAIL PROTECTED] wrote:
 When syncing Yojimbo, I sometimes get conflict messages with some form
 of message ID like 7D19D20F-DAB0-4D87-94EE-37ED6340E4E0 in them.  How
 do I get from the ID number to the actual document so I know what to do?

-- 
--
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]


Re: [ANN] Yojimbo 1.5.1

2008-02-06 Thread Jim DeVona
Just for reference, the update worked fine on my 10.5.1 machine.

Jim

On Feb 6, 2008 11:39 AM, Neal Watzman [EMAIL PROTECTED] wrote:
 
  Yojimbo 1.5 can be updated to 1.5.1 by choosing Check for Updates from 
  the Yojimbo application menu. Older versions may updated by downloading and 
  installing the 1.5.1 installation package from the Yojimbo software updates 
  page:

 Unfortunately, when I choose Check for Updates, nothing happens.  No dialog,
 nothing.

 Yojimbo 1.5 (62)
 MacBook Pro
 OSX 10.5.1

 Neal

-- 
--
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]


Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
On Jan 18, 2008 2:40 PM, Alan German [EMAIL PROTECTED] wrote:

 On Jan 18, 2008, at 2:24 PM, Jim DeVona wrote:

  On Jan 18, 2008 1:00 PM, Alan German [EMAIL PROTECTED]
  wrote:
  On Jan 18, 2008, at 12:38 PM, Jim DeVona wrote:
 
   -- find existing note
   set mynote to first note item whose name is mytitle
   if mynote is missing value then
   -- create a new note
   set mynote to (make new note item with properties ¬
   {name:mytitle, contents:imported on   date})
   add tags mytags to mynote
   end if
 
 
  In my testing here, this causes an error (in Script Debugger) when no
  such item exists.
 
  Just for reference, I tested my version with Yojimbo 1.5 on Mac OS X
  10.4.11 using Apple's Script Editor 2.1.1 (AppleScript 1.10.7), and no
  error occurs when an item named by mytitle does not exist. Perhaps it
  is a Script Debugger issue?

 I should have offered similar clues -- sorry.

 I'm using Yojimbo 1.5 on Mac OS X 10.5.1. I get the same error in
 Script Editor 2.2 (Applescript 2.0) as I do in Script Debugger 4.0.8.

 Yojimbo got an error: Can't get note item 1 whose name = Friday,
 January 18, 2008. Invalid index.

 Let's blame Apple, shall we? ;-)

It so happens I just installed Leopard this evening, and indeed I get
the same error now too. Probably just a consequence of the changes to
AppleScript; I didn't realize so much syntax was influenced. (I
foresee a long weekend of... adapting to these improvements.) Anyway,
thanks for your corrections.

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]


Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
On Jan 18, 2008 1:00 PM, Alan German [EMAIL PROTECTED] wrote:
 On Jan 18, 2008, at 12:38 PM, Jim DeVona wrote:

-- find existing note
set mynote to first note item whose name is mytitle
if mynote is missing value then
-- create a new note
set mynote to (make new note item with properties ¬
{name:mytitle, contents:imported on   date})
add tags mytags to mynote
end if


 In my testing here, this causes an error (in Script Debugger) when no
 such item exists.

Just for reference, I tested my version with Yojimbo 1.5 on Mac OS X
10.4.11 using Apple's Script Editor 2.1.1 (AppleScript 1.10.7), and no
error occurs when an item named by mytitle does not exist. Perhaps it
is a Script Debugger issue?

Whatever works!
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]


Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
How's this?

tell application Yojimbo
set mytags to {QLogic, Diary}
set mytitle to date string of (current date)

-- find existing note
set mynote to first note item whose name is mytitle

if mynote is missing value then
-- create a new note
set mynote to (make new note item with properties ¬
{name:mytitle, contents:imported on   date})
add tags mytags to mynote
end if

activate
open location x-yojimbo-item://  (get id of mynote)
end tell

I don't know of a scriptable way to reveal items in the main window (I
wish there was - it'd be useful) so the open location hack shows the
item in a separate window.

Hope this helps,
Jim

On Jan 18, 2008 11:04 AM, Michael Heinz [EMAIL PROTECTED] wrote:
 Hey,

 I'd like to use Yojimbo to keep a daily work diary. To make it easier,
 I'd like to set up an applescript that will create the title of the
 diary entry (based on today's date) and either (a) find the entry if
 it already exists or (b) create a new entry if it does not.

 I've figured out how to create the new entry, but I can't figure out
 how to search Yojimbo to see if it already exists. In addition, I'm
 not sure how to have Yojimbo select the diary entry and bring it to
 the front. Here's what I have:

 tell application Yojimbo
 set mytags to {QLogic, Diary}
 set mytitle to date string of (current date)
 try
 -- find existing note
 set mynote to ???
 on error
 -- create a new note
 set mynote to (make new note item with properties ¬
 {name:mytitle, contents:imported on   date})

 add tags mytags to mynote
 end try
 activate
 -- how do I bring the note to the front?
 end tell

 Thanks for any help you can give!
 --
 Michael Heinz
 Phoenixville, Pennsylvania



 --
 --
 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]


--
--
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]


Re: Yojimbo Password Modification Date

2007-12-20 Thread Jim DeVona
On Dec 20, 2007 12:21 AM, Ivan Pan [EMAIL PROTECTED] wrote:

 I noticed the modification date of the Password record did not change
 when I updated the Comments field or the Name field. Is this an
 intended behavior? If so, how can I 'touch' the record, i.e. change
 the modification date?

I see the same behavior here. Anyway, you could briefly change the
username or password to mark it as modified.

My Backdate Items script only provides buttons to change the creation
date or the creation  modification dates together, but it would be
straightforward to make it change only the modification date. At the
time I didn't realize that all modifications don't necessarily change
the modification date, as you've discovered.

http://anoved.net/2007/05/backdate-yojimbo-items.html

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]


Re: mail act-on for yojimbo?

2007-11-28 Thread Jim DeVona

On Nov 28, 2007, at 11:48 AM, John Stephens wrote:


I want a hotkey to remove an item from the *current*
collection, without removing it from any others. O know this is
possible with 'delete', but then I have to mouse over to the button.


Don't forget that if you select All controls in the Full keyboard  
access section of the Keyboard Shortcuts pane of the Keyboard   
Mouse system preference panel, you can zip through buttons (in any  
window of any application, not just Yojimbo) with the tab key and  
press them with space. With that enabled you remove an item from the  
current collection with the keystrokes Delete, Tab, Space.


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]


Re: mail act-on for yojimbo?

2007-11-27 Thread Jim DeVona

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]


Re: Import with Spotlight comments as tags

2007-10-28 Thread Jim DeVona
On 10/27/07, Mark F [EMAIL PROTECTED] wrote:

 Thanks Jim! I will give it a go.

 Ideally, I would like it to display the tag dialog box (i.e. with the list of 
 my Yojimbo tags), with the Spotlight comments to also appear in the same 
 dialog box but as highlighted/selected. That way I could easily select which 
 tags I want the item to have, whether they be pre-existing Yojimbo tags or 
 Spotlight comments (of course there is also a chance that I have the same tag 
 in my Yojimbo list of tags as well as in the Spotlight comments of the item 
 I'm importing – so if that happens I would need the dialog box to display 
 just the Spotlight tag so as to not have the same tag listed twice in the 
 dialog box tag list.)

 Any ideas on whether that would be possible?

Sure, basically you want to concatenate the list of tags that came
from the Finder comments to the list of tags from Yojimbo.

So, try inserting this version of the tags-from-comments code in your
import script just after the set allTags to name of every tag line:

tell application Finder to set theComments to comment of theFile
set originalDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to  
set allTags to allTags  every text item of theComments
set AppleScript's text item delimiters to originalDelimiters

Note that all the text item delimiter stuff just makes it easier to
use a different delimiter like , instead of  . If you'll
definitely be using spaces, you can simplify things a bit:

tell application Finder to set theComments to comment of theFile
set allTags to allTags  words of theComments

or probably even:

tell application Finder to set allTags to allTags  words of the
comment of theFile

This example doesn't remove duplicates. I don't know if it's the most
concise method, but here's one way:
http://www.rosettacode.org/wiki/Create_a_Sequence_of_unique_elements#AppleScript

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]


Re: Import with Spotlight comments as tags

2007-10-27 Thread Jim DeVona
Should be possible. If you replace the contents of the first if not
chooseTagsFromList then block of your import script with the
following code, the script should read tags from the file's comments
instead of from a dialog:

tell application Finder to set theComments to comment of theFile
set restoreDelimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to  
set the chosenTagList to every text item of theComments

Of course if you want to be able to select tags from a list, from a
dialog, or from the file comments, you'd probably need to fiddle with
the script a little more.

Hope that's useful!

Jim

On 10/27/07, Mark F [EMAIL PROTECTED] wrote:

 Opps. Looks like those links didn't come up in my first post.

 The script which allows you to export while retaining tabs is here - 
 http://www.listsearch.com/Yojimbo/Message/index.lasso?3875

 The script I currently use to import stuff into Yojimbo with Quicksilver is 
 here – 
 http://maclawstudents.com/blog/techniques/getting-stuff-into-yojimbo-with/

 Cheers,
 inlimbo

--
--
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]


Re: Accessing Most Recently Added Item Via Applescript

2007-09-25 Thread Jim DeVona
On 9/25/07, Kenneth Kirksey [EMAIL PROTECTED] wrote:

 Subject kind of says it all. What's the easiest way to access via
 Applescript the item most recently added to Yojimbo? Thanks!

Steve Kalkwarf shared an example that does this by getting the last
item of the Recent Items collection:

http://www.listsearch.com/Yojimbo/Thread/index.lasso?786#3857

These are the key lines:

set ri to builtin smart collection named Recent Items
set recentItem to last item of ri

Hope this helps.

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]


selected items whose class is bookmark item

2007-09-20 Thread Jim DeVona
Is it possible to use a whose clause to get only items of a certain
type from a list of Yojimbo database items? Here is an example
intended to get any selected bookmark items:

tell application Yojimbo

set _items to selected items of browser window 1
if _items is missing value then return

set _bookmarks to every item of _items whose class is bookmark item

end tell

The bookmarks line gives this error: 'Can't get {bookmark item id
D0303DFD-C8B1-4F17-BD0E-EAD40018D3A1 of application Yojimbo} whose
class = bookmark item.' I suspect I am either grossly off track or
nearly there. Any guidance?

Thanks,
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]


Re: Identifying current item when list pane does not have focus (Applescript)

2007-08-31 Thread Jim DeVona
On 8/30/07, Jim Correia [EMAIL PROTECTED] wrote:

 tell application Yojimbo
 selection
 if class of window 1 is browser window then
 selected collections of browser window 1
 selected items of browser window 1
 end if
 end tell

One question. Am I correct that checking the class of window 1 is
really only necessary if I ask for the selected collections or items
of window 1, rather than browser window 1? I find that as long as
I specify selected items of browser window 1, I get the selected
items even if a non-browser window is window 1 or if the browser
window isn't even open. Referring to the selected items of window 1,
on the other hand, only works if window 1 is a browser window.

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]


Re: Identifying current item when list pane does not have focus (Applescript)

2007-08-30 Thread Jim DeVona
On 8/30/07, Jim Correia [EMAIL PROTECTED] wrote:

 The scripting class of the main window is browser window and it has
 two additional properties which allow you to access the selected
 collection and selected items independent of the currently focused
 view. Run the following with the event log open:

 tell application Yojimbo
 selection
 if class of window 1 is browser window then
 selected collections of browser window 1
 selected items of browser window 1
 end if
 end tell

Great! Thank you, Jim. Not sure how I missed those, but I'm happy to
have them pointed out. I expect I'll be able to improve my scripts
quite a bit with these properties.

Thanks again,
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]


Re: Tag collections with optional tags

2007-06-14 Thread Jim DeVona

If it was possible to use boolean terms in the tag collection
definitions, that would be pretty handy. Then you could say to collect
items tagged with 'oracle' or 'postgres' or 'mysql' or 'dba', etc.

What I do for similar situations is use generic secondary tags, such
as 'db' for database in your case, that I apply to items in addition
to the more specific tag, and then set up a tag collection for 'db'.

Jim

On 6/14/07, Arvid Warnecke [EMAIL PROTECTED] wrote:

Hello,

I have been wondering if there is a way to create a tag collection
with tags that are possible but not necessary. I've been thinking of a
'database' collection for tags like 'oracle', 'postgres', 'mysql',
'dba' and others. So it would be possible to combine notes which don't
have to have all tags from the collection but at least one.

Cheers,

Arvid

--
--
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]



--
--
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]


Re: Folders/Tag-collections

2007-05-25 Thread Jim DeVona

On 5/25/07, Kenneth Kirksey [EMAIL PROTECTED] wrote:


Man: This hammer you sold me isn't fully featured! It doesn't do what
I want a hammer to do!

Clerk: (looking perplexed) What doesn't it do?

Man: It won't drive this (holds up philips head screw) into wood!
Where do you get off selling me a hammer that doesn't do everything I
want it to do!


I have to admit, I find the allusion apt!

I currently have 9 tag collections and 809 items in my library. I use
Yojimbo to manage all sorts of loosely related odds and ends, but I
use folders (in the Finder) to organize more structured projects.
(Like a Rolodex and a filing cabinet, to belabor the traditional
desktop metaphor.) I certainly recognize that people work in different
ways, though.

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]


Re: AppleScript: How to access note contents?

2007-05-23 Thread Jim DeVona

On 5/23/07, Jim Correia [EMAIL PROTECTED] wrote:


...

To solution in this situation (when you've got a specifier stored in
a variable) is to use the double contents of syntax:

 set s to contents of contents of variableName

Jim


On 5/23/07, Adrian [EMAIL PROTECTED] wrote:


Yes, this one caused no no end of pain. What you want is

  set _text to contents of contents of _item

Killer, huh? I think contents must be some sort of reserved word.


Thank you both for the solution, Adrian and Jim. The AppleScript
information is useful, too.

Thanks again,
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]


Re: hyperlink in password item's Location field

2007-05-23 Thread Jim DeVona

On 5/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Is there a way to format a URL in the Location field of a
password item so that clicking on it opens the default browser
to that location?
(and perhaps bring the password in the clipboard!)


I've thought it would be nice if there was a little Open button next
to that location field, too. Anyway, someone recently alluded to the
fact that if you right click on that field the first item selected in
the popup menu is Open URL.


Also, is there a way to format the same field so that clicking
it opens an ftp session to that location?
Also, is there a way to format the same field so that clicking
it opens an ssh connection to that location. In other words,


As with the bookmark locations, just specify the full URL with ftp://
or ssh:// or whatever. When you open the URL the associated program
will open it: in my case, ftp links open in Cyberduck, and ssh links
open in Terminal.

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]


Re: Beginners questions

2007-05-21 Thread Jim DeVona

On 5/21/07, Sebastian Stark [EMAIL PROTECTED] wrote:


1. In the serial number and password templates the comment field is
way to small. How can I make it bigger? For instance, if I get an
email with a serial number in it, I  want to store the whole email
along with the serial number. Then, for some products I have license
keys + several machines IDs that just need more space in the comments
field.


I believe the bookmark, serial number, and password item comment
fields do scroll, but I hear what you're saying about the visible size
of the field. Happily, these properties are pretty easy to tinker with
in Interface Builder. Here are versions whose comment fields expand to
fill the remainder of the item pane:

http://anoved.net/2007/05/expanded-yojimbo-comment-fields.html

Be well,
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]


Adding list of items to a collection with AppleScript

2007-05-16 Thread Jim DeVona

How can I add a list of items to a collection with AppleScript? I can
add one item at a time, but for large sets of items this is a pokey
(although watching the item count next to the collection icon climb is
kind of interesting). The scripting dictionary implies that you can
add more than one object at once, but I can't seem to figure out the
syntax.

Here's an example. An arbitrary number of new items are created and
appended to a list; then, a new collection is created and I attempt to
add the list of items to the collection. I'm warned that the bookmarks
list can't be converted into type reference.

tell application Yojimbo

set _bookmarks to {}
set end of _bookmarks to make new bookmark item with properties 
{name:Foo}
set end of _bookmarks to make new bookmark item with properties 
{name:Bar}

set _collection to make new folder collection with properties 
{name:Test}
add _bookmarks to _collection

end tell

Any corrections or suggestions?

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]


Re: previewing PDFs in other applications

2007-05-14 Thread Jim DeVona

I know there is an AppleScript that can be adapted for this purpose:

http://www.listsearch.com/Yojimbo/Thread/index.lasso?481#2780 (last post)

Just change Adobe Reader to the name of your preferred PDF view (ie,
Skim, PDFView, etc.). You can save the script in
~/Library/Scripts/ or ~/Library/Scripts/Applications/Yojimbo to access
it with the script menu.

Jim

On 5/14/07, Bryan Liles [EMAIL PROTECTED] wrote:


Is it possible to preview a PDF in an application other than
Preview.app?  I would much prefer to use Skim.app.


--
--
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]


Re: Your favorite scripts, plugins and extensions

2007-05-14 Thread Jim DeVona

Well, I am of course biased, but I use my Bookmark in Yojimbo script
nearly every day. As it turns out, I do like having the original
timestamps on some of my older compositions, too, so that's a small
point in favor of the backdating scripts.

http://anoved.net/bookmark_in_yojimbo.html
http://anoved.net/2007/05/backdate-yojimbo-items.html

There has been a lot of AppleScript shared on this list, so I bet
there are some good ones (such as the one to open PDFs in a different
viewer).

Jim

On 5/14/07, Colin Sproule [EMAIL PROTECTED] wrote:

Hi,

I am new to the mailing list but have been using Yojimbo for a while
now, it really changed the way I organize things!

I am writing an article covering some of the more useful
scripts/plugins/extensions for yojimbo and wanted some feedback from
everybody. I have collected some of my favorites already but was
wondering what everyone else likes and uses.

Thanks everyone, I really appreciate your help on this!

-Colin



--
--
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]


Re: Alternate Bookmark in Yojimbo

2007-05-11 Thread Jim DeVona

Just thought I'd mention that I've updated my Bookmark in Yojimbo
script. It is now available for Firefox as well as Safari. I suspect
it would not be hard to adapt for other browsers, either. It also
checks for duplicate bookmarks. There are, of course, many ways to
create bookmarks in Yojimbo; this just happens to be my favorite.

http://anoved.net/bookmark_in_yojimbo.html

Jim

On 11/19/06, Jim DeVona [EMAIL PROTECTED] wrote:


Being ignorant of the Bookmark in Yojimbo (and other) bookmarklets
provided in the Yojimbo documentation, I wrote my own Bookmark in
Yojimbo AppleScript to do essentially the same thing. Looking through
this mailing list's archives now I see that this problem and solution
have already been covered pretty well, but I figured I'd share my
script anyway. You can download it or read more about it at
http://anoved.net/bookmark_in_yojimbo.html

Be well,
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]


Re: Dates created and modified

2007-05-10 Thread Jim DeVona

Just to let you know, I've successfully synced a bunch of backdated items
(I use SyncTogether). Both libraries contained a large set of notes I
imported last year (so all the Yojimbo items were considered created in Nov
2006). On one machine I used my backdate items script to restore their
original creation dates, ranging back to 1996. After synchronization, the
other machine now shows these dates as well.

Jim


On 5/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED]  wrote:
 wow, jim, this is awesome. i'll try it later this evening.

 thanks!!
 --

 On May 9, 2007, at 12:25pm, Jim DeVona wrote:

  On 5/9/07, Jim DeVona [EMAIL PROTECTED] wrote:
 
   the more i think about this issue, i realize that there are many
   documents i will need to change. in fact, for me, it will be
   essentially every document that i import as such, going
  forward,
   it's going to be quite a bit of extra work to manually change the
   dates of each document that i import.
 
  True. This script is best suited to making a few isolated
  corrections.
 
  Ideally, you'd like each newly imported Yojimbo item to inherit the
  creation and modification dates of the Finder file it was imported
  from, correct? I think it would be feasible to write an import script
  that uses this script's code to automatically adjust the date of each
  imported item.
 
  Here it is:
http://anoved.net/2007/05/backdate-yojimbo-import.html
 
  When you run the script, it'll present a file browser. Choose the
  files you want to import. They'll be automatically backdated with
  the creation and modification dates of the actual files after they're
  imported. (As with the other script, you'll still need to restart
  Yojimbo before the corrected dates are visible.)
 
  Based on a bit more testing it seems that it is safe to edit backdated
  items before restarting Yojimbo. The modification date will be
  changed, of course, but the creation date will be untouched.
  Nevertheless, I still feel obliged to warn that these scripts use
  unsanctioned methods to do their deeds!
 
  Let me know how it goes.
  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]


Re: Dates created and modified

2007-05-09 Thread Jim DeVona

On 5/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


thanks, jim. i really appreciate this.


No problem. After thinking about it a bit I realized it was something
I could use myself.


the more i think about this issue, i realize that there are many
documents i will need to change. in fact, for me, it will be
essentially every document that i import as such, going forward,
it's going to be quite a bit of extra work to manually change the
dates of each document that i import.


True. This script is best suited to making a few isolated corrections.

Ideally, you'd like each newly imported Yojimbo item to inherit the
creation and modification dates of the Finder file it was imported
from, correct? I think it would be feasible to write an import script
that uses this script's code to automatically adjust the date of each
imported item.


so, to the yojimbo developers: will you consider adding, as a
preference, the ability to inherit the creation dates of imported
documents?


If there's any indication that this is in the pipeline, I won't bother
writing another script.

Anyway, I did issue a minor update to the script yesterday that just
performs a bit more validation on the format of the date text you
enter.

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]


Re: Dates created and modified

2007-05-09 Thread Jim DeVona

On 5/9/07, Jim DeVona [EMAIL PROTECTED] wrote:


 the more i think about this issue, i realize that there are many
 documents i will need to change. in fact, for me, it will be
 essentially every document that i import as such, going forward,
 it's going to be quite a bit of extra work to manually change the
 dates of each document that i import.

True. This script is best suited to making a few isolated corrections.

Ideally, you'd like each newly imported Yojimbo item to inherit the
creation and modification dates of the Finder file it was imported
from, correct? I think it would be feasible to write an import script
that uses this script's code to automatically adjust the date of each
imported item.


Here it is: http://anoved.net/2007/05/backdate-yojimbo-import.html

When you run the script, it'll present a file browser. Choose the
files you want to import. They'll be automatically backdated with
the creation and modification dates of the actual files after they're
imported. (As with the other script, you'll still need to restart
Yojimbo before the corrected dates are visible.)

Based on a bit more testing it seems that it is safe to edit backdated
items before restarting Yojimbo. The modification date will be
changed, of course, but the creation date will be untouched.
Nevertheless, I still feel obliged to warn that these scripts use
unsanctioned methods to do their deeds!

Let me know how it goes.
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]


Re: Dates created and modified

2007-05-07 Thread Jim DeVona

On 5/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


hence, request #1: the ability to edit the creation and modification
dates.

IMHO, registering the date of *import*, as if it were the date of
creation, is simply incorrect. (the date that a pre-existing document
was imported into yojimbo seems completely irrelevant to me, as
opposed to, say, a note that is actually created within yojimbo.)


Hi, folks. I've written a little script to address this idea. It's an
AppleScript called Backdate Items that modifies item timestamps
directly in Yojimbo's database. Needless to say, this is an
inadvisably sneaky solution. However, if you'd really like to change
some item creation dates, you may consider it worth the risk.

http://anoved.net/2007/05/backdate-yojimbo-items.html

The script and instructions how to use it are provided at that page.
Note that you do have to restart Yojimbo before timestamp changes are
visible in the program. Again, I can make no guarantees that this
won't cause problems now or in the future (especially with syncing,
which I haven't tested yet). With that in mind, I welcome your
feedback. I've been using it to backdate some of those compositions I
mentioned earlier and everything appears to be working fine.

Be well,
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]


Re: why do we have to copy instead of just select

2007-05-04 Thread Jim DeVona

On 5/3/07, VLCofA [EMAIL PROTECTED] wrote:


Hi, folks,

I've tried out many of the other note-grabbing programs, like SOHO
Notes and Journler and Eagle Filer. Each of them requires only that
you SELECT the text and invoke its grab command. This makes me
wonder why Yojimbo, which I prefer in every other way, requires that
we SELECT then COPY the text before we grab it. Any thoughts?

DS


There is an alternative way to import selected text without using the
clipboard. Yojimbo includes an Import Text service (found under the
Services menu in your current application's main menu).

I've also written a standalone service that does more or less the same
thing: http://anoved.net/2007/05/import-yojimbo-note.html The main
difference is that my service imports the text as plain text whereas
Yojimbo's service seems to retain color and style information. Mine
also opens the new note window so that you can edit the note title or
tags.

Hope these methods give you some ideas.

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]


Re: Times Select into Yojimbo?

2007-03-28 Thread Jim DeVona

On 3/28/07, Gary L. Gray [EMAIL PROTECTED] wrote:


On Mar 28, 2007, at 9:51 PM, TjL wrote:

 On Mar 26, 2007, at 11:22 PM, Gary L. Gray wrote:

 On Mar 26, 2007, at 11:09 PM, Ted Wood wrote:

 Are you logging in first?

 I am always logged in to TimesSelect when I am on the NY Times web
 site.

 Maybe that is the difference?

 I'm logging in via my browser, but Yojimbo doesn't know that.

 For example if I go to:

 http://select.nytimes.com/2007/03/28/opinion/28friedman.html?
 pagewanted=print

 I get

 How Many Scientists?
 By THOMAS L. FRIEDMAN
 Published: March 28, 2007
 Thank goodness for the way Gov. Arnold Schwarzenegger has built a
 Republican-Democratic coalition in California to blunt climate change.

 To continue reading this article, you must be a subscriber to
 TimesSelect. Log in now.

I copied that URL and created a new web archive in Yojimbo and it
opened it without a hitch. I have no idea what we are doing
differently. I wish I could be of more help, but I have no idea what
is going on here.


Just a shot in the dark here, but might it matter which browser you're
using? For instance, if you're logging in with Safari, perhaps the
authentication is recognized by Yojimbo, which presumably uses the
common WebKit type framework for web archives (and the authentication
cookies). On the other hand, if you're logging in with Firefox or
another browser that stores things separately, Yojimbo may be none the
wiser.

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]


Re: Import Applescripts

2007-03-07 Thread Jim DeVona

On 3/7/07, Nicolai Amter [EMAIL PROTECTED] wrote:


I can export out two text files from WC which I'll clean up in Excel and
then save as a Tab or Comma Delimited file.
One will be in the format will be Name, Location, Account, Password and
the other will be Product Name, Owner Name, Serial Number, Comments.

I know enough about Applescript and programming that I should be able to
change where the data get imported into if you or somebody could write a
example script.


Hi, Nicolai.

Here is a script that ought to do the job or at least get it started.
You can use it to import tab delimited lists of passwords or serial
numbers as described above. Hopefully it is clear enough to modify or
extend to suit your purposes, but if not please let me know. I've
tested it successfully with some simple examples but it doesn't do
much real error checking so I can't promise it'll handle everything.

Incidentally I suppose it would not be hard to make this script import
other Yojimbo data types from tab delimited files. I leave that as an
exercise for the reader!

Be well,
Jim

set _type to button returned of (display alert Select what kind of
data to import to Yojimbo: buttons {Cancel, Serial Numbers,
Passwords} cancel button 1)
if _type is Cancel or _type is  then
return
end if

-- read the file
set _file to choose file with prompt Select a tab delimited file
containing   _type
open for access _file
set _data to read _file using delimiter {(ASCII character 13), (ASCII
character 10)}
close access _file

-- import each line as a tab delimited record
-- per http://www.blankreb.com/studiosnips.php?ID=17
set _delim to AppleScript's text item delimiters
set AppleScript's text item delimiters to tab -- or {,}
repeat with _index from 1 to count of _data
try
set _line to the text items of item _index of _data
if _type is Passwords then
-- items are name, location, account, and password
MakePassword(item 1 of _line, item 2 of _line, item 3 
of _line,
item 4 of _line)
else if _type is Serial Numbers then
-- items are product, owner, serial number, and comments
MakeSerial(item 1 of _line, item 2 of _line, item 3 of 
_line, item
4 of _line)
end if
end try
end repeat
set AppleScript's text item delimiters to _delim

on MakePassword(_name, _location, _account, _password)
tell application Yojimbo
set _new to make new password item with properties {name:_name,
location:_location, account:_account, password:_password}
end tell
end MakePassword

on MakeSerial(_product, _owner, _number, _comments)
tell application Yojimbo
set _new to make new serial number item with properties
{name:_product, owner name:_owner, serial number:_number,
comments:_comments}
end tell
end MakeSerial

--
--
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]


Re: Import Applescripts

2007-03-07 Thread Jim DeVona

My silly web mail might have broken that script by hard wrapping the
lines. If so you can just download it from
http://anoved.net/files/YojimboPasswordSerialImport.scpt.zip instead.

Jim

On 3/8/07, Jim DeVona [EMAIL PROTECTED] wrote:

On 3/7/07, Nicolai Amter [EMAIL PROTECTED] wrote:

 I can export out two text files from WC which I'll clean up in Excel and
 then save as a Tab or Comma Delimited file.
 One will be in the format will be Name, Location, Account, Password and
 the other will be Product Name, Owner Name, Serial Number, Comments.

 I know enough about Applescript and programming that I should be able to
 change where the data get imported into if you or somebody could write a
 example script.

Hi, Nicolai.

Here is a script that ought to do the job or at least get it started.
You can use it to import tab delimited lists of passwords or serial
numbers as described above. Hopefully it is clear enough to modify or
extend to suit your purposes, but if not please let me know. I've
tested it successfully with some simple examples but it doesn't do
much real error checking so I can't promise it'll handle everything.

Incidentally I suppose it would not be hard to make this script import
other Yojimbo data types from tab delimited files. I leave that as an
exercise for the reader!

Be well,
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]