Launch script when New Document is made

Hello,

How do I get this script to trigger when I make a new document?



tell application "Adobe InDesign CS2"
	set bounds of active window to {72, 32, 1000, 1050}
end tell


Thank you!
Clobberella

Hi,

isn’t it easier to create the new document with a script?

Hi Stefan,

Actually I originally wrote this with “make new document” included and had it saved as an application on my desktop. Sounds like you and I had the same idea. :slight_smile: But curiosity got the best of me and I was just wondering how to do it… :wink:

It’s certainly possible with a stay open script which checks periodically the open documents.
The effort is to distinguish between a new and existing documents.