Using a cad/ cam program ESPRIT CAM at work I'm trying to use with autohotkey. I'm new to using objects and I see tutorials with Office programs that start with:
oexcel := ComObjactive("excel.application")
I can't find the "excel.application" part for my program. Seems like most tutorials start with assuming you know this information. I can't find any tutorials on how to go about find this information.
any help would be appreciated, thx
trying to find name for COM Object for this application
Re: trying to find name for COM Object for this application
Are you sure this software has a COM interface ? Well, it's possible, but not guaranteed. Perhaps it some kind of API interface instead, or something similar. Perhaps you need a plugin. Perhaps you first need to register it with your system.
The people who should know are obviously the support people for this CAD/CAM program... who should be able to direct you to relevant documentation of an esisting interface.
The people who should know are obviously the support people for this CAD/CAM program... who should be able to direct you to relevant documentation of an esisting interface.
Re: trying to find name for COM Object for this application
i dont know 100% but it uses vba programming language and there is a record macro option which is pretty much the same as you would find on excel. The edit macro would bring up the libary and such.
Re: trying to find name for COM Object for this application
hmm going to give it a try tomorrow at work. That COM inspector looks interesting. i've figured out using CLSID instead works as well. Will let you know how it goes, thanks
- JoeWinograd
- Posts: 2200
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: trying to find name for COM Object for this application
Hi keokio,
Haven't used it myself, but their Tool Kit seems to be what you want:
https://www.espritcam.com/pl-pl/products/toolkit
Note this comment there (copied here under "Fair Use"):
Haven't used it myself, but their Tool Kit seems to be what you want:
https://www.espritcam.com/pl-pl/products/toolkit
Note this comment there (copied here under "Fair Use"):
I suspect that the Tool Kit contains documentation on their COM API, although that's just a guess...worth a look. Regards, JoeThe ESPRIT Tool Kit is composed of ESPRIT’s Application Programming Interface (API) — based on the Microsoft Component Object Model (COM) — and Microsoft Visual Basic for Applications. The ESPRIT API provides third party access to the vast array of CAD/CAM technology built into ESPRIT, as described in this literature.
Re: trying to find name for COM Object for this application
yah that tool kit is probably what I need, but im guessing they are charging money for it. Thanks for you help though
Re: trying to find name for COM Object for this application
you say you use ESPRIT CAM at work. Do you have access to sample programs written in VBA (Microsoft Visual Basic for Applications) ? They must use this code for connection.
Hubert
Hubert
Re: trying to find name for COM Object for this application
when I load up the macro editor in ESPRIT, there are some macros already saved in there that we actually use for work. Is there a way I can use this information to get a connection with autohotkey?
Re: trying to find name for COM Object for this application
look for a line likeHubert
Code: Select all
??? := Com???("???.application")
Re: trying to find name for COM Object for this application
well i tried looking for one can't seem to find ithd0202 wrote: ↑04 Nov 2019, 01:48look for a line likeHubertCode: Select all
??? := Com???("???.application")
Re: trying to find name for COM Object for this application
Well, do the creators of this software even charge for minimal customer support? I mean, they should be able to answer the question if the COM interface is included with your license or not.
And if yes, how to find it. And if not, which options they can offer.
And if yes, how to find it. And if not, which options they can offer.
Re: trying to find name for COM Object for this application
yes actually I called technical support and they charge separately for support, the software license doesn't have an expiration but the support aspect does so no go there.
Re: trying to find name for COM Object for this application
So you still don't know if there is even a COM interface available for your software, with your current license?
I mean, if COM is an additional/optional feature that you might have to pay for... that company still won't tell you - without charging - that they (or some third party) actually sell it, or that you already have it or that it isn't available anyway ?
That's some genius company there
Perhaps you should ask their sales department instead (or one of their resellers) Show some potential interest in a purchase, but you need to know some product details first... especially if there is a COM interface and how it could be accessed. Without that info, you can't possibly make a purchase.
Edit:
I mean, JoeWinograd found some information about their Tool Kit that seems to have API/COM support - you could explicitly ask about that product and if it is included with certain license types or if you always need to purchase it separately. Also your own IT department should be able to tell you if they have it already and if they have any additional information or docs lying around.
Perhaps, if it is an add-on, it makes sense for your company to purchase it - but then their sales department should provide you with the information you need to make a pitch to your manager...
I mean, if COM is an additional/optional feature that you might have to pay for... that company still won't tell you - without charging - that they (or some third party) actually sell it, or that you already have it or that it isn't available anyway ?
That's some genius company there
Perhaps you should ask their sales department instead (or one of their resellers) Show some potential interest in a purchase, but you need to know some product details first... especially if there is a COM interface and how it could be accessed. Without that info, you can't possibly make a purchase.
Edit:
I mean, JoeWinograd found some information about their Tool Kit that seems to have API/COM support - you could explicitly ask about that product and if it is included with certain license types or if you always need to purchase it separately. Also your own IT department should be able to tell you if they have it already and if they have any additional information or docs lying around.
Perhaps, if it is an add-on, it makes sense for your company to purchase it - but then their sales department should provide you with the information you need to make a pitch to your manager...
Who is online
Users browsing this forum: filipemb and 289 guests