Hello, in my applescript I am trying to print a variable to a file. Right now I am using do shell script "echo..." . In the variable I have a XML file but when i do the echo and copy it to a file it drops all of the double quotes in the XML. Does anyone know how this could be solved?
The line I am using is:
do shell script "echo -n \"" & file_data & "\">/Applications/MUOwner.nsi" with administrator privileges
In 10.5 I use a "tell "TextEdit"" to copy the information to a file, but in 10.4 I am unable to make it save where I want.
Thanks,
Drew