sazakiman Posted March 11, 2019 Posted March 11, 2019 I try to create script for auto install GOM. but Send("{ENTER}") not working any suggestion for auto install program
careca Posted March 11, 2019 Posted March 11, 2019 Is the window on focus? Try using winwait instead of winwaitactive then use winactivate after winwait, then send. 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
sazakiman Posted March 11, 2019 Author Posted March 11, 2019 5 minutes ago, careca said: Is the window on focus? Try using winwait instead of winwaitactive then use winactivate after winwait, then send. @careca i edited but not working. 😂
Nine Posted March 11, 2019 Posted March 11, 2019 Have you tried looking at the controls with au3info ? Tried sending "{TAB}" to see if focus change buttons. Tried MouseClick ? If nothing works look at UIAutomation in FAQ. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Skeletor Posted March 11, 2019 Posted March 11, 2019 Sometimes I use Send("{TAB}")... then WinActivate... Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI
FrancescoDiMuro Posted March 11, 2019 Posted March 11, 2019 @careca The window has clearely no focus, as you can see from the attached image.@sazakiman Seems that GOM has a silent install feature. Why don't you use that? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
careca Posted March 11, 2019 Posted March 11, 2019 2 hours ago, sazakiman said: @careca i edited but not working. 😂 What would be the value for the OK button taken from au3info tool? 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
sazakiman Posted March 12, 2019 Author Posted March 12, 2019 thank you for suggestion. now I'll learn more about this software. 😀
TheSaint Posted March 12, 2019 Posted March 12, 2019 Could be as simple as a timing/delay issue, and or what else you have running or are doing. So I would still use WinWaitActive, but after WinActivate. I would also follow that with an IF statement like so - If WinActive("Installer Language", "") Then Send("{ENTER}") Else MsgBox(0, "Result", "Not active.") EndIf At least while testing, as that might help narrow things down. However, as indicated, it may be that the dialog resists interaction by AutoIt, without more advanced UIAutomation. In which case that Silent Install may be your best option ... probably the best method anyway. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
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