Modify ↓
#3763 closed Feature Request (Rejected)
Send() Optimisation
| Reported by: | TommyDDR | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | send sendinput optimisation | Cc: |
Description
When SendKeyDelay and SendKeyDownDelay opt are both equals to 0, call SendInput only one time with INPUT struct array instead of multiple call for a faster processing.
It will prevent for calling :
GetAsyncKeyState for VK_LSHIFT, VK_RSHIFT, VK_CONTROL, VK_MENU, VK_LWIN
GetKeyState for VK_LSHIFT, VK_RSHIFT, VK_CONTROL, VK_MENU, VK_LWIN
for each key and reduce call numbers to SendInput
Opt("SendKeyDelay", 0)
Opt("SendKeyDownDelay", 0)
Send("abcdefghijklmnopqrstuvwxyz")
Attachments (0)
Change History (1)
comment:1 by , on Sep 5, 2020 at 10:12:50 AM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Hi,
it was very difficult to have it working in all cases,
so we will not optimize in cas of regression
Sorry