Jim DeVona selected items whose class is bookmark item
Sep 20, 2007; 14:47
Jim DeVona
selected items whose class is bookmark item
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: <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>
Sep 20
J. Stewart Re: selected items whose class is bookmark item
Sep 20, 2007; 16:30
J. Stewart
Re: selected items whose class is bookmark item
Sep 20
Jim Correia Re: selected items whose class is bookmark item
Sep 20, 2007; 16:51
Jim Correia
Re: selected items whose class is bookmark item
Sep 20
Jim DeVona Re: selected items whose class is bookmark item
Sep 20, 2007; 17:56
Jim DeVona
Re: selected items whose class is bookmark item
Sep 20
Jim DeVona Re: selected items whose class is bookmark item
Sep 20, 2007; 18:06
Jim DeVona
Re: selected items whose class is bookmark item
Sep 21
J. Stewart Re: selected items whose class is bookmark item
Sep 21, 2007; 04:50
J. Stewart
Re: selected items whose class is bookmark item
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!