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: Popping up a window



These work - but I'm looking to be able to customize the window a bit more than that...I guess that I'll have to evaluate the tradeoff of making it "pretty" and having it "lightweight"...

Thanks for the pointers!

-Nathan

On Jun 13, 2007, at 11:57 AM, Douglas Norton wrote:


On Jun 13, 2007, at 10:28 AM, Frederick Cheung wrote:


On 13 Jun 2007, at 18:23, Nathan Toone wrote:

I don't know where to ask this question - but I think that here is probably the most likely...

I have an application which runs from the command-line. *PERIODICALLY* (actually, very rarely) I want to pop up a "notification"-style window. I want this window to appear on top of all other windows, and possibly be semi-transparent (the way that the bezel UI stuff is...) It should respond to a click (opening a url when clicked) and a timeout - after which, it just "goes away".

My question is that I don't know the best way to approach this. Is this something that I can easily implement using carbon? I'd prefer not to have to set up an entire application just to support the occasional display of this popup.

CFUserNotification sounds like what you want.


osascript could also be used to run an applescript to do exactly what you need.


Douglas

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Popping up a window (From: Nathan Toone <email@hidden>)
 >Re: Popping up a window (From: Frederick Cheung <email@hidden>)
 >Re: Popping up a window (From: Douglas Norton <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.