Force window on second display

Mark Schonewille m.schonewille at
Fri Jul 24 09:24:22 EDT 2015

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

You might use working screenRects instead of screenRects.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

Installer Maker for LiveCode:

Buy my new book "Programming LiveCode for the Real Beginner"

LiveCode on Facebook:

On 7/24/2015 15:19, Magicgate Software - Skip Kimpel wrote:
> A bright good morning and a happy Friday to all you LC'ers,
> Is there a way to force a standalone on a second connected display?  This
> is for a retail environment where I am sending data and info to a customer
> standing on the other side of a counter viewing a secondary monitor.  I
> want this to be automated so that if the computer is rebooted and the
> application is launched, the employee does not have to drag the LC
> application window to the other screen.
> Thank you, as always, for your input!
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list