Quantcast
Channel: SCN: Message List - Scripting Languages
Viewing all articles
Browse latest Browse all 1708

Re: Need to read the contents of an ID using VBS

$
0
0

Thanks for your reply, and indeed it contained the following text "@09@" for yellow, now the following problem that i have is how to make it work on vbs, if i use the wizard to know the ID where the traffic lights are i have the following ID session.findbyid("wnd[0]/usr/lbl[3,14]").

 

I tried doing the following to know if in reality it is yellow:

 

If session.findbyid("wnd[0]/usr/lbl[3,14]").text = "@09@" Then MsgBox "Yellow"

 

When i run that part of the code i get nothing, so it makes me believe that the coordinates 3, 14 doesnt contain "@09@", is there an easy way to read those ID's in a different way and not in a coordinates.


Viewing all articles
Browse latest Browse all 1708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>