BigDan Posted October 20, 2006 Share Posted October 20, 2006 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.--Dan Link to comment Share on other sites More sharing options...
BigDod Posted October 21, 2006 Share Posted October 21, 2006 (edited) Does this help Opt("WinTitleMatchMode", 2) WinSetState("Internet Explorer", "", @SW_MAXIMIZE ) WinActivate("Internet Explorer", "") Send("{F6}") Send("^{INS}") $add = ClipGet() MsgBox(0,"Address",$add) Edited October 21, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now