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
Copy link to clipboard
Copied
[ branched from Script For Navigate to Next Document to Illustrator forum ]
new title: [ Branched ] app.executeMenuCommand "navigateToNextDocument" doesn't work
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];
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
The same for me.
A quick test with this command always ended with a 'PARM' error. Strange.