Thread View: adobe.acrobat.sdk
2 messages
2 total messages
Started by Jon_Pyne
Tue, 31 Mar 2009 07:29
Add a watermark, the hard way
Author: Jon_Pyne
Date: Tue, 31 Mar 2009 07:29
Date: Tue, 31 Mar 2009 07:29
16 lines
1224 bytes
1224 bytes
Hi.
I've been drooling over the Acrobat 7.0 SDK documentation. It talks about an addWatermarkFromFile() function in JavaScript. You lucky, lucky, lucky people.
I have Acrobat 6.0 (Pro). Ugh. You can add a watermark in the application, but there is no addWatermarkFromFile(). I had thought of using MenuItemExecute to work the menus...
acrApp.MenuItemExecute "COMP:AddBack"
SendKeys "%b"
SendKeys MY_PATH & "MY_FILE.pdf"
SendKeys "{ENTER}"
However, the crafty dialog seems to be modal, ie the code halts at MenuItemExecute and waits for me to dismiss it before executing the SendKeys commands.
Is there a way round this?
Jon
MS Office 2003
MS Windows XP Pro SP2
Adobe Acrobat 6.0 Pro
Re: Add a watermark, the hard way
Author: Bernd Alheit
Date: Tue, 31 Mar 2009 08:06
Date: Tue, 31 Mar 2009 08:06
8 lines
643 bytes
643 bytes
Is there a way round this?
Upgrade to Acrobat 9.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads