Page 1 of 1

Expand Stack Size To Three Monitors.

Posted: Mon Apr 12, 2021 2:54 am
by Googie85
Hi Guys!!!

I have been playing around with "screenrects", and was hoping to find an easier way to expand my Stack to three monitors. Im not expecting an easy answer and I know I will have to dig deeper into "screenrects" to achieve my goal. Just hoping there is an easier way!!

Many Thanks,

Googie.

Re: Expand Stack Size To Three Monitors.

Posted: Mon Apr 12, 2021 8:01 am
by richmond62

Code: Select all

on mouseUp
   put the screenrects into fld "Screenz"
   set the itemDelimiter to ","
   put item 3 of line 1 of fld "Screenz" into midSCREEN
   put ((item 1 of line 2 of fld "Screenz") * -1) into lSCREEN
   put item 3 of line 1 of fld "Screenz" into rSCREEN
   put (lSCREEN + midSCREEN + rSCREEN) into STRETCH
   set the width of stack "Stretchy" to STRETCH
   set the left of stack "Stretchy" to item 1 of line 2 of fld "Screenz"
end mouseUp
-
SShot 2021-04-12 at 10.00.48.png
-
You will also have to do some work with regard to the height of the stack. 8)

And REMEMBER that the order the screenRects may appear in your field may differ depending on which platform you
are developing on (the illustration was developed on Macintosh).