Yeah, the bridgetalk chapter in JS tools guide is confusing. Moreover, it contains many typos so many examples doesn't work. I recommend you to download Bridge SDK:
http://download.macromedia.com…..in_001.zip (Windows)
http://download.macromedia.com…..ac_001.dmg (Mac)
It contains several working examples of sending bridgetalk from Bridge to InDesign, Photoshop, etc (the same approach works for all applications). They are quite simple and well commented so this is a good starting point for you.
Here is another (simple) example: http://kasyan.ho.com.ua/bridge…..bject.html
You can find more examples with detailed explanations on adobe scripting forum.
Here is another example: a simple resize images script: kasyan.ho.com.ua/downloads/simple_resize_script.zip
Kasyan