Talk:File input/output: Difference between revisions

Content added Content deleted
(→‎Purpose: May already have text input)
Line 2: Line 2:
Is not really a file I/O - its a file copy operation done by the file system, without even the ability to write in the file names (IIRC it executes interactive file chooser dialogs) and shouldn't be here. I don't know if AppleScript has IO commands, but if it has real IO then the example should show that and if it hasn't, then the example should be removed.
Is not really a file I/O - its a file copy operation done by the file system, without even the ability to write in the file names (IIRC it executes interactive file chooser dialogs) and shouldn't be here. I don't know if AppleScript has IO commands, but if it has real IO then the example should show that and if it hasn't, then the example should be removed.
:AppleScript does have real I/O, and I've written a new example that illustrates it. --[[User:Bob9000|Bob9000]] 01:05, 28 January 2007 (EST)
:AppleScript does have real I/O, and I've written a new example that illustrates it. --[[User:Bob9000|Bob9000]] 01:05, 28 January 2007 (EST)
:[[File copy]] would be a useful task. In Apple's HFS+ and perhaps other file systems, you need to use special copy commands if you want to preserve file's metadata (resource fork, tags, file times, etc.) as well as the file's data.


== Perl cleanup ==
== Perl cleanup ==