Changing the screenRect within a stack
dunbarx at aol.com
Sun Feb 22 20:24:56 CST 2009
I agree with Mark. It is just a dangerous idea. I have monitors that
go kaplooey if you choose unsupported, or unsupportable resolutions.
This may be due more to the video card than the monitor itself, but
you just never know...
On Feb 22, 2009, at 6:14:53 PM, "Francis Nugent Dixon"
<effendi at wanadoo.fr> wrote:
From: "Francis Nugent Dixon" <effendi at wanadoo.fr>
Subject: Changing the screenRect within a stack
Date: February 22, 2009 6:14:53 PM EST
To: use-revolution at lists.runrev.com
Hi from Paris,
I have a stack which has a specific window rect
(don't we all ?).
I want to run the stack on any Mac or PC computer,
but I don't know the current screenRect setting for
my possible target computers, and my stack window
is large enough to provide display problems on other
Inside preOpenStack using the "get the screenRect"
command, I can judge if the screenRect currently
used on the computer will harbour my stack window.
If the screenRect is not satisfactory, I can request
that the user sets the screenRect using "System
Preferences" on a Mac, or "Control Panel" on a PC,
and then quit my stack. The user can modify the
screenRect and relaunch my stack, but this is a PAIN !
What I REALLY want to do is to know ALL the possible
screenrects for the target computer, change the screenRect
dynamically for the duration of the stack run (choosing
the next highest screenRect in the list which wil accomodate
my window), and reset it back to the original value at the
termination of the stack.
Rev commands can't take me there, but I maybe I can do this
by executing AppleScripts (or the equivalent on a PC)
Anybody solved this problem ? Help gratefully received ...
"Nothing should ever be done for the first time !"
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
More information about the use-livecode