Waspy Posted January 29, 2006 Share Posted January 29, 2006 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 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 Link to comment Share on other sites More sharing options...
Waspy Posted January 30, 2006 Author Share Posted January 30, 2006 ... is there nobody who can help ? 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 Link to comment Share on other sites More sharing options...
jaenster Posted January 30, 2006 Share Posted January 30, 2006 maby is the progam draw the text not normaly... -jaenster Link to comment Share on other sites More sharing options...
Holger Posted January 30, 2006 Share Posted January 30, 2006 (edited) I also tried here with Office'2003 and Spy++ from MS.Absolutely no idea...Maybe it will be draw directly to the window...Edit: like jaenster said Edited January 30, 2006 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
jaenster Posted January 30, 2006 Share Posted January 30, 2006 You can make a func that read it , with pixelsearch.. -jaenster Link to comment Share on other sites More sharing options...
Waspy Posted January 30, 2006 Author Share Posted January 30, 2006 @jaenster >>You can make a func that read it , with pixelsearch.. ??? and then OCR ? Link to comment Share on other sites More sharing options...
cal Posted January 30, 2006 Share Posted January 30, 2006 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 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. Link to comment Share on other sites More sharing options...
Confuzzled Posted January 31, 2006 Share Posted January 31, 2006 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... Link to comment Share on other sites More sharing options...
jaenster Posted January 31, 2006 Share Posted January 31, 2006 @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 Link to comment Share on other sites More sharing options...
Waspy Posted January 31, 2006 Author Share Posted January 31, 2006 How about COM document properties - is it there?Via COM thats will be a good idea!Unfortunately I'm not familiar very with COM 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 .-) 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