What I'm looking for should be trivial, however I've searched for hours for Create from Scanner Toolbar Button
Anyone know where Javascript to do this simple task lives?
Actually, it doesn't have to be Javascript, I'm just looking for a one-button approach to scanning a document from the scanner and creating a document within Acrobat, many non-Adobe solutions exist.
TIA
app.execMenuItem("Scan");
It's exactly the same as hitting the menu item, and this is as good as it gets. You cannot skip over or automatically fill in the scanner dialog. But if this is the solution you are looking for the read this article on turning menu items into toolbar buttons.
http://www.windjack.com/resources/howto/WJHowTo_MenuButton.php
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script