Jump to content
  • Similar Content

    • Jefrey
      By Jefrey
      Hi all!
      I've made this small UDF to emulate multithreading for AutoIt3.
      As we know, AU3 is singlethread and multithreading is only possible through direct ASM. This UDF provides a multithreading emulation through running multiple instances of your script. It also provides an easy way for sending and receiving messages between threads (temporary files are used).
      Example 2:
      Github ZIP
      Fork me on Github
    • david1337
      By david1337
      Hi guys
      I have a script that runs for about 20 seconds.
      If Outlook.exe is not already open, and I open it while the script is running, I want Outlook to wait until the script is done, and then open.
      Is it possible to set an application in some sort of idle state until the script is done? I want to avoid it from just closing Outlook, and open it again.
    • Wicked_Caty
      By Wicked_Caty
      I've written a bot that is loading down  pictures from a website. Basically, it opens the website, saves the picture via context menu, and hits a button for loading the next pic. Unfortunately, the pics and my internet connection aren't always the same and it takes longer to load at times. Right now I've got a sleep(3000) in my code, but it isn't very efficient. I waste time if it loads faster than 3000ms, and the program fails if it takes more than 3000ms. So I wanted to make a function that waits until the picture has loaded, and then saves it. 
      I don't know if that causes any problems with possible functions, but it isn't the tab that's loading. The loading circle doesn't appear. It's something on the website.
      I've adapted to program to chrome, so I'd have to rewrite it partially for the IE functions, so it'd be nice if there was a solution for chrome. --- Thanks!
    • bobbyab9987
      By bobbyab9987
      Hi friends,
      Suppose MyProgram is a tabbed program, meaning that it allows for opening multiple files in the same instance.
      I want to open File1, File2 and File3 in one instance of MyProgram from an AutoIT script. How can I do this?
      I have read the AutoIT Help File about "ShellExecute" and "Run", but I have found nothing helpful.
      Thanks for reading my question. Any answer would be very appreciated.
    • knucklesCZ
      By knucklesCZ
      Hello. I'd like to ask a question about AutoIt basics, as I was deeply thinking about creating a script, I got stuck at some questions such as:

      The Sleep function stops the script completely (it stops everything, if the script repeats an action every 5 seconds and there is a Sleep(1000), will it repeat once per 6 seconds in real time)?
      Can there be multiple loops working simultaneously depending on IFs or Switches? (loops controlling keyboard, deducing things from imagesearch etc.)
      If there can be multiple loops working in one moment (multiple actions), does Sleep stop the whole script or just one of the loops?

      Thanks for responses.