Re: Open for access oddity
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