Copy link to clipboard
Copied
Dose file.changePath (".."); move the file to a new location? I want to move files and was wondering what function I should use. Thanks.
In Bridge you would use moveTo();
The equivilant of move up a folder would be...
var thumb = app.document.selections[0];
thumb.moveTo(thumb.spec.parent.parent);
Copy link to clipboard
Copied
In Bridge you would use moveTo();
The equivilant of move up a folder would be...
var thumb = app.document.selections[0];
thumb.moveTo(thumb.spec.parent.parent);
Copy link to clipboard
Copied
Will this except a string?
Copy link to clipboard
Copied
It wants a folder object, a string will not work.
var thumb = app.document.selections[0];
thumb.moveTo(Folder("/c/temp"));
Copy link to clipboard
Copied
Thanks that is very helpful...