ExamineDesktops() does not work in lion?

Mac OSX specific forum
wy328
User
User
Posts: 18
Joined: Sun Jan 15, 2012 3:08 am

ExamineDesktops() does not work in lion?

Post by wy328 »

on MacOSX 10.7, you can creat desktops(spaces) in mission control.
but how can we know the info of that?
I tried ExamineDesktops() with no success....
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: ExamineDesktops() does not work in lion?

Post by jesperbrannmark »

This works just fine in Lion:

Code: Select all

ExamineDesktops()
Debug Str(DesktopHeight(0))
Debug Str(DesktopWidth(0))
wy328
User
User
Posts: 18
Joined: Sun Jan 15, 2012 3:08 am

Re: ExamineDesktops() does not work in lion?

Post by wy328 »

jesperbrannmark wrote:This works just fine in Lion:

Code: Select all

ExamineDesktops()
Debug Str(DesktopHeight(0))
Debug Str(DesktopWidth(0))
thanks, i mean how to get the number of desktops(spaces) for current user?
the manual says ExamineDesktops() will return the number of desktops.
but it seems that bp's ExamineDesktops() does not support the virtual desktop in macosx.
Post Reply