The only RoseScript operation I find related to the Rose Error Log is
Application.WriteErrorLog.
However, the following may work depending on how you are using it:
'Script to clear the error log window in Rose
'This script clears the error log if the "File" menu has a "ClearLog" option
when the script is run
'If there is no "ClearLog" option in the "File" menu, the script appears to
simply continue
' (without the TRUE parameter, which defaults to FALSE, the script opens
the "File" menu)
'If the script is run from the script editor -- this does not work
' because there is no "ClearLog" option in the "File" menu in this context
'If the script is run from a Rose menu, this should work
Sub Main
SendKeys "%fc",TRUE '%f == Alt+F -- shortcut keys for "File"
in the menubar
'c == c -- shortcut key
for "ClearLog" in the "File" menu
'TRUE -- wait for keys to
be completely processed before proceeding
End Sub
> -----Original Message-----
> From: Peter Hazlehurst [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 08, 2002 8:09 AM
> To: ROSE_FORUM
> Subject: Clearing the Log in RoseScript
>
> Is there an Api to clear the log window in RoseScript?
>
> Thx
>
> P
>
> ________________________
> Peter Hazlehurst
> Chief Technology Officer
> Mercari Technologies
>
> http: <www.mercaritech.com>
> w: 703.294.6727 x367
> c: 703.597.1750
> f: 703.294.6516
> efax: 801.457.9458 (PrivateLine)
>
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* 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
*************************************************************************