I'm having trouble with the JS API - can someone show me a simple example for exporting
a selection, document or page?
Is there a decent way to upload files to the web using a plugin? i'm not a cocoa developer,
and it's difficult to perform even the simple stuff that we have in js.