Mime-Version: |
1.0 |
Sender: |
|
Subject: |
|
From: |
|
Date: |
Wed, 22 Nov 2006 09:46:19 -0500 |
In-Reply-To: |
|
Content-Type: |
text/plain; charset="us-ascii" ; format="flowed" |
Reply-To: |
|
Parts/Attachments: |
|
|
>On Nov 21, 2006, at 5:43 PM, Bill Steele wrote:
>
>>>On Nov 21, 2006, at 10:52 AM, Bill Steele wrote:
>>>
>>>>We have a G4 still running OS 9.2, used mostly for backups. I
>>>>recently hooked up a LaCie external hard drive and installed the
>>>>accompanying Silverlining software, and the result seems to have
>>>>screwed up Applescript's ability to write to files. Scripts that
>>>>used to work now give error messages.
>>>>
>>>It could be a bad version of the Standard Additions. There was a
>>>version in there that didn't work right and wouldn't write to a
>>>file that didn't exist.
>>
>>Actually happens even if the file does exist.
>>
>Okay. Then its a problem with the file to alias coercion.
>
>does this work?
>
>set someText to "this is a test"
>set foo to alias "Disk:folder:test"
>set outFile to open for access file foo with write permission
>write someText to outFile starting at 0
>close access outFile
>
>Does it work inside a Finder tell?
None of the above.
Adding the alias coercion results in a compile error, with or without
Finder tell.
And again, supposedly I still have the same version of Standard
Additions I had two weeks ago. Why would Silverlining modify
Applescript?
I'm going to try reinstalling the system.
--
Bill Steele
[log in to unmask]
|
|
|