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
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?
SendKeys "%{TAB}", True ' ALT TAB to switch windows
vkWait ' pause a short while
SendKeys "%F", True ' ALT F
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?