is there a way using code to simulate the user pressing D in another program besides the app?