rose.exe will take some arguments but none that directly target any
particular add-in.  If you want to automate the rev. eng. process, there's a
couple of steps involved:

1. Bring up Rose and automatically have it execute scripts with arguments.
This can be done by calling Rose with the following command line
        rose "arg1 arg2 arg3 ..." xyz.ebx
Rose will execute the xyz rosescript and the rosescript can pick up the args
from roseapp.CommandLine.  You'll have to parse this string for the
individual arguments.

2. Execute the Rev. Eng. method associated with the particular add-in.  This
part gets tricky and may not work.  It really depends on the individual
add-in.  If the method call for rev. eng. brings up a GUI, then you'll have
to deal with that dialog in some automated fashion.  If you're fortunate
enough, there may be a method that doesn't involve user interaction.  To get
a hold of the COM object for a particular add-in, you'll have to find the
add-in:
        roseapp.addinmanager.AddIns.FindFirst("AddIn Name")
then find the com object:
        AddIn.EventHandler
and then call the code generation method on that object.  Most have a method
called OnGenerateCode(roseapp) but some will have additional methods.

Again #1 is relatively easy.  #2 will depend on the add-in and what is
exposed for programmatic invokation.

Hope this helps,
John

-----Original Message-----
From: Mike La Budde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 6:36 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) command line arguments?



All:

Will Rose accept command line arguments? I would like to be able to 
automate the reverse engineering process....

Thanks,

- Mike
__________________________________________
Michael H. La Budde     Lisle: 630-799-0652
Delphion, Inc.                  Fax: 630-799-0688
[EMAIL PROTECTED]   Milw: 414-347-7855

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to