Page 1 of 1 1
Topic Options
#114467 - 2004-02-20 12:27 PM printer question
Bertje Offline
Fresh Scripter

Registered: 2003-09-08
Posts: 39
Loc: The Netherlands
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

Top
#114468 - 2004-02-20 02:25 PM Re: printer question
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Here you go.. I just remember the search phrase - sendkeys rule.

Add Printer on 9x clients!

You will find that most us here do not use 9x.

HTH,

Kent


_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#114469 - 2004-02-22 09:03 PM Re: printer question
Bertje Offline
Fresh Scripter

Registered: 2003-09-08
Posts: 39
Loc: The Netherlands
yeah I know, 9x isn't my first choise, but hell you can't make a primay school buy 30 XP licenies
_________________________
Greetz, Bertje

Top
#114470 - 2004-02-22 09:26 PM Re: printer question
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
XP?
let me say...
win95 is better than 10 XP licenses!
and one win98 beats 4 XP's
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.035 seconds in which 0.014 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org