Jump to content

Script run in background


Recommended Posts

  • Moderators

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

  • Moderators

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...