Page 1 of 1
ExamineDesktops() does not work in lion?
Posted: Mon Jan 30, 2012 10:31 am
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....
Re: ExamineDesktops() does not work in lion?
Posted: Mon Jan 30, 2012 1:26 pm
by jesperbrannmark
This works just fine in Lion:
Code: Select all
ExamineDesktops()
Debug Str(DesktopHeight(0))
Debug Str(DesktopWidth(0))
Re: ExamineDesktops() does not work in lion?
Posted: Tue Jan 31, 2012 6:55 am
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.