Hi zusammen, folgendes Problem:
Script ist schon auf Minimum zusammengestaucht, ich schaffe es nicht aus einem ID-Script eine Datei zu kopieren die im Filesystem liegt:
var tf = "Desktop:b"
var sf = "Desktop:a:x.jpg";
copyPasteScript = "tell application \"Finder\"\r";
copyPasteScript += "copy document file \""+sf+"\" to folder \""+tf+"\" \r";
copyPasteScript += "end tell";
alert(copyPasteScript);
app.doScript(copyPasteScript, ScriptLanguage.applescriptLanguage);
Als Fehlermeldung bekomme ich "folder kann nicht als document file gesetzt werden"
Was ist zu tun?
Screenshot kann ich nicht anhängen weil es den Button "Anhang speichern" nicht gibt, sorry...