Hi everybody,I couldn't get this working under Kix, but I'd thought to share it with you anyways.
It's not that it's not possible with kix but it's beyond my grasp. Maybe someone else (Shawn, CJ, Bryce?) could find the time to convert it to kix code.
code:
'Change Word2K User SettingsSet ObjWSH = WScript.CreateObject("WScript.Network")
Set WrdApp = WScript.CreateObject("Word.Application")
Tuser=objWSH.Username
Set User = GetObject("WinNT://this.domain.nl/" &Tuser)
Fname=User.fullname
WrdApp.UserName = Fname
WrdApp.UserInitials = Tuser
WrdApp.UserAddress = "123 Main Street" & Chr(13) & Chr(10) & "12341234 CA " & Chr(13) & Chr(10) & "CHIGAGO"
wrdapp.quit
------------------
Greetz,
Roger the Young
------------------------
The code is out there...
------------------------
[This message has been edited by DrillSergeant (edited 22 May 2001).]