« Return to Thread: Scriptom list of COM methods
Jason Smith
Software Engineer
InfoTrust Group, Inc.
500 Discovery Parkway, Suite 200
Superior, CO 80027
Office 303-627-6571
Fax 303-666-6711
Email
kanselmo@...
This e-mail and all information included herein do not constitute a legal agreement accorded by INFOTRUST GROUP and its affiliates and subsidiaries. All legal agreements must be formulated in writing by a legal representative of INFOTRUST GROUP. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail by mistake, please inform us and destroy this e-mail and any documents it might contain. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation.
----- Original Message -----From: jsmith@...To: user@...Sent: Monday, June 29, 2009 6:47 AMSubject: RE: [groovy-user] Scriptom list of COM methods
Sorry, that's one of the "minor" things that Microsoft left out of COM. As far as I know, there is no way to introspect the objects (unless you know where the type library is, and you have libraries to read and interpret the type library).The best approach is to use a Microsoft tool, like maybe Excel, which has VBA included. Write a mock up of what you are trying to do and then translate to Groovy. The object explorer in VBA is my second favorite, after the one in VB6, which is discontinued. :-)Jason Smith
Software Engineer
InfoTrust Group, Inc.500 Discovery Parkway, Suite 200
Superior, CO 80027
Office 303-627-6571
Fax 303-666-6711
Email kanselmo@...This e-mail and all information included herein do not constitute a legal agreement accorded by INFOTRUST GROUP and its affiliates and subsidiaries. All legal agreements must be formulated in writing by a legal representative of INFOTRUST GROUP. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail by mistake, please inform us and destroy this e-mail and any documents it might contain. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation.
From: Lex Williams [lyon2003@...]
Sent: Sunday, June 28, 2009 11:59 AM
To: user@...
Subject: [groovy-user] Scriptom list of COM methods
Hi!
Is there a way I can see the COM methods of an object created with ActiveXObject? For example, if I use the :
def voice = new ActiveXObject('SAPI.SpVoice')
how can I see the methods I can call on voice? Like speak for example. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
« Return to Thread: Scriptom list of COM methods
| Free embeddable forum powered by Nabble | Forum Help |