MFI from a selectable location
Hi, I'm quite new to the JSL world, or to coding in general. I would like to save myself some time-consuming work with a few simple scripts.
As in this case, I would like to automate the MFI. To do this, I copied the script below from the MFI dialog and added the “Pick Directory” command.
My only problem is that the "Select a directory" dialog appears twice every time. After I chose the storage location twice, the rest of the script and the commands following the MFI worked without any problems.
Multiple File Import(
<<SET folder=""></SET>
Automation and ScriptingRe: MFI from a selectable locationIt might be enough if you move Pick Directory() outside << Set Folder
Names Default To Here(1);
sel_dir = Pick Directory("Select a directory.", "$Desktop");
Multiple File Import(
<<SET folder=""></SET>Re: MFI from a selectable locationThanks. i its works for me. I tried some similiar, with "dir" instead of "sel_dir, but that doesent worked well. Maybe i had Synthax Failure.