AutoHotkey Community

It is currently May 24th, 2012, 6:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: February 22nd, 2007, 9:32 pm 
When the script click to a web page button that check if a new page appears if not that continue to click button and check if new page appears.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 9:47 pm 
Offline

Joined: November 12th, 2005, 10:25 pm
Posts: 73
Does the webPage load something if it does "not load" as you say?
If it only loads something (Progress at statusbar control visible) those times you want, it's detectable.
see Wait for Webpage?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 9:51 pm 
Offline

Joined: December 27th, 2006, 8:31 pm
Posts: 88
Location: Louisville Kentucky
Please clarify your question and if possible edit the subject to a more accurate summary of your issue. -thx


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 9:53 pm 
When u click on the button, that open a page, and sometime that open another page. I want that detect that another page.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 10:00 pm 
Offline

Joined: November 12th, 2005, 10:25 pm
Posts: 73
LaZfishEnt. he can't edit it because he was Guest...

Guest, sometimes it opens 1 page, and sometimes it opens 1+1 page, right? in another window? It's possible to detect that another window appeared. Or is the same window behavior but with different content or name?
Do you detect some consistency in the name of the pages? If the "Extra" page have something different but always there in the name, you just have to detect the window with a WinExist("name") inside a loop...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 10:04 pm 
ok...

all this page appears in the same windows, same page.

a= page 1

b= page to skip

c= true page


i got to page a, and start the script to click on button.

page b appears, that continue clicking on button.

page c appears, that detect this is the good page and msgbox me..


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 10:07 pm 
A way for that:

if that check on the url path (where u type http://www...)

and the same url, that continue click on button, and if that found another url (where u type http://www...) that msgbox me


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 10:19 pm 
Offline

Joined: November 12th, 2005, 10:25 pm
Posts: 73
use:
Code:
SetTitleMatchMode, 2
ControlGetText, URL, Edit1, Internet Explorer


URL becomes your current URL of the TopMost IE page.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2007, 12:07 am 
SetTitleMatchMode, 2
ControlGetText, URL, Edit1, Microsoft Internet Explorer
if %url% = http://blablabla.com/blabla
msgbox, done!


how to make that correctly?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2007, 12:11 am 
sorry i got it :)

ty.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Alpha Bravo, Kgalv, Kirtman, kwfine, LazyMan, lblb and 74 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group