Re: Fullscreen enter/exit notification
Re: Fullscreen enter/exit notification
- Subject: Re: Fullscreen enter/exit notification
- From: Kevin Ballard <email@hidden>
- Date: Mon, 22 Mar 2004 23:18:56 -0500
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/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.