Zeusking Posted January 6, 2017 Share Posted January 6, 2017 Hello guys, can autoit do clicks only in the background window? Ex: When activate the macro just click on the minimized window, causing me can to use the PC normally when the script rolls Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 6, 2017 Moderators Share Posted January 6, 2017 Yes, look at the Control* commands in the help file (ControlClick, ControlSend, etc.). These will allow you to interact with a minimized or hidden window. As for "using PC normally" while your script runs, it really depends on exactly what you are doing. If you could give us an idea of what you're trying to accomplish we will do our best to assist. "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...
Zeusking Posted January 6, 2017 Author Share Posted January 6, 2017 (edited) @JLogan3o13 I need a script to click when a message appear, but you only can see the message if you have the window openned, and i need the PC free to use. Edited January 6, 2017 by Zeusking Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 6, 2017 Moderators Share Posted January 6, 2017 Again, "a message" is pretty broad, is this a pop up message in a desktop app, a message on a web page, etc.? The more detail you provide the better we can assist. If it is a pop up message on a desktop app, use the AutoIt Window Info Tool (in the same directory where you installed AutoIt) to get the information about the window, then use either WinClose or ControlClick to close it. "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...
Zeusking Posted January 6, 2017 Author Share Posted January 6, 2017 Just now, JLogan3o13 said: Again, "a message" is pretty broad, is this a pop up message in a desktop app, a message on a web page, etc.? The more detail you provide the better we can assist. If it is a pop up message on a desktop app, use the AutoIt Window Info Tool (in the same directory where you installed AutoIt) to get the information about the window, then use either WinClose or ControlClick to close it. Yes is it, i already made the script to click on it, its working well, but now i need to run it in background, this is my script Quote #include <ImageSearch2015.au3> $x1=0 $y1=0 $picture = "Sim.bmp" Do $result = _ImageSearch($picture,1,$x1,y1,0,0) Until $result = 1; if $result=1 Then MouseClick("left", $x1, $y1,1,1) Else MsgBox(0,"MSG","End") EndIf Link to comment Share on other sites More sharing options...
careca Posted January 6, 2017 Share Posted January 6, 2017 You basically quoted the message, but didn't really reply to any of the points made. I think imagesearch only works with visible stuff. WinExists with winclose as was already suggested could work. 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...
Bert Posted January 7, 2017 Share Posted January 7, 2017 what is the name of the application you are working with? The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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