Copy link to clipboard
Copied
Hey!
Does anyone know if it's possible to access the File > Recent Documents list with a script? Sorry if this has already been asked, I tried to do some digging but haven't been able to find anything 😞
Thanks!
You can try to get this information from the Preference file which is located here on windows:
C:\Users\<UserName>\AppData\Roaming\Adobe\Adobe Illustrator 21 Settings\en_US\x64\Adobe Illustrator Prefs
When I scroll all the way down to around line 5500, there's the list of files:
| /FileList { | ||
/file10 { |
So, you can actually access their information while Illustrator is running, like so:
var pref = app.preferences.getStringPreference("plugin/FileList/file0/name");
alert(pref);
After sniffin
...Copy link to clipboard
Copied
You can try to get this information from the Preference file which is located here on windows:
C:\Users\<UserName>\AppData\Roaming\Adobe\Adobe Illustrator 21 Settings\en_US\x64\Adobe Illustrator Prefs
When I scroll all the way down to around line 5500, there's the list of files:
| /FileList { | ||
/file10 { |
So, you can actually access their information while Illustrator is running, like so:
var pref = app.preferences.getStringPreference("plugin/FileList/file0/name");
alert(pref);
After sniffing around like so, I am under the impression that they order the files by most recently opened, so do not expect "file0" to be the file at the very top.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more