From: Cody44
Could anyone help?
There is nobody he who is psychic. You need to show your code if you want any proper help.
Tho, assuming it requires separate inputs to delete each character you have to do something like:
var
clicktime, t:Integer;
begin
clicktime := 3000; //click backspace for 3000ms aka 3sec
t := GetTimeRunning();
while (GetTimeRunning() - t) < clicktime do
begin
KeyDown(VK_BACK);
Sleep(10);
KeyUp(VK_BACK);
end;
end.
Or you could do something like this to specify how many character you wish to delete..
var chars:Integer;
begin
chars := 10; //delete 10 chars
for i:=1 to Chars do
begin
KeyDown(VK_BACK);
Sleep(20);
KeyUp(VK_BACK);
end;
end.