Screen resolution on startup?

David Vaughan drvaughan55 at mac.com
Mon May 6 00:52:01 EDT 2002


On Monday, May 6, 2002, at 02:12 , lifepaintandpassion wrote:

> Can you actually on openStack find out the users screen resolution
> (screenRect?)
Yes... you can use the screenRect() function...

> and if it's less than 1024x768
which returns the screen width as item 3 and height as item 4 (e.g. 
0,0,1024,768)

>  not open the stack (or give a
> warning them close it)?
after which you can scale the window to suit or, if you prefer, prevent 
its use.

I discovered this information by entering "screenRect" in the Transcript 
Dictionary, as one does :-)

cheers
David
>
> Thanks.
>
> david
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list