Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Updated Save script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Updated Save script
Authored by: Pierre Igot on Nov 12, '03 03:02:10PM

I thoroughly enjoyed using your Saving and restoring tabs in Safari script for Jaguar

Unfortunately, it appears that this script no longer works properly in Panther with Safari 1.1.

Any plans on an update?

TIA

Pierre

---
Pierre Igot
LATEXT - Literature & Visuals @ www.latext.com
BETALOGUE - Weblog at www.latext.com/blog/
"Apple Peel" Columnist @ Applelust.com



[ Reply to This | # ]
Updated Save script -- for Panther
Authored by: jeffschuler on Dec 07, '03 12:49:51AM
I'm trying to make this work in Panther with Safari 1.1. Using the "Updated Save script" from mazatty posted here in the comments, the first thing to change is that the two occurrences of
menu windowMenu of menu bar 1
should be changed to
menu windowMenu of menu bar item windowMenu of menu bar 1
Doing this, the script works mostly... However, something screwy is going on when saving your tabs after the first time running the script. Instead of writing over the previous file, the new URLs are tacked onto the end of the file, and returns aren't used as delimiters. Even if the file is deleted & a new one written, the old results come back from the dead... Strange. Could this have something to do with Panther's journalling?

[ Reply to This | # ]
Updated Save script -- for Panther
Authored by: sfreimark on Dec 21, '03 09:53:20AM
That doesn't work for me either. With your changes for Panther I'm getting this error: NSReceiverEvaluationScriptError: 4 Script Editor marks these two lines near the beginning of the script:

set menuItemCount to count of menu items of 
menu windowMenu of menu bar item windowMenu of menu bar 1
Any ideas?

[ Reply to This | # ]
Updated Save script -- for Panther
Authored by: sfreimark on Dec 21, '03 10:02:17AM

Me again. Sorry, I didn't changed the localizations at the beginning of the scripts. Now it's working - except of the same errors you are experiencing (dead URLs, no return delimiters).
Would be glad if someone could solve that problem...



[ Reply to This | # ]