This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
action:Write_to_a_File [2017/03/05 21:06] peternlewis [Forum] |
action:Write_to_a_File [2018/02/19 01:35] peternlewis Write to a File v8.1 |
||
---|---|---|---|
Line 1: | Line 1: | ||
The Write to a File and [[action:Append Text to a File|Append Text to a File]] actions allow you to write a variety of things to a file on disk. | The Write to a File and [[action:Append Text to a File|Append Text to a File]] actions allow you to write a variety of things to a file on disk. | ||
+ | |||
+ | **Warning: Ensure you specify a file path, not a path to a directory - this action uses an Apple API that can overwrite directories, destroying them completely (pre-v8.1).** As of v8.1+, this action will trash (if possible) (in to the trash folder) any existing file or directory you are about to overwrite. | ||
Write or append the current system clipboard, a named clipboard, a variable, some text or some styled text (you can write but cannot append styled text). | Write or append the current system clipboard, a named clipboard, a variable, some text or some styled text (you can write but cannot append styled text). |