Re: Broken scripts in Panther
Re: Broken scripts in Panther
- Subject: Re: Broken scripts in Panther
- From: Michael Grant <email@hidden>
- Date: Mon, 8 Dec 2003 14:09:08 -0600
On Dec 8, 2003, at 10:11 AM, Mr Tea wrote:
Fortunately, the problem was easily resolved by adding another line:
set f to POSIX path of ("" & (path to desktop) & n & ".html")
set f to POSIX file f
tell application "Safari" to save front document in f as text
...but why did the original version stop working?
Apparently Safari now uses a Mac HFS path as a proper Mac app should,
not a POSIX path.
Michael
--
"All men dream: but not equally. Those who dream by night in the dusty
recesses of their minds wake in the day to find that it was vanity: but
the dreamers of the day are dangerous men, for they may act their dream
with open eyes, to make it possible."
- T.E. Lawrence
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.