Re: Applescripting Yojimbo: Empty items?

2007-12-17 Thread Jacob Lyles
On 12 Dec 2007, at 14:25, Jacob Lyles wrote:
 Any ideas how to implement in Applescript a check for empty Web
 Archive items? (i.e. Failed downloads)

On 12/12/07 6:49 PM, pete boardman [EMAIL PROTECTED] responded:
[...]
 This code finds some of my web archives that don't appear in the
 browser.
[snip code for searching for empty comments field]
 It's as if the source URL and the comments field agree only when the
 web archive has been downloaded.

In order to prevent (and recover) from this sort of problem, in my scripts,
when I create the Web Archive (WA) item, I create it with the URL already in
the comments field. Thus, I don't end up with empty WA items that (aside
from being empty ) don't have an associated URL.

So, searching for an empty comment field is a bit useless for me (but
thanks!)

Jacob



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


Applescripting Yojimbo: Empty items?

2007-12-12 Thread Jacob Lyles
Any ideas how to implement in Applescript a check for empty Web Archive
items? (i.e. Failed downloads)

Thanks,

Jacob



-- 
--
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: Applescripting Yojimbo: Empty items?

2007-12-12 Thread pete boardman

On 12 Dec 2007, at 14:25, Jacob Lyles wrote:

Any ideas how to implement in Applescript a check for empty Web  
Archive

items? (i.e. Failed downloads)


I've only spent a few minutes with Yojimbo, so I'm a real beginner as  
far as scripting it goes.


This code finds some of my web archives that don't appear in the  
browser.


tell application Yojimbo
set i to every web archive item
repeat with j in i
if comments of j =  then
set flagged of j to true
end if
end repeat
end tell

It's as if the source URL and the comments field agree only when the  
web archive has been downloaded.


I'm probably talking nonsense again...

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