0
How to Switch illustrator Documents using Script
Participant
,
/t5/illustrator-discussions/how-to-switch-illustrator-documents-using-script/td-p/8364092
Jun 15, 2016
Jun 15, 2016
Copy link to clipboard
Copied
How to Switch illustrator Documents using Script for EX: Command + Tab in mac | Control + Tab in PC
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Community Expert
,
/t5/illustrator-discussions/how-to-switch-illustrator-documents-using-script/m-p/8364093#M217065
Jun 16, 2016
Jun 16, 2016
Copy link to clipboard
Copied
You can use activate method like below:
app.documents.getByName("Untitled-2").activate();
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
karthickm50893796
AUTHOR
Participant
,
/t5/illustrator-discussions/how-to-switch-illustrator-documents-using-script/m-p/8364094#M217066
Jun 19, 2016
Jun 19, 2016
Copy link to clipboard
Copied
Hi Ten A
I want to switch any file name documents not any particular Untitled-2 document.......
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/illustrator-discussions/how-to-switch-illustrator-documents-using-script/m-p/8364095#M217067
Jun 19, 2016
Jun 19, 2016
Copy link to clipboard
Copied
You must replace documents name.
However, you can write like below:
//To switch focus 2nd document
var n = 1; //(0 as first document)
app.document
.activate();
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

