Sign in to follow this  
Followers 0
Waspy

AU3Info shows me no Visible Window Text for a dialog box :-(

10 posts in this topic

Hello,

I'm new to AutoIt and I want to learn the basics of scripting with it :-)

My first problem is, that I have a specified dialog box in Office 2003, which I want to read via WinGetText.

But AU3Info shows me on this dialog no visible text :lmao:

What I want to do:

I have serveral Word-Documents which are signed with different digital cetificates.

And I want to read the owner of the certificate (and save the results to a file).

Step by Step:

* Open a Word-Document

* Press ALT+F11 for the VB Editor

* choose menu "Options" (in German "Extras") and then click "Digital Certificate" (in German "Digitale Signatur")

It appears a dialog box which show you if the VB-Project is currently signed with a certificate (or not).

My idea is, that I could read the text of this dialog box via WinGetText and then extract the "Name of Certificate".

But unfortunately AU3Info cannot read any visible text .... ;)

Any other idea, how to get the "Name of Certificate" ?

best regards

Waspy

Share this post


Link to post
Share on other sites



... is there nobody who can help ? :lmao:

Once more again:

There is a dialog box, and I want to extract the text via WinGetText.

But unfortunately AU3Info say there is no text or and ControlID or else.

please have a look at:

Open a Word-Document

* Press ALT+F11 for the VB Editor

* choose menu "Options" (in German "Extras") and then click "Digital Certificate" (in German "Digitale Signatur")

This dialog box makes me crazy !

Any idea ;) ???

greetings

waspy

Share this post


Link to post
Share on other sites

maby is the progam draw the text not normaly...


-jaenster

Share this post


Link to post
Share on other sites

You can make a func that read it , with pixelsearch..


-jaenster

Share this post


Link to post
Share on other sites

@jaenster

>>You can make a func that read it , with pixelsearch..

???

and then OCR ? :lmao:

Share this post


Link to post
Share on other sites

Hello,

I'm new to AutoIt and I want to learn the basics of scripting with it :-)

My first problem is, that I have a specified dialog box in Office 2003, which I want to read via WinGetText.

But AU3Info shows me on this dialog no visible text :lmao:

I just ran into something similar.

I upgraded Mpeg Wizard and a mesg popup box that I used to wait for no longer has a title.

I'm thinking that I might check for the absence of the windows behind it. It might work, I havn't messed around with it yet.

There are other ways to access things however using controls and classes. I havent looked at that yet either.

Share this post


Link to post
Share on other sites

I'm not sure, but aren't the certificates stored elsewhere and can be read from that location?

How about COM document properties - is it there?

Just some ideas to check...

Share this post


Link to post
Share on other sites

@the poster

If you make a func that read al pixels on screen you can calulate that chars on screen , Not easy , but to do ..


-jaenster

Share this post


Link to post
Share on other sites

How about COM document properties - is it there?

Via COM thats will be a good idea!

Unfortunately I'm not familiar very with COM :lmao:

Any hint ?

Another good idea is to do it with PixelChecksum.

I think it's not neccesary to "translate" (via OCR or else) the checksum to text.

I could create some PixelChecksum-Snapshots for known text.

best regards

---waspy .-)

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