Skip,
This time I have tested it:
put line 2 of the screenRects into myRect
put (item 1 of myRect + item 3 of myRect) / 2 into X
put (item 2 of myRect + item 4 of myRect) / 2 into Y
set the loc of stack myStack to X,Y
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 7/24/2015 15:28, Magicgate Software - Skip Kimpel wrote:
put line 2 of the screenRects into myRect
put (item 1 of myRect + item 2 of myRect) / 2 into X
put (item 3 of myRect + item 4 of myRect) / 2 into Y
set the loc of stack myStack to X,Y
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode