Modify

Opened 6 years ago

Closed 5 years ago

#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 J-Paul Mesnage, 5 years ago

Resolution: Rejected
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.