Sorry, I'm not following the intended logic.
What is the 'CALL EnumKeys' line about? CALL is for calling external script files.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.