mike1305 Posted September 11, 2006 Share Posted September 11, 2006 (edited) I have been working on this script for my company for months and I cut it down and removed all secure info and created a public release. I think it would be really helpful for anyone in an IT setting that has a "checklist" if you will for all of the standard software programs that need to be on each system before it is sent out to users. It is fully customizable and simple to use. It comes with a standard help file in .doc format, but if requested I can put it to .txt format too. Things I use it for: Making sure the dozen programs that are required for every system in the building are installed to the latest release, getting things fine tuned such as shortcuts that people want on the desktop/start menu, access to all the install files spread across the servers, access to the dell support website, quick access to trend micro online virus/spyware scans, access to the logon script and other odds and ends. After you fill all the info according to the help file, it is really easy. Include files that are required are: process.au3 GUIConstants.au3 file.au3 script consists of two seperate scripts due to some issues with GUIs freezing up when they got combined...if fact there are still a few bugs as far as GUI states go but I am unsure how to fix them. any help or changes are greatly appriciated! Things to note include: -Adding domain logon information (check for the noted heading DOMAIN INFO, IF APPLICABLE in the program_scanner.au3 file). this is useful if you have installs seved on a server and the computer you are working on does not have proper credentials to access it. insert a user/pw with full access to everything just to be safe. -adding more "additional tools" to the combo box (found in the "programlist2" function) to fit your needs. -This program only works with Windows 2000 or XP due to some of the functions such as blockinput() not liking Win9X. It also does not run well on Vista, simply becuase of all the security restrictions everywhere. Anyone who has used it knows what I mean, you have to give it 3 or 4 confirmations and user checks before it will even let you copy a file. Please let me know if you have anything you want to add or if there are any bugs. Also, if you find stuff wrong or inefficient in the script, please note all changes here so I can update the ZIP file.public.zip Edited September 11, 2006 by mike1305 Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
mike1305 Posted September 11, 2006 Author Share Posted September 11, 2006 (edited) Screenshot of how I have mine customized for my purposes. As you can see I am using Vista RC1, but the domain / computer name check and the device manager is located in a different place. also, when opening the device manager, a confirm window pops up that autoit cannot handle. Edited September 11, 2006 by mike1305 Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
joshiieeii Posted September 11, 2006 Share Posted September 11, 2006 Looks good! I will have to play with it a bit and let you know how it works out for me. Thank you for posting it! Projects:Vista Gui ImageX Deployment Tool - CompletedActive Directory Helper - CompletedGlobalized Outlook and OWA Signature Project - Completed Link to comment Share on other sites More sharing options...
mike1305 Posted September 11, 2006 Author Share Posted September 11, 2006 Looks good! I will have to play with it a bit and let you know how it works out for me.Thank you for posting it! there are a few GUI bugs but I believe the INI reading writing is pretty fullproof. I hope it helps! Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
mike1305 Posted September 13, 2006 Author Share Posted September 13, 2006 44 downloads, but only one peice of feedback thus far... Please let me know what needs to be improved! Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
extra Posted September 20, 2006 Share Posted September 20, 2006 Hi, First i would like to precise that i dont speak english i am french so dont be horrified by all the mistakes i will by force write cause i try my best to be the more understandable as i can its promise lol Well, mike congratulation for this superb script, i work on a "repair computer center" and my work is to prepare new computers that mean that i generally use my time to do the same things. A nero, an adaware, a spybot and a few others classicals programs that take me so many precious time before sell them to my customers. I knew autoit three months ago and i have produced a program which is ridiculous comparing yours, but which help me to go faster in this crap task. Today i randomly see your script and i must admit that i find it really more smart than mine lol. I have downloaded, and when i launched it, it says missing ie.au3. Anyway, excelent work and please continue ... ur a genius i am certain eX Link to comment Share on other sites More sharing options...
JSThePatriot Posted September 20, 2006 Share Posted September 20, 2006 Hi,First i would like to precise that i dont speak english i am french so dont be horrified by all the mistakes i will by force write cause i try my best to be the more understandable as i can its promise lol Well, mike congratulation for this superb script, i work on a "repair computer center" and my work is to prepare new computers that mean that i generally use my time to do the same things. A nero, an adaware, a spybot and a few others classicals programs that take me so many precious time before sell them to my customers. I knew autoit three months ago and i have produced a program which is ridiculous comparing yours, but which help me to go faster in this crap task.Today i randomly see your script and i must admit that i find it really more smart than mine lol.I have downloaded, and when i launched it, it says missing ie.au3.Anyway, excelent work and please continue ... ur a genius i am certain eXDownload the newest versions of AutoIt, and you will have IE.au3 included in the standard include files.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
extra Posted September 20, 2006 Share Posted September 20, 2006 lol was just reading one of your thousands posts and i got a reply. do u sleep sometimes or maybe a script done it automaticly for u ? lol ty ty Link to comment Share on other sites More sharing options...
JSThePatriot Posted September 20, 2006 Share Posted September 20, 2006 lol was just reading one of your thousands posts and i got a reply.do u sleep sometimes or maybe a script done it automaticly for u ? lol ty tyI just love the AutoIt community so most of my spare moments are on here even if I only have enough time to make one comment JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted September 20, 2006 Share Posted September 20, 2006 @Mike1305 The bugs you are having I would have to say probably have to do with your non-conventional coding methods. You are also using GUIGetMsg() with GUIOnEventMode. This has always given me bugs! You probably need to look into using only one method or the other. (I would recommend GUIOnEventMode) I have recently redone the GUI for a project in the scripts and scraps called Remote Administration Tool using GUIOnEventMode. The template I always use. expandcollapse popup;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;Program Name: Template - OnEventMode ;Description: Template for OnEventMode GUI scripts ;Filename: Template - OnEventMode.au3 ;Used With: ;Created by: Jarvis J Stubblefield (support "at" vortexrevolutions "dot" com) ;Created on: 06/20/2006 ;Modified on: ;Modified by: ;Version: 0.0.1 ;Copyright: Copyright (C) 2006 Vortex Revolutions. All Rights Reserved. ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Declare Variables ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Global $wHeight, $wWidth, $m_HWnd ;Window variables Global $wTitle ;Window variables II ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Preprocessor ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <GUIConstants.au3> Opt("GUIOnEventMode", 1) ;Set GUI to ONEvent Mode. ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** File Installations ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Registry Information ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Command Line Options ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #cs UNCOMMENT FOR COMMANDLINE! If $CmdLine[0] > 0 Then If StringRight($CmdLine[1], 4) = ".ext" Then _SomeFunc($CmdLine[1]) Else _ErrorMsg("Incorret file extension. Please try again.") _TerminateApp() EndIf EndIf #ce ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Define Variables ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $wHeight = 300 $wWidth = 300 $wTitle = "Template - OnEventMode" ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** GUI Creation ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;Main GUI Creation $m_HWnd = GUICreate($wTitle, $wWidth, $wHeight) ;Main Options $m_Options = GUICtrlCreateButton("Options", 5, ($wHeight - 25), 94, 20) ;Main Help $m_Help = GUICtrlCreateButton("Help", 103, ($wHeight - 25), 94, 20) ;Main Exit $m_Exit = GUICtrlCreateButton("Exit", 201, ($wHeight - 25), 94, 20) ;Disable Options and Help until added GUICtrlSetState($m_Options, $GUI_DISABLE) GUICtrlSetState($m_Help, $GUI_DISABLE) ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** GUI Set Events ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ;GUI Events Handled by _GUIEventHandler() GUICtrlSetOnEvent($m_Options, "_GUIEventHandler") GUICtrlSetOnEvent($m_Exit, "_GUIEventHandler") GUICtrlSetOnEvent($m_Help, "_GUIEventHandler") ;System Events Handled by _SysEventHandler() GUISetOnEvent($GUI_EVENT_CLOSE, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_MINIMIZE, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_RESTORE, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_MAXIMIZE, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_PRIMARYDOWN, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_PRIMARYUP, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_SECONDARYDOWN, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_SECONDARYUP, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_MOUSEMOVE, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_RESIZED, "_SysEventHandler", $m_HWnd) GUISetOnEvent($GUI_EVENT_DROPPED, "_SysEventHandler", $m_HWnd) GUISetState(@SW_SHOW, $m_HWnd) ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Main Program Loop ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< While 1 Sleep(100) WEnd ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** GUI Event Functions ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Func _GUIEventHandler() Switch @GUI_CtrlId Case $m_Exit _TerminateApp() Case $m_Options Case $m_Help EndSwitch EndFunc Func _SysEventHandler() Switch @GUI_CtrlId Case $GUI_EVENT_CLOSE GUIDelete($m_HWnd) _TerminateApp() Case $GUI_EVENT_MINIMIZE Case $GUI_EVENT_RESTORE Case $GUI_EVENT_MAXIMIZE Case $GUI_EVENT_PRIMARYDOWN Case $GUI_EVENT_PRIMARYUP Case $GUI_EVENT_SECONDARYDOWN Case $GUI_EVENT_SECONDARYUP Case $GUI_EVENT_MOUSEMOVE Case $GUI_EVENT_RESIZED Case $GUI_EVENT_DROPPED EndSwitch EndFunc ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;---*** Define Functions ***--- ;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Func _ErrorMsg($message) MsgBox(48 + 262144, "Error!", $message) EndFunc Func _TerminateApp() Exit EndFunc That should help you get started. That also helps show in a small way how to code conventionally. You are using functions for everything. It took me a minute to figure out where the start was and what happened from there. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) 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