• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
creating text file under Tiger 10.4.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: creating text file under Tiger 10.4.1?
      • From: Paul Berkowitz <email@hidden>
    • Re: creating text file under Tiger 10.4.1?
      • From: Andrew Oliver <email@hidden>
References: 
 >RE: Unixcommand for locking/unlocking.... (From: "Francois Houle" <email@hidden>)

  • Prev by Date: Re: Unixcommand for locking/unlocking....
  • Next by Date: Re: creating text file under Tiger 10.4.1?
  • Previous by thread: RE: Unixcommand for locking/unlocking....
  • Next by thread: Re: creating text file under Tiger 10.4.1?
  • Index(es):
    • Date
    • Thread