Control mouse and keyboard? Search screen for specific color
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Control mouse and keyboard? Search screen for specific color
Anyone have any suggestions for the commands to control the mouse and keyboard?
Also wondering if there is a way to search the screen and use something like an "eyedropper" to check the color
Also wondering if there is a way to search the screen and use something like an "eyedropper" to check the color
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Control mouse and keyboard? Search screen for specific c
Hi Jordy,
1st one is ...set the screenMouseLoc x,y
2nd Is ...type "Hi Jordy"
3rd is ... put the mouseColor
Not sure this is exactly what you were asking for.
Check them out in the dictionary.
Simon
1st one is ...set the screenMouseLoc x,y
2nd Is ...type "Hi Jordy"
3rd is ... put the mouseColor
Not sure this is exactly what you were asking for.
Check them out in the dictionary.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Control mouse and keyboard? Search screen for specific c
some good hints, dictionary says mouseloc can find or set the mouse cursor (which is what I was looking for). Would this limit to the satck or could it access the entire desktop
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Control mouse and keyboard? Search screen for specific c
Be sure... it's screenMouseLoc
To answer your question, the whole screen.
Simon
To answer your question, the whole screen.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Control mouse and keyboard? Search screen for specific c
screenMouseLoc worked great, it will access the entire desktop.
I tried to use the click command to open IE but click wasn't working outside of the stack.
from dictionary on click command:
If the point is not within one of the application's windows, the click command has no effect. This means that you cannot use the click command to switch to another application.
Any suggestions to get around this?
I tried to use the click command to open IE but click wasn't working outside of the stack.
from dictionary on click command:
If the point is not within one of the application's windows, the click command has no effect. This means that you cannot use the click command to switch to another application.
Any suggestions to get around this?
Re: Control mouse and keyboard? Search screen for specific c
http://forums.livecode.com/viewtopic.ph ... 5&p=101118 will help with Windows. You may be able to do something similar for other platforms
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Control mouse and keyboard? Search screen for specific c
Hi.
Usually, we use the "launch" command to do what you asked for. In that way, the location of the application window is not important. Dictionary, please...
Craig Newman
Usually, we use the "launch" command to do what you asked for. In that way, the location of the application window is not important. Dictionary, please...
Craig Newman