• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Illustrator CS3 - bring document to front?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Illustrator CS3 - bring document to front?


  • Subject: Illustrator CS3 - bring document to front?
  • From: Hamish Sanderson <email@hidden>
  • Date: Tue, 1 Sep 2009 14:29:45 +0100

Hi all,

Just wondering if there's a simple, reliable way to change the stacking order of windows in Illustrator CS3? My workflow needs to keep several documents open at once, but I'm running into various AI bugs when trying to script a document if its window isn't in front of all the other AI windows. I can work around those bugs by bringing the desired window to the front manually, but so far haven't found a way to reorder windows using AS. e.g. Here are the sort of things I've tried:

tell application "Adobe Illustrator"
	move document 2 to before document 1 -- error: clone not allowed
end tell

tell application "Adobe Illustrator"
move view 1 of document 2 to before view 1 of document 1 -- error: clone not allowed
end tell


tell application "Adobe Illustrator"
activate document 2 -- brings AI frontmost but does not affect its window order
end tell


tell application "Adobe Illustrator"
activate view 1 of document 2 -- brings AI frontmost but does not affect its window order
end tell


tell application "Adobe Illustrator"
select document 2 -- error: document 2 doesn’t understand the select message
end tell


tell application "Adobe Illustrator"
select view 1 of document 2 -- error: document 2 doesn’t understand the select message
end tell


I've also had a poke around System Events, but so far haven't seen anything there that looks like it could do this.

Any suggestions or solutions would be much appreciated.

Thanks,

Hamish
--

Hamish Sanderson
Production Workflow Developer
Sun Branding Solutions Ltd
Tel: +44(0)1274 200 700
www.s-brandingsolutions.com




_______________________________________________ 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
  • Prev by Date: Re: Beeping Beeper
  • Next by Date: Re: Illustrator CS3 - bring document to front?
  • Previous by thread: Re: Beeping Beeper
  • Next by thread: Re: Illustrator CS3 - bring document to front?
  • Index(es):
    • Date
    • Thread