I'm trying to configure my Mac so that I can use my voice to control page turning (e.g. while exercising).

Based on a combination of <http://alvinalexander.com/apple/mac-voice-speech-recognition-software-commands-custom> and [Typing with Applescript](https://stackoverflow.com/questions/7661348/typing-with-applescript) I created a file called `Next Page.scpt` in the directory of speakable items with the contents:

```
tell application "System Events" to tell process "Kindle" to keystroke " "

```

The software is recognizing my "Next Page" voice prompt, as it echo's back that command name, but I'm not getting the effect of typing a space. Nothing is apparently happening and I have no idea how to debug. Prior to issuing this command, I've switched to Kindle itself.

As an aside, the rest of the files in the speakable events directory are XML files and not simple applescript files. I have not tried figuring out and adopting the XML format.