[quote=“User_Plant”]1) I use the following code .
Click (Text:“MiniTeam Name:”, TextFont:“Lucida Grande”, TextSize:“11”,Bold :“False”,Italic:“False”,SearchRectangle: (75,35),TextBackgroundColor:(0,0,0),TextColor:(0,0,0))
Used to Click On the Text “MiniTeam Name:” displayed on my screen, but when i ran the script iam getting following error
FAILURE Screen_Error.tiff Invalid Image Image has no searchable pixels.
Can Any one please let me know wht this issue is.[/quote]
I’m sure the Redstone guys have a better idea but I suspect the size of your search rectangle may be the problem. Try opening that up a little.
- also if i wanna click on a text box which is adjacent to my Text Label , Please let me know how to do this , by using Keywords rather than capturing it as an image file.
Add a hotspot property to this property list, and then your click command will click there instead of right on the text:
The Hot Spot is measured from the center of the image. Remeber that passing a Text property list like this to the Click command actually generates an image on the fly so all the things you can do to an image, you can do to text as well.