Using Sendkeys for a game (1 Viewer)

v.khawaja

New member
Local time
Today, 15:18
Joined
Aug 2, 2001
Messages
9
I have a backgammon game (not a Microsoft product) which I am trying to send 'ALT F' to. I use the code below:

SendKeys "%{TAB}", True ' ALT TAB to switch windows:)
vkWait ' pause a short while:)
SendKeys "%F", True ' ALT F:confused:



When I test the above with Microsoft products it works ok but not with the backgammon game. It just sounds a ‘thud’ as if not to recognise the ALT F. Any ideas why the ALT F should not work?
 

Users who are viewing this thread

Top Bottom