Hello Dan,
The Rose Extensibility Interface (REI) does not have such a method to save the [active] Log file. If you are running a RoseScript (as opposed to using Rose as an Automation server via an external program such as a VB application), then one "alternative" (which may not be a desired workaround) to calling "File > Save Log As" would be by the use of SendKeys method. For example:
'a trick to make sure that "Save Log As" actually appears in the
'File menu, since the active window would be the Script Editor.
RoseApp.CurrentModel.RootCategory.ClassDiagrams.GetAt(1).Activate
SendKeys "%Fe~"
Hope this helps answer your question.
Thank you,
Shaquille Asghari
Senior Support Engineer
Rational Software Corporation
Support: 1-800-433-5444
Sales/Licensing: 1-800-728-1212
Solution Knowledge Base: http://eservice.rational.com/solutions <http://eservice.rational.com/solutions>
SCP Certified: http://www.rational.com/support/scp.jsp <http://www.rational.com/support/scp.jsp>
-----Original Message-----
From: Dan Liu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 7:15 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) REI - SaveLogAs
Hi,
Is there any way to save the error log in a file from REI(Rose)?
There is a such method "theApplication.SaveLogAs" in RRTEI(RoseRT).
Thanks /dan
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* Post or Reply to: [EMAIL PROTECTED]
* 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
*************************************************************************
