Modify

Opened 6 weeks ago

#3763 new Feature Request

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 (0)

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 new 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.