Hi,
here comes the revised version.
Changes: -better escaping for values (hopefully I caught all; "foo"!" bar" works fine) -improved error handling (also checking if variable name is not valid for bash) -errors are outputted as tooltips -added the option '-a' to export a plist array as a single string delimited by TABs for 'export' -fixed the problem to delete the temporary file if <data> syntax is not valid
More details at the beginning of the attached file 'exportpl'
Question: Is there any case that the plist coming from tm_dialog contains NSBoolean or NSData? If yes, what is the best way to handle these?
Have a nice day,
and comments are welcome, as always
Hans