Re: Can I show different content in different screens? (screensaver)
Re: Can I show different content in different screens? (screensaver)
- Subject: Re: Can I show different content in different screens? (screensaver)
- From: Dave <email@hidden>
- Date: Wed, 22 Jul 2015 21:09:37 +0100
Yes, Grab it’s global coords and then scan the NSScreen Array til you find it, there are some API calls to do this too I think, but off the top I can’t remember the details and not at my machine at the moment.
Cheers
Dave
> On 22 Jul 2015, at 20:01, Juanjo Conti <email@hidden> wrote:
>
> So, from the code, I can tell in which screen my code is running?
>
> On Wed, Jul 22, 2015 at 2:38 PM, Steve Mills <email@hidden> wrote:
>
>> On Jul 22, 2015, at 12:13 PM, Juanjo Conti <email@hidden>
>> wrote:
>>
>> I'm writing an screensaver and I wonder what happens if I have more than
>> one screen.
>>
>> So far, the screensaver is displayed in all the screens.
>>
>> But, what about if I want to show different content in each? do you know if
>> the screen saver framework has support for this?
>>
>>
>> Each screen gets its own executable, so each screen shows different
>> content. For instance, the built-in ones that show photos have different
>> photos on each screen.
>>
>> Sent from iCloud's horrible UI
>>
>>
>
>
> --
>
> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
> <email@hidden>>
>
> Software Engineer - Carousel Apps <https://carouselapps.com>
>
> --
> Carousel Apps Limited, registered in England & Wales with registered number
> 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
> Street, London SE1 3HN. Any communication sent by or on behalf of Carousel
> App Ltd or any of its subsidiary, holding or affiliated companies or
> entities (together "Watu") is confidential and may be privileged or
> otherwise protected. If you receive it in error please inform us and then
> delete it from your system. You should not copy it or disclose its contents
> to anyone. Messages sent to and from Watu may be monitored to ensure
> compliance with our internal policies and to protect our business. Emails
> are not secure and cannot be guaranteed to be error free. Anyone who
> communicates with us by email is taken to accept these risks.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden