Sorry there was a mistake in my post i do not want to use ExtendScript ToolKit 3.6 to develop java script
i want to create such java script, that i do not need to put my java script in
C:\Documents and Settings\<username>\Application Data\Adobe\InDesign\Version 7.0\<locale>\Scripts
and when i run my script then indesign application create(start).
Like in applescript there is no need to put the script in /Users/<username>/Library/Preferences /Adobe InDesign/Version 7.5/<locale>/Scripts
Simply create applescript in apple script editor which is inbuild with mac, Indesign Application create(start) sucessfully.
Is there is any other method plz tell me ?
Thanks Vamitul for reply
I want to Know how indesign object "app" is created to start Indesign application on click yes.
For example if i write
var myDocument = app.documents.add();
var myTextFrame = myDocument.pages.item(0).textFrames.add();
myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
myTextFrame.contents = "Hello World!";
in a simple text file and save it with .js extention and to open this double click on this it give error undefined "app".
Source :Microsoft JScript runtime error
So how define "app" or create indesign object ?
i understand, and the answer is still No, you cannot.