[ Branched ] app.executeMenuCommand "navigateToNextDocument" doesn't work

Engaged ,
Jul 10, 2020 Jul 10, 2020

Copy link to clipboard

Copied

Hey Carlos, I was just looking for how to do this! Thanks.

 

By chance, do you know why these app.executeMenuCommand strings don't work?

navigateToNextDocument

navigateToNextDocumentGroup

navigateToPreviousDocument

navigateToPreviousDocumentGroup

TOPICS
Scripting

Views

230

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jul 10, 2020 Jul 10, 2020

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jul 10, 2020 Jul 10, 2020

Copy link to clipboard

Copied

hmm...for some reason I never used those commands, so I never noticed they didn't work. They might be obsolete commands from earlier versions.

 

any time I needed to navigate to other documents I would use documents[index];

Likes

Translate

Translate

Report

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
Participant ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

LATEST

Hello,

can you give an example how you are using :documents[index];: for navigating?

i have an active dosument.

I want to select the next or  the previous document of the active document

The document names are random, the active document can be any

The shortcut

Ctrl + tab for the next document

and shortcut 

Shift+Ctrl+Tab for the previous document  

working fine.

But i cannot use these shortcuts inside a script

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jul 11, 2020 Jul 11, 2020

Copy link to clipboard

Copied

The same for me.

 

A quick test with this command always ended with a 'PARM' error. Strange.

Likes

Translate

Translate

Report

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