Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Which Page/Pages are selected in the Pages Window

New Here ,
Jun 04, 2008 Jun 04, 2008
Is there a way to figure out which pages are selected in the pages window? Kinda like object.selectedPages.item.pagenumber?
TOPICS
Scripting
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 02, 2010 Apr 02, 2010

I'd like to know the answer to this as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 02, 2010 Apr 02, 2010

No. None of the panels have a 'selected' attribute, and in general you are unable to determine it otherwise.

(The few exceptions I can think of are the Layer panel ("activeLayer") and Preflight ("activeProcess"), and Character, Paragraph, and Object styles -- these only when there is nothing selected. (And when you *have* something selected, their selection always equals that property of the currently selected object.))

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2010 Apr 06, 2010

There is a PagesPanel object, but there's no selectedPages property...

Dirk might have a plugin which can tell you what's selected, but I don't remember for sure...

Harbs

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 06, 2010 Apr 06, 2010

Dirk does have such a plug-in.

Ralf

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 06, 2010 Apr 06, 2010
LATEST

Yup.

I just do not advertise it because the functionality is incomplete - you can only read the selected entities of the various panels, but can't select e.g. another page/swatch/etc. Besides my activation mechanism is a pain, asking for a rewrite whenever I find the time.

Even worse, I just realised my webserver is down so I can't point you to a demo download.

Dirk

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines