myFile.write( str1, [ str2 ], [ ... ] ) in Photoshop DOM
Write string data to the file.
Arguments
name | type | description |
---|---|---|
str1 | String | The first string to write. |
str2 | String | [optional] Additional string(s) to write. |
... | String | [optional] |
- Return Type
- Boolean
Description
The parameters of this function are concatenated to a single string. Returns true
on success. For encoded files, writing a single Unicode character may result in multiple bytes being written. You should take care not to write to a file that is open in another application or object. This may cause loss of data, since a second write issued from another File object may overwrite your data!