Jump to content

Recommended Posts

i made a registry file from all printers in the company, and i have all drivers installed and know thje place for it.

autoit must chose if it is win2k or winxp if XP run winxp.reg if win2k win2k.reg second it must replace the d-gx260-xp frase with computername must move the map spool 2 C:\WINNT(Win2k) or WINDOWS(WINXP)\system32\

thats it, i hope you guys can help me

Edited by infernothebest
Link to post
Share on other sites

i made a registry file from all printers in the company, and i have all drivers installed and know thje place for it.

autoit must chose if it is win2k or winxp if XP run winxp.reg if win2k win2k.reg second it must replace the d-gx260-xp frase with computername must move the map spool 2 C:\WINNT(Win2k) or WINDOWS(WINXP)\system32\

thats it, i hope you guys can help me

Most of that can be found in the help file.

Give it a try and post back when you get stuch showing what you have tried.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to post
Share on other sites

I didnt came ferther

FileWrite("C:\1.txt", @OSVersion)
Run("C:\1.txt")
WinWaitActive("1.txt")

If ControlGetText ( "", "win2k")Then

FileOpen("win2k.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

Else

FileOpen("winxp.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

EndIf
Edited by infernothebest
Link to post
Share on other sites

I didnt came ferther

FileWrite("C:\1.txt", @OSVersion)
Run("C:\1.txt")
WinWaitActive("1.txt")

If ControlGetText ( "", "win2k")Then

FileOpen("win2k.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

Else

FileOpen("winxp.reg")
ControlSetText ("", "d-gx260-xp", "", @ComputerName)

EndIf
Try something like...

$OS = OSVersion

If $OS = "WIN_2000" then Run ("Regedit.exe /s W2kRegFile.reg", @ScriptDir)

etc

Edited by ChrisL
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...