-- (C) Hado Hein, Berlin, Fed. Rep. of Germany , 1999 -- The AutoSync (* Netscape/Mac places the URL of a saved page into the comment of a files info window. Though the pages in the cache are updated, but it's somewhat impossible to adress them from there store the pages in a file. This script takes /ilFolder/ and reads out the comments Then these URLs are downloaded again with Netscape So you have a folder where all the frequently used pages are and you easyly can keep them up to time Works with everything Netscape can handle (http, ftp) If you don't want to have the security of dupe being trashed comment it out. *) tell application "Finder" run application "Netscape NavigatorÅ 2.01" set ilFolder to ((startup disk as text) & "Dokumente:AutoSyncURLs:") as alias set aList to list folder ilFolder with invisibles set okList to {} repeat with I in aList set theURL to get comment of alias ((ilFolder as string) & I) if (theURL Ç "") then set spareFile to duplicate alias ((ilFolder as string) & I) with replacing set spareFile to delete spareFile -- having a copy is better while working with the internet -- usually that works so the dupe is directly trashed try tell application "Netscape NavigatorÅ 2.01" to GetURL (theURL) to alias ((ilFolder as string) & I) on error beep beep delete alias ((ilFolder as string) & I) -- ok. the original is dirty so trash it set spareFile to move spareFile to ilFolder -- get the dupe back set name of spareFile to I -- this works only if the browser gives back an error -- error _PAGES_ sent from the server are stored ;-( end try end if end repeat end tell