infernothebest Posted December 15, 2005 Share Posted December 15, 2005 (edited) 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 December 15, 2005 by infernothebest Apple Keybord shortcuts for XP Link to comment Share on other sites More sharing options...
BigDod Posted December 15, 2005 Share Posted December 15, 2005 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 meMost 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 comment Share on other sites More sharing options...
infernothebest Posted December 15, 2005 Author Share Posted December 15, 2005 (edited) 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 December 15, 2005 by infernothebest Apple Keybord shortcuts for XP Link to comment Share on other sites More sharing options...
ChrisL Posted December 15, 2005 Share Posted December 15, 2005 (edited) 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 December 15, 2005 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
savvyuser Posted December 16, 2005 Share Posted December 16, 2005 Pal, try this site however script found in that site is a vbscript... http://www.microsoft.com/technet/scriptcen...ts/default.mspxI've used some of the script there then I incorporate with autoit. Just try...... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now