wpgourley Posted September 11, 2013 Share Posted September 11, 2013 (edited) Hello all, please call me Paul. I'm new to AutoIt but I've coded in other languages; C#, JAVA, and my favorite but lesser known: NeoBook. When learning new application software; I like to find a project to create and then just jump right in. I have a goal in mind for an application that will help me in my work as a help-desk / IT tech at a hospital. In that role; I often have to image multiple desktops / laptops, etc. After imaging is complete, I need to install various software package depending on where they are going to be deployed. My goal in this; my first AutoIt application is to automate the installation of these applications by making use of the AutoIt record tool. I want to build a kind of wrapper GUI interface that will go to a specific folder and look at previously recorded sessions stored there. The interface will populate a multi-selectable list from the content of that folder and allow the user to select one or more application install sessions from that list. After a "go" button is clicked; the application will then manage the serial running of each script and wait for that script to finish before moving on to the next; appropriate error trapping included. The reason I want to use the recorder tool instead of coding the install; is so that the application can be used by other techs who can use the record tool, but are not coders. They should be able to use the recorder tool to record a new session and place that session in the folder. The application will then be able to re-create that install from then on. My question here is; Is this a feasible and obtainable goal using the AutoIt and SciTE tools? I'm not asking for someone to code this for me. Learning AutoIt is my primary goal here. But, I would like to know if there is some aspect of AutoIt that might prevent me from completing my application. Alternately; I would welcome any advice / tips that anyone would like to give me. Thanks in advance for your help; Paul Edited September 11, 2013 by Melba23 URL removed Link to comment Share on other sites More sharing options...
careca Posted September 11, 2013 Share Posted September 11, 2013 Hi Paul, yes, i think everyone is able to "record", and after it has been recorded one time, you save that script, compile it, and from then on, you only execute the exe. Scripting is not that difficult for installs, you can pass arguments, like silent switches and stuff, and you can do the install without moving the mouse 95% os cases. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 11, 2013 Moderators Share Posted September 11, 2013 wpgourley,Welcome to the AutoIt forums. But please note that we do not accept adverts for payware - I have deleted the link above. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
wpgourley Posted September 11, 2013 Author Share Posted September 11, 2013 wpgourley, Welcome to the AutoIt forums. But please note that we do not accept adverts for payware - I have deleted the link above. M23 Moderator; I appreciate your need to keep to established policy; however that link was to a site which offers both a freeware and a payware version of it's rapid application development suite. I defer to your wisdom on the issue. Link to comment Share on other sites More sharing options...
corgano Posted September 11, 2013 Share Posted September 11, 2013 There is already a tool like this included with AutoIt called Au3Recorder. I'm not sure if this is written in autoit itself or not, but maybe it can give you some ideas. If it IS written in autoit, you might be able to find the code somewhere and instead of writing a new one just improve it If you do write a completely new one, instead of simple recording clicks and playing them back, maybe you could have it recorded clicks and find out what is actually being clicked, and then convert that into controlclick()s. Using the Controlclick / Controlsend commands is more robust than using mouse click and send because you can specify to what they go, not just to where 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
wpgourley Posted September 12, 2013 Author Share Posted September 12, 2013 There is already a tool like this included with AutoIt called Au3Recorder. I'm not sure if this is written in autoit itself or not, but maybe it can give you some ideas. If it IS written in autoit, you might be able to find the code somewhere and instead of writing a new one just improve it If you do write a completely new one, instead of simple recording clicks and playing them back, maybe you could have it recorded clicks and find out what is actually being clicked, and then convert that into controlclick()s. Using the Controlclick / Controlsend commands is more robust than using mouse click and send because you can specify to what they go, not just to where Thank you for taking the time to respond: the Au3Recorder tool is what I'm referring to when I propose to use a recorder to capture the install sessions. I understand that using the Controlclick and Controlsend commands to hard code a session would be more robust and presumably; less likely to introduce errors. One of the reasons I am looking at using the recorder tool and saving that tools' output to be played back is that I work with some other very capable techs; but most of them do not code as I do. Thus, while they are certainly capable of using the Au3Recorder tool and then compiling that into an executable. I don't want them to have to edit or write new code in order to add a new install capability to the list. While I'm creating this small tool, I will keep in mind your suggestions. Thanks again. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 13, 2013 Moderators Share Posted September 13, 2013 wpgourley, however that link was to a site which offers both a freeware and a payware version of it's rapid application development suiteAll I can see is a payware with a free trial - that is just payware. I defer to your wisdom on the issueThanks. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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