Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to activate window from Dock?



Message: 5
Date: Mon, 12 May 2008 13:15:40 +1000
From: Brian Christmas <email@hidden>
Subject: How to activate window from Dock?
To: email@hidden
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

G'day.

I've built my Studio App, but a minor point is niggling me.

If I close the App window, then, before clicking anywhere else, click
on the Dock icon, the window does not reopen.

If I click on the desktop, then the icon, up pops the window.

I've fiddled with settings but can't work out which is the right code.

Can anyone tell me please which is the correct procedure for this.

BTW thanks to Philip Buckley for your answer to my last question.


Brian,

What is your desired behavior?  In most cases, closing a window should leave
it closed, which is default behavior.  If it's coming back when the app
becomes active after resigning (which is what you accomplish by clicking on
the desktop first then the app icon second), you must have already done some
coding to make that happen, right?  (like putting in a "will become active"
event handler?)

Craig


-- 
Dr. Craig Hunter
NASA Langley Research Center
Configuration Aerodynamics Branch
email@hidden
(757) 864-3020


G'day Craig

Yes, i've got a 'will become active' handler.

I've played with all sorts of things, but it's just a niggling point with me in that I can't solve it.

Regards

Santa



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.