Skip to main content
bogdanf50056569
Participant
September 27, 2019
Question

How can I open a specific window in InDesign while dealing with .JS in CEP?

  • September 27, 2019
  • 1 reply
  • 189 views

Hello all, 

 

I'm trying to open the 'Data Merge' panel/window from .JS. 
How can I do that? 

 

Shall I use the CSInterface? And do what with that? 

    This topic has been closed for replies.

    1 reply

    Colin Flashman
    Community Expert
    Community Expert
    September 29, 2019

    I've used the following in my Data Merge scripts previously:

    app.menuActions.itemByID(108033).invoke();    
    var ma = app.menuActions.itemByID ( 108035 );  //this is required before the script can start, or else ID throws an error.
    ma.checked && ma.invoke(); 
    
    If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!