• 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: Error -1700 Test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -1700 Test


  • Subject: Re: Error -1700 Test
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 08 Feb 2011 17:56:01 -0600

And, finally, a solution to this problem.
At a few places in the previous version of my application, I wrote

set prefsFolder to (path to preferences folder from user domain)

This seems to be the cause of the problem on my users Mac.
This line does not generate the error directly, but causes prefsFolder to be
a faulty alias which errors when next used.

While trying to test the problem, I used

set prefsFolder to (path to preferences)

which also caused a problem on my users Mac.

The correct usage is

set prefsFolder to (path to preferences from user domain)

If you add "folder" or eliminate "from user domain", it may work on your Mac,
but there is a Mac out there somewhere that will have a problem.

The StandardAdditions dictionary shows

[from system domain | local domain | network domain | user domain | Classic domain] : where to look for the indicated folder

indicating that this is optional. My experience indicates otherwise. This should be required.

Using "preferences folder" instead of "preferences" should generate a compile time error, but it does not, and, again, there's a Mac somewhere that will choke on this.

Should I pass this email along to Apple as a bug report?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Error -1700 Test
      • From: Axel Luttgens <email@hidden>
References: 
 >Error -1700 Test (From: Luther Fuller <email@hidden>)
 >Re: Error -1700 Test (From: Luther Fuller <email@hidden>)
 >Re: Error -1700 Test (From: Michelle Steiner <email@hidden>)
 >Re: Error -1700 Test (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Set the center header picture in excel?
  • Next by Date: Re: SpamCop script which worked in Tiger suddenly dropping some attachments in Leopard
  • Previous by thread: Re: Error -1700 Test
  • Next by thread: Re: Error -1700 Test
  • Index(es):
    • Date
    • Thread