Change active view on a document
- This topic has 3 replies, 3 voices, and was last updated 6 years, 10 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Change active view on a document
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Change active view on a document
Hi everyone,
I have an issue and i don’t find any solutions…
When i open a document generated by InDesign, the active view is on a master spread (InDesign change view if we had a new master spread).
I need to change it to pages before saving/closing.
I’m working with InDesign Server CC.2015.
“Document.LayoutWindows” does not exist.
I’m looking for a VB or javascript solution.
Can you help me ?
Thanks.
Cyril
I can add that i need to change view because use Document.CreateTOC is not possible if the view is on master spreads…
I know the problem. But you can’t activate any page in InDesign Server. In a desktop installation you’d do
app.windows[0].activePage = app.activeDocument.pages[0];
For you, on ID Server, all you can do is to make sure that before your template is uploaded to the server, it’s saved with a document page active.
The master retains whatever the settings was at creation (1 or 2 pages) even if you change the document settings afterwards (Facing Pages), a solution is to create a new master page using only one page then replace the pages you wish to change with the new master.
Hope this helps
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!