Why does the following Action Script work on Windows but neither on Linux nor Mac?
What can I do to write a file on Mac and Linux?
action parameter query “Line1” with description “- such as Berkley-2374” and with default value "Berkley-2374"
action parameter query “Line2” with description “A single word or acronym for the subdivision” and with default value ""
if {unix of operating system}
parameter “targetfile” = "{storage folder of client}/textkey"
else
parameter “targetfile” = "{storage folder of client}\textkey"
endif
appendfile {parameter “Line1”}
appendfile {parameter “Line2”}
delete "{parameter “targetfile”}"
move __appendfile “{parameter “targetfile”}”