Sign in to follow this  
Followers 0
stolie

Pausing a script with text in ClassNamenn

4 posts in this topic

Hi

I would like to be able to pause a scipt until the text "Done" appears in the ClassName as seen below, HOWEVER the word DONE does not actaully appear in the "Control Under Mouse" section. Can this be acheived? Can i have some hints please?

>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 0 Y: 440 W: 612 H: 24

Control ID:

ClassNameNN: SSPanelWndClass2

Text:

Alternatevly, there is a progress bar, is there a way for the script to pause until the progress bar is finished?

Thanks in advance

Share this post


Link to post
Share on other sites



Hi

I would like to be able to pause a scipt until the text "Done" appears in the ClassName as seen below, HOWEVER the word DONE does not actaully appear in the "Control Under Mouse" section. Can this be acheived? Can i have some hints please?

>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size:  X: 0    Y: 440    W: 612    H: 24

Control ID:

ClassNameNN: SSPanelWndClass2

Text: 

Alternatevly, there is a progress bar, is there a way for the script to pause until the progress bar is finished?

Thanks in advance

<{POST_SNAPBACK}>

if progress bar has a title then is easy :) to write
WinWaitActive("progressbar")
WinWaitClose("progressbar")

Share this post


Link to post
Share on other sites

if progress bar has a title then is easy  :)  to write

WinWaitActive("progressbar")
WinWaitClose("progressbar")

<{POST_SNAPBACK}>

Thanks for your help.

Pardon my ignorance, but, what do i exactly do. The text "Progress Bar" Always appear as follows; (internet explorer within web scraper)

==============================================

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Datapage Editor - Web Scraper Plus+

Class: ThunderRT6FormDC

Size: X: -4 Y: -4 W: 808 H: 574

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 649 Y: 551

Cursor ID: 2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xB2B4BF Dec: 11711679

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 618 Y: 443 W: 107 H: 16

Control ID:

ClassNameNN: ProgressBar20WndClass1

Text: Progress Bar

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

Progress Bar

21 Jun 2005&nbsp;

Command2

HiLite >

Enum Frames

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

21 Jun 2005&nbsp;

==============================================

Share this post


Link to post
Share on other sites

If you do not have a specific window for displaying a progress bar,

perhaps the following works

$title="Datapage Editor - Web Scraper Plus+
"
$text="Progress Bar"
WinWaitActive($title, $text)
WinWaitClose($title, $text)

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  
Followers 0