Or easier: set missingFileItems to {} repeat with thePub in publications tell contents of thePub if (local file is missing value and value of field "Local- Url" is not "") then set end of missingFileItems to thePub end if end tell end repeat
Christiaan On 18 Jun 2007, at 8:19 PM, Alexander H. Montgomery wrote: > Yep, that's it. I could write a quick AppleScript that goes through > them and checks using a "do shell script," I suppose... > > -A > > On Jun 18, 2007, at 11:01 AM, Adam R. Maxwell wrote: > >> >> On Monday, June 18, 2007, at 10:55AM, "Alexander H. Montgomery" >> <[EMAIL PROTECTED]> wrote: >>> Right, but they don't sort between has-local-url-not-missing and >>> has- >>> local-url-missing. >> >> It's supposed to (and does for me). It won't work if you use >> relative paths, since the sort function doesn't know how to see if >> the file exists. Is that your situation? >> >> -- >> Adam >> >>> >>> On Jun 18, 2007, at 10:49 AM, Adam R. Maxwell wrote: >>> >>>> >>>> On Monday, June 18, 2007, at 10:44AM, "Alexander H. Montgomery" >>>> <[EMAIL PROTECTED]> wrote: >>>>> Is there any method or technique for finding publications that are >>>>> orphaned (i.e., have a local-url that isn't valid?) I know that >>>>> there's a method for the inverse (finding PDFs that don't have >>>>> publications). Some sort of "missing publication finder" item. >>>>> AppleScript suggestions welcome. >>>> >>>> Easiest thing I can think of is to display the Local-Url column(s) >>>> and sort them. The ones with a missing file icon (question mark) >>>> don't have a valid URL. >>>> >>>> -- >>>> Adam >>>> >>>> ------------------------------------------------------------------- >>>> - >>>> -- >>>> --- >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Bibdesk-users mailing list >>>> Bibdesk-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >>>> >>> >>> >>> -------------------------------------------------------------------- >>> - >>> ---- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Bibdesk-users mailing list >>> Bibdesk-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >>> >>> >> >> --------------------------------------------------------------------- >> - >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Bibdesk-users mailing list >> Bibdesk-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >> > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bibdesk-users mailing list > Bibdesk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bibdesk-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users