SRL Archive - Help and Support

How to send F-Keys?


Secet

2007-06-30 16:21:15

Read the topic, what are the codes for F1-F12

Like Chr(13) is same as Enter

mastaraymond

2007-06-30 18:07:45

Check the attachment :)
This is not my list, credits to the one who made this!

n3ss3s

2007-07-04 10:32:13

That file kinda kicks ass.

Abyssal

2007-07-05 22:42:14

This can help too, not f keys though.


var i: Integer;
begin
for i:= 0 to 255 do
writeln(chr(i) + ' ' + inttostr(i));
end.

Wanted

2007-07-05 23:27:03

begin
SendKeysVB('{F1}', True);
end.

const
ID = 'F'; //What you want to find the Chr value for.

var
I: Integer;

begin
while (ID <> Chr(I)) do
I := I + 1;
WriteLn(ID + ' = ' + IntToStr(I));
end.

The Un-Named

2007-07-06 09:03:57

From: Icefire908
const
ID = 'F'; //What you want to find the Chr value for.

var
I: Integer;

begin
while (ID <> Chr(I)) do
I := I + 1;
WriteLn(ID + ' = ' + IntToStr(I));
end.



begin
Writeln(IntToStr(GetKeyCode('f')));
end.

I win.

Wanted

2007-07-06 23:04:57

From: The Un-Named

begin
Writeln(IntToStr(GetKeyCode('f')));
end.

I win.


const
ID = 'F'; //What you want to find the Chr value for.

var
I: Integer;

function ChrV: string;
begin
while (ID <> Chr(I)) do
I := I + 1;
Result := IntToStr(I);
end;

begin
GetApplication.MessageBox(ID + ' = ' + 'Chr(' + ChrV + ')', 'Result.', 0);
end.

Owned?

The Un-Named

2007-07-15 03:33:49

From: Icefire908
const
ID = 'F'; //What you want to find the Chr value for.

var
I: Integer;

function ChrV: string;
begin
while (ID <> Chr(I)) do
I := I + 1;
Result := IntToStr(I);
end;

begin
GetApplication.MessageBox(ID + ' = ' + 'Chr(' + ChrV + ')', 'Result.', 0);
end.

Owned?


Waste of time bothering in my opinion. ;)