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


Click here to return to the 'Automatically zoom new pages in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically zoom new pages in Safari
Authored by: grav on Jan 22, '10 05:43:42AM
Very nice!
It complains about previousURL not being defined, but inserting
set previousURL to ""
in the run-handler fixes this.

[ Reply to This | # ]
Automatically zoom new pages in Safari
Authored by: grav on Jan 22, '10 07:01:39AM
Another thing, we have to wrap the
if currentURL is not "" then
...
end if
in a try-statement, since currentURL won't be defined, if we just opened a new tab and haven't typed a URL yet. This wasn't obvious from my original script.
I'll post the corrected script in the root of the comments.

[ Reply to This | # ]