Answered
Conveniently open the Scripts folder
Hi everyone,
Is there a script or action that will open the location of the Illustrator Scripts folder?
Hi everyone,
Is there a script or action that will open the location of the Illustrator Scripts folder?
Hi Mark, I think Mike wants to open the default scripts folder.
can you check if the below script works on Mac? Is your language "en_US"?
// open default scripts folder
// Carlos Canto
var aifolder = app.path;
var localizedFolder = Folder(aifolder + '/Presets.localized');
if (localizedFolder.exists) {
var presetsFolder = localizedFolder;
//alert(presetsFolder.fsName);
}
else {
var presetsFolder = Folder(aifolder + '/Presets');
//alert(presetsFolder.fsName);
}
if (presetsFolder.exists) {
var scriptsFolder = Folder(presetsFolder + '/' + $.locale + '/Scripts');
if (scriptsFolder.exists) {
scriptsFolder.execute();
//alert(scriptsFolder.fsName);
//alert(scriptsFolder.getFiles('*.*').toString());
}
else {
alert('Scripts Folder was not found');
}
}
else {
alert('Presets folder was not found');
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.