• 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 15:29:55 -0600

On Feb 6, 2011, at 11:12 AM, Luther Fuller wrote:
If you are willing to run this test, let me know offline and I will send a copy of "TEST-1.app" with source code, then you can send me a copy of the report named "TEST-1 Report.txt", also offline.

Thanks for running my test. Those of you who ran the test encountered no errors. But, when my user in Madrid ran the test, he got an error in the first line, where I had not expected an error.
The line of code is ...

set prefsAlias to (path to preferences folder)

This is incorrect. It should have been ...

set prefsAlias to (path to preferences)

according to the StandardAdditions dictionary. I corrected the test script and sent it to my user expecting that it would now run correctly. I just got a reply from my user and he reports that the test script again reported an error. The error is created by the corrected line, above. To be explicit ...
No puede obtenerse alias "username:Library:Preferences:" of application "Finder".
translation
Cannot get alias "username:Library:Preferences:" of application "Finder".

This prompts questions:
1. Why is this (correct) line erroring on my users Mac ?
2. Why do both of these lines run correctly on our Macs ?
3. Why does the incorrect code compile as if correct on my Mac ?

Any answers (or guesses) would be appreciated.

 _______________________________________________
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: Michelle Steiner <email@hidden>
    • Re: Error -1700 Test
      • From: Stan Cleveland <email@hidden>
References: 
 >Error -1700 Test (From: Luther Fuller <email@hidden>)

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