Re: Swap foreground and background windows
Re: Swap foreground and background windows
- Subject: Re: Swap foreground and background windows
- From: Michelle Steiner <email@hidden>
- Date: Sun, 24 May 2009 14:20:48 -0700
On May 24, 2009, at 1:54 PM, Quark67 wrote: I will made "Sans Titre 3" in background and "Sans titre" in foreground. This works:
tell application "TextEdit"
set win1 to id of the first window set win3 to id of the third window set index of window id win1 to 3 set index of window id win3 to 1 end tell
--
I'm sorry, when I click on TextEdit on the dock, this give me windows as on the third screenshoot. But I'm on Leopard. Are you too? If yes, what happens?
Yes, I'm on Leopard.
The problem with the Dock is something unrelated to the script. For some reason, clicking on the Dock (or otherwise activating the application) will make the most recently created open window the front window.
-- Michelle
-- Homosexuals do not recruit; Christians recruit, and so does the military.
|
_______________________________________________
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