Jump to content

photoevents

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by photoevents

  1. Great ! And indeed : "I should read better! 🙂 Christian
  2. Okay, good news. I initially ran my testscript in ISN AutoItStudio which gave me the error message. Then, I tried it from the scite editor and from there it runs without errors. So, it has something to do with ISN. (running in 32bit ?) Also, I found oleview in the windows 10 SDK, thanks for that. It does complain about the viewer not being registered. Thanks again, Christian
  3. Hello 'TheXman', And thank you for your helpful post. I installed the 64bit native version of AutoIt and also choose "ImageMagick-7.0.10-7-Q16-HDRI-x64-static" and ticked the box to register the DLL. After failed testing I registered it manually just to make sure. The vbs testscript works. The autoit script not. I could of course launch a vbscript. Anyways, it is not urgent, I continue to use Imagemagick commandline, but still want to upgrade my script to using 'com' with imagemagick Also, I do not want to revert back to 32bit. I'll check your link for the oleview software. Have a nice day, Christian
  4. As I am looking for an alternative for oleview (not available anymore) I stumbled upon: https://www.nirsoft.net/utils/dll_export_viewer.html Could anyone advice whether this is a safe site ? I think so, but just want to get some additional confirmation. Thanks, Christian (did not solve my intitially stated problem yet 😞 )
  5. Forgive me jumping in with the question where to download oleview for windows10 ? Christian
  6. using vbs it works Set img = CreateObject("ImageMagickObject.MagickImage.1") and after that I can use commandline-alike statements Christian
  7. Okay, I get the error that the dll is not registered. But, i dit tick the box register when installing imagemagick. Will try registering manually. Christian
  8. hello, I am using commandline imagemagick for the moment and that works fine but I would like to use com+ I registered the dll and then tried running: The error I get is ==> Variable must be of type "Object".: What am I doing wrong ? And any tips/links that discuss this would be nice to get. (I did search the forum for answers without avail) Thank you, Christian
  9. Okay, I found the solution by just trying different things to create a pointer to photopaint: $oPPapp = ObjCreate("CorelPhotopaint.application") $oPPapp.OpenDocument($filepath) and now the file opens just fine. In VB it is photopaint.application in VBA it is photopaint.automation.14 Now, I'm back to coding, but if anyone can explain the difference, go ahead Christian
  10. Thanks for the welcome :-) :-) Christian
  11. hello, I have been searching the forums for days now and cannot find a solution to the problem I'm experiencing: The code below under visual basic 8 beneath works (extracts from the code): Public PPapp As New PHOTOPAINT.Application PPapp.OpenDocument(e.FullPath) (WORKS FINE) but in autoit: $oPPapp = ObjCreate("CorelPhotopaint.automation.14") (THIS WORKS AND OPENS PHOTOPAINT) $oPPapp.opendocument($filepath) (this generates an error) the error is: The requested action with this object has failed.: I also tried $oPPapp.opendocument = ($filepath) By the way, as a sidenote or perhaps a clue? this does not work either $oPPapp = ObjCreate("PHOTOPAINT.Application") Perhaps someone can help? Christian
×
×
  • Create New...