Hi all,

now i want to implement some keyboard handling functions to my scripts [annoying me] . So after searching my msdn libraries for several hours i found some 'IOleControl'
classes
..... but this doesn't create me a KIX- Keyboard handle....
I thought of something like that :

code:

?"Hit 'ESC' at any time to cancel"

IF OLECREATEOBJECT ("IOleControl")= 0
AT(nn,nn)"Keyboard handle failed, please contact Author"
ELSE ;do your job, script
ENDIF
DO
;....
;....paste your code here
;....
UNTIL
OLEGETOBJECT(1,"ESC","IOleControl") = 1


Has anybody already worked with it ???
knows the right syntax for that OLE thingy???
OR has anybody wrote it before with pure KIX-functionality???

Thanks for Your help in advance

Jochen

_________________________