Hello,
I am using IETagEventByAttrib to detect if a web page has been opened. This works if I have the exact URL name.
The web page I am looking for has a version number in the URL, so it may change. Is there a way to detect the URL with a wild card?
Example URL that works: https://www.abcdef.com/1.004/
Is there a way to detect the URL like this? https://www.abcdef/*/
Thanks,
Tom
Detecting Web Page open by Wildcard
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Detecting Web Page open by Wildcard
IETagEventByAttrib and the other functions only need a substring - not a full URL. So you can just use www.abcdef.com/ and it will match the first IE tab open at that domain. If there isn't any IE window open at that domain then you'd get an error, so you could trap that to detect whether or not it's open. But if the reason you are asking you want to detect it is so that you can interact with it, you won't need to do that, just specify abcdef.com and carry on ....
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?