|
|
Fri, 11 Jul 2008 16:22:50 -0500, David W. Hodgins
<dwhodgins@xxxxxxxxxxxxxxxxx> wrote:
On Fri, 11 Jul 2008 14:08:27 -0400, Leo H <none@xxxxxxxxx> wrote:
Could you post the script? I have been looking for something like this
inside Opera, but your script would do what I want.
My linux bash script wouldn't work on a windows system. I've put
together
a .bat, that is similar. Save the five lines in a file called
operastart.bat,
edit the properties for the icon that starts opera, to run
operastart.bat.
In the accounts.ini, use the same path as the MAILLOGDIR, and end the log
file names with log.txt.
Regards, Dave Hodgins
@Echo off
Set MAILLOGDIR=C:\Documents and Settings\%USERNAME%\My
Documents\OperaMailLogs
del "%MAILLOGDIR%\*.log.old.txt"
rename "%MAILLOGDIR%\*.log.txt" "*.log.old.txt"
"C:\Program Files\Opera 9\opera.exe"
Thank you for your reply. I tried it, but unfortunately Windows XP does
not like .bat files (it ignores them). I may try the "run under
compatibility" mode for legacy applications, but I wonder whether a java
script would work. I am rather rusty on scripting in any language, but if
this would work with Java it might motivate me to get rid of the rust.
--
Leo H
Version 9.51 Build 10081
Platform Win32 Windows XP Pro
Sun Java Runtime Environment version 1.6
XHTML+Voice Plug-in not loaded
|
|