Jump to content

I don't know how to do delay beetwen click without sleep


Recommended Posts

Welcome to AutoIt and the forum!

I would use the following approach:

  • Professional programs provide a silent installation option. So there is no need to automate the application's GUI.
  • On the forum you will find ready-made tools to select and install programs (Example: Vollatran). You can easily add new software without the need to modify your autoit script

 

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-06-05 - Version 1.5.4.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2021-06-14 - Version 1.6.5.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Link to post
Share on other sites
13 minutes ago, Winstonekk said:

i don't really know how to do delay between click without sleep, because my boss say thats every PC is not the same, and i don't know how to do it.

The Sleep command is independent of the performance of the respective PC. Sleep(1000) has a duration of 1000 ms (1 sec ) on any PC. I therefore do not understand what argues against the use of Sleep in general.

Recommendation :
It would be beneficial if you could write function names, variable names and comments in English language. This makes it easier for potential helpers to follow your source code. Text output in message boxes or in a GUI can be written in your local language of course :).

Apart from that, I consider it just like @water .

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to post
Share on other sites

What you need is the silent switches for these programs, and then you do runwait on them.

Alternatively, what you could do is the WinWaitClose for the window in question.

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 post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...