Copy link to clipboard
Copied
Hello,
I am searching informations about preference keyes about Illustrator scripting.
Where I can find descriptions about key (preference file in appdata), for example for isRulerOriginTopLeft.
Thank you
Copy link to clipboard
Copied
Do you mean:
- app.preferences.setBooleanPreference ("isRulerOriginTopLeft",radCS5.value);
- app.preferences.setBooleanPreference ("isRulerIn4thQuad",radCS5.value);
from: JS - change CS5 Ruler Origin to bottom/left (like CS4)
credits to CarlosCanto​
Copy link to clipboard
Copied
Yeah, I saw this post but I want know how You can know how to use this key (for what).
I can't find documentation about this keyes (all keyes in 'pref illustrator document' not in 'pref illustrator cloud document).
For example, where I can find documentation about this key isRulerOriginTopLeft ?
Copy link to clipboard
Copied
I wrote about some keys in the Japanese forum a few years ago.
Copy link to clipboard
Copied
Yes thank you, I saw it too but there is a lot of keyes without documentation in pref illustrator file.
For example, your informations are wrote in pref illustrator cloud file and not in pref illustrator file and isRulerOriginTopLeft key is in pref illustrator file.
And how you can know informations to wrote your little documentation please ?
Copy link to clipboard
Copied
Unfortunately, This is never documented in Scripting. However, You can reference the Illustrator CC SDK.
Copy link to clipboard
Copied
Hello, do you know where I have to search in documentation to find informations about this keyes, I searched in SDK documentation but I dont find it ?
There is files .h only in SDK documentation.
Copy link to clipboard
Copied
there's no documentation about preference keys. All we know about them has been found out by trial and error and by being very curious.
Copy link to clipboard
Copied
Yes, It's no listed for some reasons.
However, We can learn about preferences with SDK document.
I recommend checking references under the docs directory.