Modify

Opened 4 years ago

Closed 4 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 Changed 4 years ago by Jpm

  • Resolution set to Rejected
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.