Expand Stack Size To Three Monitors.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Expand Stack Size To Three Monitors.

Post by Googie85 » Mon Apr 12, 2021 2:54 am

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Expand Stack Size To Three Monitors.

Post by richmond62 » Mon Apr 12, 2021 8:01 am

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).
Attachments
Stretchy.livecode.zip
Here's the stack.
(1.08 KiB) Downloaded 169 times

Post Reply

Return to “Windows”