JonnyBr Posted January 19, 2018 Share Posted January 19, 2018 Hi all, I am just trying to open a software (a small window titled "Welcome") and click in a button or send a "Shift+r", but this is not working.. I've send ControlSend("+r") in Notepad, and this is working, but not working in the "Welcome window".. I tried ControlSend and ControlClick and nothing is working.. I've attached the code here.. Sorry, I'm new in programming.. What am I doing wrong ? Am I forget something ? Thanks, Link to comment Share on other sites More sharing options...
careca Posted January 19, 2018 Share Posted January 19, 2018 For the run button, why not this? WinActivate('Welcome') ControlClick('Welcome', '', 1) Earthshine 1 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...
Earthshine Posted January 19, 2018 Share Posted January 19, 2018 is this like a brute force approach? My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 19, 2018 Moderators Share Posted January 19, 2018 4 minutes ago, Earthshine said: is this like a brute force approach? How is this helpful to a person who begins by admitting he is new to scripting? How about providing alternatives for the OP, or simply letting others do so if you are not of a mind to help. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Earthshine Posted January 19, 2018 Share Posted January 19, 2018 (edited) ok, so how about just waiting until the form is active and sending an CTRL-r. Either CTRL or ALT, one or the other that activates it. can;t check right now WaitWinActive("Welcome") Send("^r") Edited January 20, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
guestscripter Posted January 20, 2018 Share Posted January 20, 2018 ImageSearch15.au3 featuring _ImageSearchStartup() and _ImageSearchShutdown() Link to comment Share on other sites More sharing options...
JonnyBr Posted January 21, 2018 Author Share Posted January 21, 2018 No, its not a brutal force approach. Ive just writted all this code to show you that no alternative worked.. I really thought that ControlClick or ControlSend should works, but its not.. Thats why I came to the forum asked if I am forgetting something.. Take a look below again... Link to comment Share on other sites More sharing options...
JonnyBr Posted January 21, 2018 Author Share Posted January 21, 2018 Ah, WinActivate ("Welcome") is working. But nothing can click on "Run" button yet.. =/ Link to comment Share on other sites More sharing options...
careca Posted January 21, 2018 Share Posted January 21, 2018 Huh, i have that program, and the code i posted was tested, and it worked here. 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...
careca Posted January 21, 2018 Share Posted January 21, 2018 I can't figure out why it wouldn't work there. Any antivirus that may be blocking the script? Really weird 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...
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