Skip to main content
Inspiring
June 24, 2025
Answered

Change Illustrator Keyboard Increment Preference with Extendscript

Is there a way to change the keyboard increment preference in Illustrator with Extendscript?

sttk3Correct answer
Legend
June 25, 2025
It is less widely known, but can be changed in this way.
var keyboardIncrement = 2.0 ; // as points
app.preferences.setRealPreference('cursorKeyLength', keyboardIncrement) ;

4 replies

sttk3Correct answer
Legend
June 25, 2025
It is less widely known, but can be changed in this way.
var keyboardIncrement = 2.0 ; // as points
app.preferences.setRealPreference('cursorKeyLength', keyboardIncrement) ;
Translate
m1b
Community Expert
Community Expert
June 25, 2025

Oh thanks @sttk3 I looked for an app.preferences for it but failed. Does anyone maintain a list of all the preference keys?

- Mark

Translate
m1b
Community Expert
Community Expert
June 25, 2025

I don't think the scripting API provides access to that, unfortunately. I am happily corrected!

- Mark

Translate