charly99 Posted September 13, 2021 Share Posted September 13, 2021 Hi everyone, I'm new to this, I have a couple of questions: When I automate the apps and interrupt the installation (by clicking on the desktop) the installation stops. Is that normal? My other problem is to finish an app, for example I was creating an automation with apmstudio trial, but when I get to the end I can't give it or it doesn't finish the box and it stays. Could you help me understand that part. ......................................................................................... WinWaitActive("AutoPlay Media Studio 8 Trial Setup") WinActivate("AutoPlay Media Studio 8 Trial Setup") Send("{ENTER}") ; paso 13 WinWaitActive("AutoPlay Media Studio 8 Trial Setup") WinActivate("AutoPlay Media Studio 8 Trial Setup") Send("{ENTER}") ; paso 14 WinWaitActive("AutoPlay Media Studio 8 Trial Setup") WinActivate("AutoPlay Media Studio 8 Trial Setup", "") ; " " there is no text to place Send("{Enter}") ; no finish Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 13, 2021 Moderators Share Posted September 13, 2021 Moved to the appropriate forum. Moderation Team 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...
spudw2k Posted September 14, 2021 Share Posted September 14, 2021 (edited) 16 hours ago, charly99 said: When I automate the apps and interrupt the installation (by clicking on the desktop) the installation stops. Is that normal? I guess it depends on what you mean by normal. Yes, I would expect it to be interrupted if you are relying on Send() and/or MouseClick() functions. Check out the ControlSend() and ControlClick() functions instead if you are hoping to automate something, and continue using the computer while the script runs. You may also look into whether or not the installer supports a silent install. That is arguably the best way to perform an install and have it run in the background, if the installer supports it. 16 hours ago, charly99 said: My other problem is to finish an app Looking at the example you posted, it looks like the logic may not be accomplishing what you think it should, they way you think it should. WinWaitActive pauses until the window becomes active. If it never becomes active (by user intervention or own its own), the script will not continue. Perhaps WinWait is what you need instead? Edited September 14, 2021 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
charly99 Posted September 15, 2021 Author Share Posted September 15, 2021 spudw2k-Thank you very much for your first answer, is what I wanted to know, I will start to study those 2. Regarding the problem of the finish button, I solved it. (sorry for my bad English). 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