• 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: Open for access oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open for access oddity


  • Subject: Re: Open for access oddity
  • From: "Stockly, Ed" <email@hidden>
  • Date: Wed, 24 Jun 2009 15:46:42 -0700
  • Thread-topic: Open for access oddity

I opened a working script I've been using for months to make a minor change.
When I compiled this line gave me a compile error:

open for access file newGridFile with write permission

AppleScript syntax error:

-- Expected end of line but found identifier.

-- -2701

This line was in a completely different part of the script and the line has
to work and has worked every time the script runs.

The workaround was:

   set newGridFile to newGridFile as alias
   open for access newGridFile with write permission

Has something changed?

I'm on a power PC 10.4.11 -- Build 8s165

ES

 _______________________________________________
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: Open for access oddity
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: launch an application, and on quit, logout?
  • Next by Date: Re: list issues
  • Previous by thread: Re: list issues
  • Next by thread: Re: Open for access oddity
  • Index(es):
    • Date
    • Thread