Can't write to file - MacOS 9.1 + AS 1.8.3
Can't write to file - MacOS 9.1 + AS 1.8.3
- Subject: Can't write to file - MacOS 9.1 + AS 1.8.3
- From: email@hidden
- Date: Wed, 21 Aug 2002 00:44:00 EDT
I know this was previously discussed, but I don't recall a resolution or
solution. I have the following simple script:
set rpfile to "BackDrop:test4" as string
try
set transID to open for access file rpfile with write permission
write "hello" to transID
close access transID
on error errmsg
try
close access transID
end try
display dialog errmsg
end try
I get the following error message:
Can't make file "BackDrop:test4" into a <<class fsrf>>.
I have tried all sorts of combinations of scripting additions, extensions on
and off, restarts, different file names, Disk Utilities, and copying known
good versions of Applescript 1.8.3/Standard Additions 1.8.3 from other
machines. Nothing has worked. I manually reverted back to Applescript 1.5.5
(twice), where I verified that the above script worked correctly. I then used
software update to install Applescript 1.8.3 (again, twice, with restarts
every step of the way). No go. I get the same error message.
I have had similar problems on several machines with AS 1.8.3, but the above
tricks resolved them all (I wish I could have deduced which one), but not on
this machine (G3 266MHz, 224Meg RAM, 9.1, carbonlib 1.6).
Does anyone have any suggestions? This is a mission critical issue and I will
wipe the hard drive and re-install from scratch if necessary, but it
shouldn't be necessary.
Jeff Baumann
email@hidden
www.linkedresources.com
cc please, on digest
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.