Jump to content
Sign in to follow this  

Browser Interaction

Recommended Posts

Hell all!

I have developed a script that automates some features of an online game. What I need to make sure happens is that it only executes the next iteration if we are currently on the proper page.

Only two ways I can think of to do this is:

  • Simulate F4 in IE, copy the text, parse it.
  • Find a way to read the address bar contents.
Using IE only is fine for now. I can do #1, but I think it's a bit sloppy. Can anyone tell me of a way I can do #2?

Thank you.


Share this post

Link to post
Share on other sites

Does this help

Opt("WinTitleMatchMode", 2)
WinSetState("Internet Explorer", "", @SW_MAXIMIZE )
WinActivate("Internet Explorer", "")
$add = ClipGet()
Edited by BigDod

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...