![]() ![]() _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. ![]() Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.īack up and restore Windows user files _3 - Modified array functions that include support for 2D arrays. I hereby grant any person the right to use any code I post, that I am the original author of, on the forums, unless I've specifically stated otherwise in the code or the thread post. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude Give a programmer the correct code and he can do his work for a day. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to. If I posted any code, assume that code was written using the latest release version unless stated otherwise. I am new to scripting and autoit so any and all help would be greatly apprecaiated. Run("T:RPMprinter_driversOtherdymoDymo XP-7-8 8.5DLS8Setup.8.5.0.exe /s") As I mentioned both of these work individually from a command prompt. I have tried runwait and runas I have local admin rights on all pcs including my test box. If do not remark out the first run command it seems to blow by the silent install and never run it and returns this error : Run("rundll32 printui.dll,PrintUIEntry /dd /q /m" "Dell Laser Printer 1720dn" /^ ERROR If I can correct one the rest will be cake. I have several more I need to run or add to the script just like this. I feel the error is in the line I put above however it loads the driver if I run it from a command prompt and also runs the first run command with the silent install. Run("rundll32 printui.dll,PrintUIEntry /ia /q /m "Dell Laser Printer 1720dn" /f "T:RPMprinter_driversDell1720X64driversprintwin_2kxpDKABJ740.inf" /F "T:RPMprinter_driversDell1720X64driversprintwin_2kxpDKABJ740.inf") The first run command works if the second is remarked out but neither run otherwise $osv = $osbit = If $osv = "WIN_7" and $osbit = "X64" Then ConsoleWrite ( "running" & ) Run ( "T:\RPM\printer_drivers\Other\dymo\Dymo XP-7-8 8.5\DLS8Setup.8.5.0.exe /s" ) Run ( "rundll32 printui.dll,PrintUIEntry /ia /q /m "Dell Laser Printer 1720dn " /f "T :\RPM\printer _drivers\Dell\ 1720\X64\drivers\print\win _2kxp\DKABJ740. This should be relatively simple and must just be over looking some little something.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |