Dual monitors
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Dual monitors
Hello Everyone,
I created an desktop application (queuing number). I setup with dual monitors with different resolution the function of the two monitors is one will serve as a display screen and the other one will serve as user side (input the number). In my application i created a separated stack (displaystack) to display the number.
I want to set my displaystack to the other monitor once i ran my application. is this possible in livecode?
right now every time i ran my application i will drag the displaystack to other monitor.
hope you can help me. thanks
I created an desktop application (queuing number). I setup with dual monitors with different resolution the function of the two monitors is one will serve as a display screen and the other one will serve as user side (input the number). In my application i created a separated stack (displaystack) to display the number.
I want to set my displaystack to the other monitor once i ran my application. is this possible in livecode?
right now every time i ran my application i will drag the displaystack to other monitor.
hope you can help me. thanks
Thank you & God Bless Everyone
Regards,
lemodizon

Regards,
lemodizon
Re: Dual monitors
Hi.
There is a property, "the screen" that will tell you which monitor a particular stack lives on. Check the dictionary.
You can then set the loc or topLeft of any stack to the screen coordinates that suit you. I place the Script Editor on one monitortor, with its rect set to the rect of that monitor, and use the other one to hold my working stacks, message box, inspectors, etc.
Craig
There is a property, "the screen" that will tell you which monitor a particular stack lives on. Check the dictionary.
You can then set the loc or topLeft of any stack to the screen coordinates that suit you. I place the Script Editor on one monitortor, with its rect set to the rect of that monitor, and use the other one to hold my working stacks, message box, inspectors, etc.
Craig
Re: Dual monitors
Do you know that the totality of all your monitors share the same screen space? That is, if you tracked the X and Y coordinates as you moved around, you would find that "0,0" is at the topLeft of your "main" screen. For me, since my other monitor lies to the left of that and is much taller, I see negative values of both parameters as I move into that space.
Other programs see it the same. I use a macro program to effect some shortcuts, and have to click in the left monitor. I must specify negative values of X and Y to do that.
Craig
Other programs see it the same. I use a macro program to effect some shortcuts, and have to click in the left monitor. I must specify negative values of X and Y to do that.
Craig
Re: Dual monitors
You can check -> the screenrects in the dictionary.
That will give you all the neccessary informations.
That will give you all the neccessary informations.
-
- Livecode Opensource Backer
- Posts: 10098
- Joined: Fri Feb 19, 2010 10:17 am
Re: Dual monitors
I have 3 monitors attached to my machine.
The attached stacks (and its 2 substacks) will put 1 stack on a left-hand monitor,
1 stack on a central monitor, and 1 stack on a right-hand monitor:
-
- Attachments
-
- MainST.livecode.zip
- Stack.
- (11.16 KiB) Downloaded 140 times
Re: Dual monitors
dunbarx wrote: ↑Wed Oct 19, 2022 3:32 amDo you know that the totality of all your monitors share the same screen space? That is, if you tracked the X and Y coordinates as you moved around, you would find that "0,0" is at the topLeft of your "main" screen. For me, since my other monitor lies to the left of that and is much taller, I see negative values of both parameters as I move into that space.
Other programs see it the same. I use a macro program to effect some shortcuts, and have to click in the left monitor. I must specify negative values of X and Y to do that.
Craig
Hi Craig,
Thanks for sharing. I will try and check this one.
Thank you & God Bless Everyone
Regards,
lemodizon

Regards,
lemodizon
Re: Dual monitors
Hi Klaus,
Thanks, I will check it.
Thank you & God Bless Everyone
Regards,
lemodizon

Regards,
lemodizon
Re: Dual monitors
Hi richmond62,richmond62 wrote: ↑Wed Oct 19, 2022 9:14 amSShot 2022-10-19 at 10.43.38.png
-
I have 3 monitors attached to my machine.
The attached stacks (and its 2 substacks) will put 1 stack on a left-hand monitor,
1 stack on a central monitor, and 1 stack on a right-hand monitor:
-
SShot 2022-10-19 at 11.06.02.png
This will help,Thanks for the sample file.
Thank you & God Bless Everyone
Regards,
lemodizon

Regards,
lemodizon