Sign in to follow this  
Followers 0
raedts

Automating easycleaner

11 posts in this topic

I'm having trouble automating easycleaner.

This is my problem:

When the program is ready cleaning the registry it will show this in the statusbar (see picture)

The text in this bar is random (43 items 10 items etc.)

How do i read out this bar?

Share this post


Link to post
Share on other sites



You can try StatusBarGetText(), but I dont know if that is a standard windows control. Use the AutoIt Window Info Tool to see if that is hidden window text.. or otherwise visible by standard windows controls.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

i couldn't get StatusBarGetText to work because the text is random.

Edited by raedts

Share this post


Link to post
Share on other sites

i couldn't get StatusBarGetText to work because the text is random.

The text being random shouldnt affect that. You would just have to continually check it. Or do you mean that it isnt a standard Windows Control?

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

i couldn't get StatusBarGetText to work because the text is random.

the fact that the text is variable (it's not random, "fgafadskljhfl" is random) actually doesn't matter. you could do a little loop, again assuming that it is a standard control that the window info tool can see.

While 1
If StatusBarGetText("WindowTitle","",2) <> "" Then ExitLoop;went with status bar part 2 because it looks like second segment from screenshot
Sleep(100)
WEnd

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  Clean registry
Class:  TRegistryIkkuna
Size:   X: 256  Y: 68   W: 745  H: 587

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 475  Y: 642
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0x000000   Dec: 0

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 0    Y: 534  W: 737  H: 19
Control ID: 458888
ClassNameNN:    TStatusBar1
Text:       

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


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
Close
Save
Print
Select all
Delete all
Delete
Stop
Find

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

I have the proggie here but I cannot get that text either :lmao: .

Share this post


Link to post
Share on other sites

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  Clean registry
Class:  TRegistryIkkuna
Size:   X: 256  Y: 68   W: 745  H: 587

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 475  Y: 642
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0x000000   Dec: 0

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 0    Y: 534  W: 737  H: 19
Control ID: 458888
ClassNameNN:    TStatusBar1
Text:       

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<
>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
Close
Save
Print
Select all
Delete all
Delete
Stop
Find

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

I have the proggie here but I cannot get that text either :lmao: .

so not a standard status bar then right? PixelChecksum() part of the status bar, so you can check if it changes.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

The thing has a hidden progressbar that is hidden, shows during scan, then hides again. This could be used a notice of scan start to scan end. Anyone got some ideas for a loop or something for the poster :lmao: .

CODE
Press CTRL-ALT-F to pause the display.

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

Title: Clean registry

Class: TRegistryIkkuna

Size: X: 256 Y: 68 W: 745 H: 587

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

Screen: X: 344 Y: 639

Cursor ID: 2

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

RGB: Hex: 0xECE9D8 Dec: 15526360

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

Size: X: 0 Y: 536 W: 150 H: 17

Control ID: 983308

ClassNameNN: TProgressBar1

Text:

(Control is hidden)

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

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

Close

Save

Print

Select all

Delete all

Delete

Stop

Find

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

Share this post


Link to post
Share on other sites

If the status bar has a control ID can you use ControlGetText()?

Untested... Should work.

MsgBox(0, "Testing?", "Status Bar Text: " & ControlGetText("Clean registry", "Stop", 458888))

Let me know..

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

Let me know..

JS

Returns nothing. Note, the controlID changes on re-run so used ClassNameNN instead.

Share this post


Link to post
Share on other sites

Returns nothing. Note, the controlID changes on re-run so used ClassNameNN instead.

Excellent... so the ClassNameNN worked to get the desired text?

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

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