• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Broken scripts in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Broken scripts in Panther (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Folder actions query
  • Next by Date: Re: Screen capture
  • Previous by thread: Re: Broken scripts in Panther
  • Next by thread: Re: Odd result parsing keychain password
  • Index(es):
    • Date
    • Thread