Skip to main content
Legend
December 26, 2023
Question

Enable/disable contextual taskbar in Illustrator via ExtendScript

  • December 26, 2023
  • 2 replies
  • 268 views

Found a way to enable/disable contextual taskbar in Illustrator via ExtendScript. It is possible from Illustrator 2024(28). Just wanted to share.

var key = 'ContextualTaskBarEnabled' ;
var pref = app.preferences ;

// enable
pref.setBooleanPreference(key, true) ;

// disable
pref.setBooleanPreference(key, false) ;

// toggle
pref.setBooleanPreference(key, !pref.getBooleanPreference(key)) ;
This topic has been closed for replies.

2 replies

CarlosCanto
Community Expert
Community Expert
December 27, 2023

that's great @sttk3 thanks for sharing

jduncan
Community Expert
Community Expert
December 26, 2023

Great work as always! Thanks for sharing!