If Toast, or any other app, doesn't have an AppleScript command to do something, you can use GUI Scripting to do it instead. This allows you to do anything can you can normally do through the GUI with a script. You can download it from apple.com/applescript.