I noticed that you can pull up the app itself from within RubyOSA ....
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'rbosa'
=> true
irb(main):003:0> @app = OSA.app('Yojimbo')
=> #<OSA::Yojimbo::Application:0x1283e5c>
irb(main):004:0> @app.note_items
=> #<OSA::ObjectSpecifierList:0x1272cd8
@app=#<OSA::Yojimbo::Application:0x1283e5c>,
@container=#<OSA::Element:0x1272cec>,
@desired_class=OSA::Yojimbo::NoteItem>
But you can't do much beyond that. (Im assuming this works the same
as working through the Automator framework?).
You can also query Database.sqlite directly from sqlite3 in Ruby but
im sure it's not advisable?
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'sqlite3'
=> true
irb(main):004:0> @db = SQLite3::Database.new('Database.sqlite')
=> #<SQLite3::Database:0x50a258
@driver=#<SQLite3::Driver::Native::Driver:0x4e0db8 @callback_data={}
>, @statement_factory=SQLite3::Statement, @closed=false,
@handle=#<SWIG::TYPE_p_sqlite3:0x4e0d2c>, @translator=nil,
@type_translation=false, @results_as_hash=false>
irb(main):005:0> @notes = @db.execute('select ZNAME from ZITEM where
ZKIND = 1000')
=> [["unix tips"], ["JQuery - Snippets"], ["snort"], ["mysql"],
["mysqldump"], ["sed"], ["awk"], ["curl"], ["grep"], ["find"],
["ps"], ["hpricot"], ["cakephp notes"], ["/etc/services"], ["ssh"],
["tcpdump"], ["ipfw"], ["packet filtering"], ["netfilter hacking"],
["fwknopd"], ["fwknop"], ["JQuery - String / Array"], ["JQuery -
Metadata"], ["Apache Notes"], ["Apache Security"], ["fragroute"],
["fragtest"], ["Capistrano Notes"], ["Amazon Browse Node Values"],
["Ruby on Rails Testing Notes"], ["Ruby on Rails Log Analysis"],
["Ruby on Rails script/console"], ["CSS Notes"], ["Ruby 2007"],
["Ruby on Rails Active Record Notes"], ["Ruby on Rails Action Pack
Notes"], ["Ruby on Rails Active Support Notes"], ["RubyGem:
Chronic"], ["RubyGem: Capistrano"], ["RubyGem: RaPT"], ["RubyGem:
Hoe"], ["New York Rubyforge Users"], ["Ruby on Rails Deployment Notes"]]
Is there any type library available to work w/ populating Yojimbo
db? (Sorry if this has been asked before, just started using the app)
- Jon
On Jan 6, 2007, at 9:48 AM, Rhet Turnbull wrote:
> I believe DEVONthink will automatically update web archives.
>
> I too would very much like an easier way to access the URL for a web
> archive stored in Yojimbo. I prefer to store web archives versus
> bookmarks because it makes finding the site I'm looking for easier but
> copying the URL is a pain. I'd live an way to say "open this in
> Safari" and "copy URL to clipboard"
>
> --Rhet
>
> On 1/6/07, Tobias Klose <barebones@tobsen.net> wrote:
>> Hi,
>>
>> I'm also searching this and a way to open or copy the link of the
>> original page.
>> The original URL can only found in the comment field, if you haven't
>> cleared it.
>>
>> Tobias
>>
>> Am 06.01.2007 um 02:04 schrieb Jon Baer:
>>
>> > Hi,
>> >
>> > Really liking Yojimbo for taking notes but im wondering if there is
>> > a way (programatically / script / etc) to go around and update any
>> > web archives I might have taken down.
>> >
>> > I found an importer but it did not like .webloc files.
>> >
>> > Thanks.
>> >
>> > - Jon
>> >
>> > --
>> > ------------------------------------------------------------------
>> > 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
>> > workingcorrectly? Please send mail to: <support@barebones.com>
>>
>>
>> --
>> ------------------------------------------------------------------
>> 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>
>>
>
> --
> ------------------------------------------------------------------
> 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>
--
------------------------------------------------------------------
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>