03-13-2022, 03:24 AM
Page 22 of this document gives an example of how Visual C++ could use the methods and properties available to Acrobat DC to go to a page. Would Quick Macros have any access to this? Thanks
Acrobat SDK, question?
|
03-13-2022, 03:24 AM
Page 22 of this document gives an example of how Visual C++ could use the methods and properties available to Acrobat DC to go to a page. Would Quick Macros have any access to this? Thanks
03-13-2022, 05:42 AM
Macro Macro3187
;/exe 1 or Macro Macro3187 ;/exe 1 I have only the free Acrobat DC version. I guess it is why this code does not work. Error "No such interface supported".
03-13-2022, 07:49 AM
Hi, so in my case, using Acrobat DC (Creative Cloud paid version), both pieces of code work perfectly. This is amazing. I have searched hi and low. There is no other way to do this. I thought I would have to create an entire application (which I am interested in doing). However, for now, this is super. Thanks so much!
I see when I use the Acrobat library the dot syntax window opens showing the classes available (ones matching the SDK document). However when I use some of them I get the message "Error (RT) in Macro31: 0x80040154, Class not registered. ?". How could I register the classes when needed? Thanks
All classes that need to register are registered by Acrobat. The error means that _create can't be used with that class or interface.
To get an object of that type, call a function that returns an object of that type. If that function returns IDispatch, try to use that type instead. Example: Quote:All classes that need to register are registered by Acrobat. The error means that _create can't be used with that class or interface.Super helpful. I know this will come up again knowing that will save me that confusion. Thanks
Yes, what you suggested is the right idea. However, something quirky is going on. Not surprising because this whole SDK is quirky. When I use the code as you show.
;/exe 1 ;/exe 1 Thanks
03-14-2022, 04:13 PM
So after more research, it appears that capabilities to receive text and images as data are not allowed by external applications. The only way to accomplish this is by programming and packaging everything into a plugin via a *.dll. Acrobat has to load this when it starts. This makes sense as why some methods work so good and other give "No such interface supported". I plan to create this *.dll or plugin as they call it. Adobe does not do a good job explaining how this SDK works. I do not understand why an SDK for something so defacto is so vague (one example, no explanations for anything). I plan to let them know it needs to be better, whether they do something, well...
However, Quick Macros is amazing. What it helps the Acrobat SDK do is super. I work with the Acrobat Embed API and was trying to mimic that functionality. I need Acrobat to record pages, go to pages, and find data. The use of these features is so that databases can find data in PDFs and not have to search for data repeatedly. Some of the plugins sold that do this cost over $1000. Quick Macros allows for superior functionality over these expensive plugins. The Acrobat Embed API does not work on an airplane (it is cloud only) this does. |
« Next Oldest | Next Newest »
|