varelov Posted November 5, 2012 Share Posted November 5, 2012 Hi, I am looking for a way to record a desktop GUI session, turn the recording into a script and repeat the recorded actions when needed. Can AutoIt do it? I am not asking for strict step by step instructions, though wouldn't mind if offered. I am new to AutoIt, just downloaded it, but not new to scripting. Link to comment Share on other sites More sharing options...
careca Posted November 5, 2012 Share Posted November 5, 2012 Hello, welcome to the forum! There is a function in SciTe to record clicks and such, have you downloaded that too? consider it, it's useful. Anyway, maybe you can tell us the application or what you're trying to do, sometimes there are better ways of doing something with autoit. Also, in the help file, you can get familiarized with the code. 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...
water Posted November 5, 2012 Share Posted November 5, 2012 Welcome to AutoIt and the forum! In SciTE open an AutoIt script an press Alt+F6. This will run Au3Recorder. Recording a GUI session only works if the GUI is always at the same screen location and the screen resolution doesn't change. And no user interaction is allowed while the script runs and the session is being replayed. As careca mentioned there are better - and more reliable - ways to automate an application. Check the Controlxx functions. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted November 5, 2012 Developers Share Posted November 5, 2012 In SciTE open an AutoIt script an press Alt+F6. This will run Au3Recorder.Alt+F6 is only available when the full SciTE version is loaded. Xandy 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
varelov Posted November 5, 2012 Author Share Posted November 5, 2012 Thank you guys, glad to be here. I am trying to automate a login to a website, and from there develop further code that would post reports in a text format. This would further I think motivate me to use AutoIt for possible future solutions. To be sincere, I haven't tried linux side of possible solutions to this, but I am open to suggestions. Link to comment Share on other sites More sharing options...
careca Posted November 5, 2012 Share Posted November 5, 2012 Rules say: Do not discuss any of the following: SPAM tools including instant messenger or forum auto-posters. This includes forum or site auto-login methods. 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...
varelov Posted November 5, 2012 Author Share Posted November 5, 2012 The purpose is not to spam, but to post logs online when problems with the system which logs are posted arise. Link to comment Share on other sites More sharing options...
water Posted November 6, 2012 Share Posted November 6, 2012 But the forum rules clearly state: "SPAM tools including instant messenger or forum auto-posters. This includes forum or site auto-login methods." My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 6, 2012 Moderators Share Posted November 6, 2012 varelov,I am trying to automate a login to a websitedevelop further code that would post reportswater is quite right - even though I am sure you have no intent to use the code maliciously, we do not wish to give a free ride to others who might.Thread locked. 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