DOpus-Scripting-Extensions project

@errante, @PassThePeas,

Thank you very much for your interest.

I'm guessing it won't work in a portable environment because the DLL needs to be registered first, right?

Yes, it will not work in a portable mode. You have to register the DLL and then unregister it when it is not needed. That is why I had to create an msi installer.

I think it's called Registration-Free COM . I hope that helps.

Thank you for the hint. Unfortunately, I don't see how it can be used for the JScript use case. You need to control the manifest of the main application that consumes the COM object.

Something that would be extremely useful is the ability to directly call functions from a DLL library. For me, that would be like the "holy grail" when it comes to scripting in Opus.

Similar to AutoHotkey DllCall. Unfortunately, JScript doesn't support that.

One of the ideas I had for this project was speeding up my File MIME type column by creating a custom COM class that will use libmagic to determine MIME type and it will be much faster because you need to load the magic file only once when DOpus starts instead of doing it for every file by calling file.exe
MediaInfo is another use case, it is possible to use MediaInfoLib to get the media information, it should be much faster.