Copy link to clipboard
Copied
I'm trying to import an AEP into an active AEP. When I run the script from Extend script it works fine but when I try running it from within the AEP I get an error: Path not valid.
var myFile = "myProject.aep";
app.project.importFile(new ImportOptions(File("GFXM1/Folder/" + myFile)));
GFXM1 is a server (not sure it matters). I've tried adding "Volumes/" infront of GFXM1 but it still didn't work.
You may need to add a '/' slash in front of Volumes as that directory is in the root of the OSX file system.
Copy link to clipboard
Copied
You may need to add a '/' slash in front of Volumes as that directory is in the root of the OSX file system.
Copy link to clipboard
Copied
It's always something simple like that in scripting isn't it!? Thanks Arie!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more