|
Evangelist Adept
Joined: 10 Oct 2000 Posts: 224 Location: USA
|
Posted: Tue Aug 27, 2002 3:00 am
#log and overwriting |
Got a window with data in it called Who
I have an alias that does:
:Who:#LOG who_list.xml new
I also tried
:Who:#LOG who_list.xml
neither of those will overwrite the current who_list.xml file
Is there anything other then #LOG I could use to overwrite a file that is currently in existence?
Yes, I have read the helpfile on the #log command...it didn't help any :( I was probably reading it wrong though |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Aug 27, 2002 3:24 am |
Hmm maybe it looses the new parameter.
You could always for a cheap hack do:
#FILE 1 who_list.xml
#ERA 1
#CLOSE 1
:Who:#LOG who_list.xml
Ton Diening |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Aug 27, 2002 3:25 pm |
Odd. Works fine for me using:
#LOG test.log new
:tell:#LOG test.xml new
So, the "new" parameter works in either the main window or a child window under version 6.16.
If you are using a beta version, this should be reported on the beta forum as a bug.
One possibility occurs to me, I closed the logs before trying to reopen them, whether I used "new" or not.
LightBulb
Senior Member |
|
|
|
Evangelist Adept
Joined: 10 Oct 2000 Posts: 224 Location: USA
|
Posted: Tue Aug 27, 2002 5:47 pm |
Thanks for both suggestions, its working. On my initial trigger that started the capture, I had it do:
:Who:#LOG who_list.xml new
The on the trigger that ended the capture, I had it do:
#FILE1 who_list.xml
:who:#LOG who_list.xml
#CLOSE who_list.xml
It says invalid syntax on the file thing, which may be, but it works. I appreciate the help from everyone, thanks bunches man.
Evangelist
www.phidar.com |
|
|
|
|
|