a script that communicates with AI and ID
Hello Community
I am currently trying to wrap my head around the Extendscript Toolkit. when i write a code i specify for program i want to use by selecting it in a drop down menu, However i want to use two different programs at the same time. I want to copy all the pageitems of a page in indesign and then paste it on a new page in illustrator. Does anyone know how i can have access to two programs at the same time?
I wrote the follow bit which appears to give me the two application i want to use but the contents of these objects is not the same as if you write "app." with for example indesign selected as your target application.
function main(){
var inApp = this.indesign11;
var illApp = this.illustrator;
}
if i write inApp.activeDocument the Toolkit just ignores it.
If anyone has any suggestion i'd be happy to hear them.
Thanks,
Dane
