I'm trying Yojimbo, but I'm not able to find any conversations here about importing or migrating from Slipbox. The author of Slipbox sent me a version that was 64-bit (64, 65, whatever it takes - yes, that's adapted from Mr. Mom) compatible after that became a requirement, but I haven't seen any evidence of development for it lately, so I'm interested in Yojimbo. Have you ever moved from Slipbox to Yojimbo? Have you ever used Slipbox? Thanks.
Keywords: Virtualization/Emulation, Utility, Software Info, Plug-in
tell application "Yojimbo"
set bookmarkName to "My Example Bookmark"
set bookmarkURL to "http://www.example.com/"
set bookmarkComments to "your comments go here"
set newItem to make new bookmark item with properties {name:bookmarkName, location:bookmarkURL, comments:bookmarkComments}
add tags {"a tag", "another tag", "important tag"} to newItem
end tell
on open the_items
my Yojimbo_import(the_items)
tell application "TextEdit" to quit
end open
on Yojimbo_import(the_items)
repeat with the_item in the_items
set the_item to the_item as alias
set tag_Extracts to my extract_Tags(the_item)
tell application "Yojimbo"
set newItem to import the_item
add tags tag_Extracts to newItem
end tell
end repeat
end Yojimbo_import
on run
set the_items to ((choose file with multiple selections allowed) as list)
Yojimbo_import(the_items)
end run
on extract_Tags(theSourceFile)
tell application "TextEdit"
open theSourceFile # REQUIRED
tell document 1 -- this is always the file it just opened
set rawKeys to paragraph -1
close
end tell
end tell
set {TIDs, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ": "}
set listKeys to text item 2 of rawKeys -- drops "Keywords"
set AppleScript's text item delimiters to ", "
set listKeys to text items of listKeys
set AppleScript's text item delimiters to TIDs
return listKeys
end extract_Tags
########
L. Lee