[JS] MenuItem Life Cycle in CS6


hi guys,

 

i have set of scripts offer mechanism populate dedicated menu user can run these scripts menu bar.

 

the system based on startup script—say menuloader.jsx—which responsible checking , feeding desired menuitem instances within submenu. each related script menu action based on oninvoke listener connected file—as discussed in thread: http://forums.adobe.com/message/4089126#4089126

 

while menuloader seems work id cs4 cs6, user reported strange fact in mac os 10.7.5 / indesign 8.0.1. after tests discovered whole menu stuff (i.e. dedicated submenu and all included menuitems) entirely restored indesign during startup, making menuloader useless! (at moment makes fail, had not anticipated such situation can occur.)

 

this issue not technically severe in can adapt code without great difficulty. anyway seems raise serious question.

to date assumed that:

1. custom submenus application-persistent (which still true here, of course!)

but

2. custom menuitems only session-persistent.

 

from i've experienced clause #2 true (and that's reason why used implement menuloaders). don't understand under condition scripted menuitems may become app-persistent. did miss obvious id preference settings or something?

 

thanks hint or clarification.

 

@+

marc

i don't know whether indesign uses application state-saving , resuming feature introduced in lion. can't test myself, little googling makes me think might fruitful avenue troubleshooting.

 

jeff



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support