Login AppleScript won't write - Solution
Login AppleScript won't write - Solution
- Subject: Login AppleScript won't write - Solution
- From: "Timothy K. Wilkinson" <email@hidden>
- Date: Tue, 03 Jul 2001 15:42:28 -0400
Thanks for all the responses to my problem with the script that wouldn't
write to a file. I thought I'd share the solution(s) that worked.
Using the subroutine that opened the file for access before writing to the
file worked great.
The solution I stumbled upon and am currently using doesn't seem to make
sense but it works. I realized that I had complied my completed script on a
machine running 9.0.4 and AppleScript 1.4.3. I was *running* the script on
machines that have 8.6 and AppleScript 1.3.7. When I opened the same script
on the 1.3.7 machines, added a return to the end of the script and
recompiled it in Script Editor it worked like a charm. I didn't change any
code, just recompiled it. It's been running out of iDo for several hours
and writing without a hitch.
Is there a difference between saving a script on a machine with 1.3.7 as
opposed to 1.4.3? Especially since the code never changed? Has anyone ever
run into this problem before?
Thanks again for all the great suggestions and help!
Tim Wilkinson
ITC-ACHS
University of Virginia
email@hidden
email@hidden