Hi all,

I'm working on a login script and I need to add a printer(s), to win98 client(s). I first want to use "addprinterconnection" but that is NT only

So I wrote my own lil script
Code:
   Run("c:\windows\command.exe /C" + "start \\10.10.0.6\hpdesk")

Sleep 1
SetFocus("Printers")
$ReturnCode = SendKeys("{ENTER}")



But now you will get that anying add printer wizard. is there a way to solf this, of to suprase the wizzard.
I tryed sendkey's and that is working. But if the user see,
the wizzard that start to do things with anyone pressing the keyboard. Then they will totaly freak out

I hope someone can help me


Edited by Bertje (2004-02-20 01:27 PM)
_________________________
Greetz, Bertje