• 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
Problems with files on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with files on OS X


  • Subject: Problems with files on OS X
  • From: Xavier Ambrosioni <email@hidden>
  • Date: Fri, 22 Mar 2002 09:43:24 +0100

Hi all,

I have 2 problems when I want to use files on Mac OS X :

1/ The command:
'open for access file "file.txt" with write permission'
returns en error if the file "file.txt" exists, so I can't write at the end
of a file and I can't read a file.

2/ When i use the command:
'write my_text1 & return & my_text2 to my_file starting at eof'
there is only one line in my_file. If I open the file with vi on Terminal, I
can see the character "^M" in place of the return (or \n) character.

Can you help me to solve these 2 problems ?


Thank you

Xavier
_______________________________________________
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.

  • Follow-Ups:
    • Re: Problems with files on OS X
      • From: Christopher Nebel <email@hidden>
    • Re: Problems with files on OS X
      • From: garbanzito <email@hidden>
  • Prev by Date: Scripting Startup Disk System Preference in OS X
  • Next by Date: Is the picture_folder of the screensaver in OS X scriptable?
  • Previous by thread: Download : Save some time converting umlauts and special characters to HTML
  • Next by thread: Re: Problems with files on OS X
  • Index(es):
    • Date
    • Thread