| View previous topic :: View next topic |
| Author |
Message |
chucks0 Newbie
Joined: 08 Jun 2002 Posts: 23
|
Posted: Thu Jun 13, 2002 2:18 am Post subject: Getting Past DigitalSignature warning page |
|
|
| I am working on a script to assist users with installing Network printers. The script reads an INI file which contains the available printers. The user selects a printer from the list and clicks install. Everything works great except that some printer drivers do not contain a digital signature and the user is presented with the "Digital Signature" warning box. I have tried disabling driver signing in Windows with no luck. I was thinking of using SendKeys to automatically click yes for the user, but since the message doesn't always appear, I was wondering how to go about it. The workstations are Windows 2k SP2 |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Jun 13, 2002 11:15 am Post subject: |
|
|
The only thing I can think of for you to do is find a computer that
gets that warning and write down the title bar text and if you can
get the Class name of the box. Have your program look for the
appearance of that window and if it finds it have it close. You may
be able to do that by taking note of the dialog boxes before and
after the warning, if you get to the dialog that normally happens
after the warning without getting the warning, you can have your
program stop looking. Was that too confusing...I think I confused
myself
Example:
Title of error box = "Digital Signature Warning!"
Title of box after = "Printer Installing"
| Code: |
repeat
If @winexists("Digital Signature Warning!")
Window Send,@Alt(F4)
end
until @winexists("Printer Installing")
|
Something like the above might work. I don't know if the @Alt(F4)
would work, it was just for the above example.
I hope that helps. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
nemisis010 Newbie

Joined: 29 May 2002 Posts: 17 Location: Australia
|
Posted: Fri Jun 14, 2002 12:12 pm Post subject: Sned key options |
|
|
Just a quick note, if you want to use send keys i recommend using Autoit, it has a dll that can be combined with vds and has alot more window title manipulation that vds, so give it a try
www.hiddensoft.com _________________ ------------------------------------
Boo |
|
| Back to top |
|
 |
|