Re: Open Windows
Re: Open Windows
- Subject: Re: Open Windows
- From: "Stockly, Ed" <email@hidden>
- Date: Tue, 15 Jul 2008 14:27:56 -0700
- Thread-topic: Open Windows
> I could have a script which will check for open windows by applications.
> Your script for TextEdit and AppleWorks worked. Thanks.
>
> Hope someone will be able to help with Illustrator.
Here's how I would do it with illustrator...
tell application "Adobe Illustrator"
close every document saving no
end tell
The "Close" command is usually a pretty simple command and is included in
nearly every scriptable application's dictionary. Usually as part of the
required suite.
In some cases you'll need to send the command to windows, in most you'll
need to send them to documents.
In applications where "every" doesn't work, you could use a repeat loop.
Check the application's dictionary if that doesn't work.
HTH,
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden