forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Getting Past DigitalSignature warning page

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
chucks0
Newbie


Joined: 08 Jun 2002
Posts: 23

PostPosted: Thu Jun 13, 2002 2:18 am    Post subject: Getting Past DigitalSignature warning page Reply with quote

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
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Jun 13, 2002 11:15 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message Send e-mail Visit poster's website
nemisis010
Newbie


Joined: 29 May 2002
Posts: 17
Location: Australia

PostPosted: Fri Jun 14, 2002 12:12 pm    Post subject: Sned key options Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group