> On Jun 10, 2020, at 12:06 PM, Gabriel Zachmann via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> For the record: I believe I have found a solution:
> 
>  tell application "Finder" to get bounds of window of desktop
> 
> tells me the resolution of the screen in the same units (of course) as

This will not work if you have multiple monitors attached.

For example, on my machine, at the moment, it returns:

"{-1792, -366, 6720, 1890}"


> 
>  tell application "System Events" to get the title of every window of every 
> process
> 
> lateron.
> 
> Thanks again to everyone who chimed in.
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/clarkcox3%40gmail.com
> 
> This email sent to clarkc...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to