Skip to main content
bodich
Inspiring
November 7, 2018
Answered

How to get Illustrator preferences folder (located in user folder)

  • November 7, 2018
  • 1 reply
  • 6107 views

Hi.

I want to save settings for script. In Photoshop I save settings .xml file in the preferences folder, that I can easily get with app.preferencesFolder.

How can I get that folder for Illustrator from Illustrator script?

No need to suggest static path please, script can be launched on different machines with different OS. Illustrator can be any version too.

Saving in script folder is not solution too, script can be updated but settings must be kept.

Thanks to anyone who can help.

This topic has been closed for replies.
Correct answer CarlosCanto

there's no preference folder in illustrator,

the available folders are

Folder.desktop;

Folder.appData;

Folder.appPackage; // mac

Folder.commonFiles;

Folder.startup;

Folder.system;

Folder.userData;

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
November 7, 2018

there's no preference folder in illustrator,

the available folders are

Folder.desktop;

Folder.appData;

Folder.appPackage; // mac

Folder.commonFiles;

Folder.startup;

Folder.system;

Folder.userData;

Silly-V
Legend
November 8, 2018

There's only preference files which there are two of:

/Users/<USER>/Library/Preferences/Adobe Illustrator 23 Settings/en_US/Adobe Illustrator Cloud Prefs

/Users/<USER>/Library/Preferences/Adobe Illustrator 23 Settings/en_US/Adobe Illustrator Prefs

You can observe these files are updated when Illustrator is stopped.

Also using the scripting commands for the preferences object can set non-sensical preferences where they do not belong, and they will persist through the Prefs file. I did this a lot when experimenting with handing the scripting preferences object

Participant
July 22, 2021

Is there a way to access `Adobe Illustrator Cloud Prefs` using `app.preferences` within SUI?