Skip to main content
Participant
December 2, 2022
Answered

CEP Indesign: Scroll into view

  • December 2, 2022
  • 3 replies
  • 1325 views

Hi everyone,

Developing a CEP plugin for InDesign. I have a selection of item/items, which selected by JSX code on some event triggered by the user. Is there any way to scroll these items into view?

Thank you in advance!

This topic has been closed for replies.
Correct answer m1b

One thing that comes to mind is the showText method of text objects. Aside from that you can control the document's layoutWindow view somewhat. See activePage and bounds for example.

- Mark

3 replies

Robert at ID-Tasker
Legend
December 4, 2022

Isn't UXP better ?

 

Loic.Aigon
Legend
December 4, 2022

UXP plugins aren't available yet within InDesign. You can build some HTML dialog with UXP Scripting but nothing you can dock for example 😉

But it's announced for 2023, so let's wait and see 🙂

https://developer.adobe.com/indesign/uxp/plugins/

Robert at ID-Tasker
Legend
December 4, 2022

Are you sure 😉 

 

So what's this? - same page as your link - shortcut at the top a bit to the left 😉 

 

https://developer.adobe.com/indesign/uxp/guides/getting-started/

 

Or you mean that "plugins" will be a completely different beast? What will be the difference?? 

 

Loic.Aigon
Legend
December 4, 2022
m1b
Community Expert
m1bCommunity ExpertCorrect answer
Community Expert
December 2, 2022

One thing that comes to mind is the showText method of text objects. Aside from that you can control the document's layoutWindow view somewhat. See activePage and bounds for example.

- Mark

Participant
December 12, 2022

Thanks! Looked through the API, but missed this one. It is simple and works like charm