Page 1 of 1
Script to click away from an icon
Posted: Thu Jan 10, 2013 2:54 am
by abanowBUSTfGf
There is obviously no "hover" on a touchscreen eg. of an Android. How do I script to click away from an object.
I tried the script:
Click at "1,1"
but it does not work. Any ideas?
Re: Script to click away from an icon
Posted: Thu Jan 10, 2013 3:56 am
by dunbarx
Hi.
Yes, the "click" command simulates a click at a given point, but does not actually move the cursor to that location.
Check out "the screenMouseLoc" in the dictionary.
You can also hide the cursor, I guess.
Craig Newman
Re: Script to click away from an icon
Posted: Thu Jan 10, 2013 5:12 am
by sturgis
Also, if you're just trying to remove focus from an object you can try