Copy link to clipboard
Copied
I have two textboxes in the panel. while Tabbing or entering into the Panel Textboxes Tab is applied onto the main page.As the cursor is in the main page also.
Below is the code.
var w = new Window ('palette', 'Add Note', undefined, {resizeable: true});
var listContainer = w.add ("group");
listContainer.orientation = 'column';
////////////////// Textbox
var note = listContainer.add ('edittext', [0,0,120,100], "", {multiline:true});
note.graphics.font = "Krishna:18";
note.active = true;
var pg = listContainer.add ('edittext', [0,0,120,70], "", {multiline:true});
pg.graphics.font = "Calibri:12";
What can be the work around here..? Can we block the background page while typing in the panel..?
You're using InDesign CS6 (or an earlier version). The problem was fixed in InDesign CC, so you'd have to upgrade to a newer InDesign. But you'd lose the possibility to set font and point size. Adobe giveth, and Adobe taketh away.
P.
Copy link to clipboard
Copied
Hi @Hetal5C4C,
This seems to be a bug already discussed in the following thread.
https://community.adobe.com/t5/indesign-discussions/js-tab-key-event-scriptui/m-p/2177157#M330418
ScriptUI has not been updated since long so I am not sure if this will ever be fixed. I this is a blocker for you then I would suggest you to migrate to a using CEP stack which would be replaced sometime in the future with UXP. With CEP and UXP you can use the HTML and CSS powers to create UI's
-Manan
Copy link to clipboard
Copied
You're using InDesign CS6 (or an earlier version). The problem was fixed in InDesign CC, so you'd have to upgrade to a newer InDesign. But you'd lose the possibility to set font and point size. Adobe giveth, and Adobe taketh away.
P.