creating text file under Tiger 10.4.1?
creating text file under Tiger 10.4.1?
- Subject: creating text file under Tiger 10.4.1?
- From: Guillaume Iacino <email@hidden>
- Date: Wed, 6 Jul 2005 14:45:36 -0400
Hi,
Did Tiger change or break something in the way to create and write to
a text file.
Under 10.3.9, the following script works.
///
set this_data to "My text"
set targetREF_file to "HD:Folder:File.txt" as text
set the open_target_file to open for access file targetREF_file with
write permission
write this_data to the open_target_file starting at 0
set eof open_target_file to (length of this_data)
close access the open_target_file
///
This is supposed to create a text file at targetREF_file and write
this_data in it.
Under 10.4.1, the text file seems to be created fine, but only half
of the text is added to the text file. Very odd. Furthermore, the
icon of the file looks like an OS 9 icon.
I've heard that 10.4.1 has several Applescript bugs, and that 10.4.2
was supposed to fix more than 100 issues. Is this one of them?
Thank you in advance for your insights,
Regards,
Guillaume
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden