Re: Fullscreen enter/exit notification
Re: Fullscreen enter/exit notification
- Subject: Re: Fullscreen enter/exit notification
- From: Chris Backas <email@hidden>
- Date: Tue, 23 Mar 2004 01:45:39 -0500
Hi Kevin,
Thanks for the response. I'd just noticed this one after downloading
the really useful Notification watching app that got announced on the
list recently - but it doesn't appear to be mentioned anywhere (At
least, googling doesn't turn it up and neither does entering it in the
search on Apple's ADC site). Is this one of those things that's "There
at the moment but could vanish at any time"? Do you know if it's
Panther-only?
Thanks,
Chris Backas
>
Well, when an app goes to fullscreen it hides the menubar, and when
>
that happens you get a distributed notification
>
>
com.apple.HIToolbox.menuBarHiddenNotification
>
>
And when the app comes back from fullscreen, you get
>
>
com.apple.HIToolbox.menuBarShownNotification
>
>
Of course, you also get that second one when switching applications,
>
but if an app is fullscreen you can't very well switch applications
>
(and if you could, you'd be out of fullscreen anyway).
>
>
On Mar 22, 2004, at 8:04 PM, Chris Backas wrote:
>
>
> I'm wondering if there's some Cocoa (or even non-cocoa) technique I
>
> can
>
> emply to test whether an application has entered or exited fullscreen
>
> mode. For instance, I send iTunes into FS mode through an
>
> Applescript,
>
> and I'd like to find out (or be notified) when the user leaves full
>
> screen mode. I'd LIKE to do this in a fairly generic way, as iTunes
>
> is quite likely not the only app I'll need to do something similar
>
> with. I suspect I can have another Applescript keep checking whether
>
> iTunes is still in Fullscreen mode or not, but that would introduce
>
> app-specific code, and involves polling which I'm not real fond of =)
>
>
--
>
Kevin Ballard
>
email@hidden
>
http://www.tildesoft.com
>
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.