seadoggie01 Posted March 19, 2020 Share Posted March 19, 2020 Basic question: Can I create a Java object and expose it to COM to be able to use it in AutoIt? Long version: I've written a Java program that extends the functionality of PDFBox's PDFMergerUtility to add a bookmark at each file that gets added. I compiled it into a jar and it works great from the command line. I was wondering if there was a way to expose a COM object wrapper for the class to basically allow for asynchronous calls... so my AutoIt program can request the PDFMerger to merge 10 documents and continue merging more sets of PDFs and the Java program will continue in the background. Then AutoIt could check to see if all PDFs were merged before closing the object. After this, I was thinking about mimicing the functionality of Acrobat Pro though PDFBox and so on. All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Earthshine Posted March 20, 2020 Share Posted March 20, 2020 Java access bridge seadoggie01 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
seadoggie01 Posted March 20, 2020 Author Share Posted March 20, 2020 Oh... yup, that's exactly what I'm looking for, isn't it? I swear I googled it All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
seadoggie01 Posted March 20, 2020 Author Share Posted March 20, 2020 Now I'm a bit confused... doesn't the Java Access Bridge allow other programs access to GUIs? Is there a way to extend that functionality? All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now