I have a problem with the following script:
var xmlfile = File.openDialog("Choose XML");
var result = File(xmlfile).copy("~/Desktop/" + xmlfile.name);
This result is false (can't be copied) when the file is an a mounted PC Volume. (/Users/Public/Documents/)
In applescript this works fine:
tell application "Finder"
set xmlfile to (choose file)
move xmlfile to desktop
The source is on the same Volume.
Can someone help?
Retrieving data ...