zjckwht
2nd March 2007 02:22 UTC
How to change text above the progress bar?
If I wanna execute a program, using
ExecWait `blah blah...`
When this line is executed, the default text above the progress bar will be "Executing blah blah...", if I wanna the text to display as "Configuring blah..", how to achieve? Thanks.
Comperio
2nd March 2007 05:45 UTC
Here's one way:
SetDetailsPrint textonly
DetailsPrint "Configuring blah.."
ExecWait "blah blah..."
SetDetailsPrint both
## continue your code here...
Simply
2nd March 2007 21:30 UTC
Originally posted by Comperio
Here's one way:
SetDetailsPrint textonly
DetailsPrint "Configuring blah.."
ExecWait "blah blah..."
SetDetailsPrint both
## continue your code here...
i try to do the same thing but it does'n compile error in script: i don't found DetailsPrint in help files
kichik
2nd March 2007 21:51 UTC
DetailPrint, not DetailsPrint. No s.
zjckwht
2nd March 2007 23:33 UTC
Still can't change the default status text, it still displays `Execute: x:\xxx\xxx`, here's my code, something wrong?
outfile test.exe
Section ''
SetDetailsPrint textonly
DetailPrint `Configuring blah..`
execwait `$SYSDIR\NotePad2.exe`
SectionEnd
demiller9
3rd March 2007 00:13 UTC
outfile test.exe
Section ''
SetDetailsPrint textonly ; or both
DetailPrint `Configuring blah..`
SetDetailsPrint none ; or listonly
execwait `$SYSDIR\NotePad2.exe`
SectionEnd
Comperio
3rd March 2007 01:16 UTC
Thanks to Kichik for catching my typo in my original post.
And to dmiller for correcting my original code. (I guess I should have tried myself once first.) :o
zjckwht
3rd March 2007 04:59 UTC
Quote:
Originally posted by demiller9
outfile test.exe
Section '' SetDetailsPrint textonly ; or both DetailPrint `Configuring blah..` SetDetailsPrint none ; or listonly execwait `$SYSDIR\NotePad2.exe` SectionEnd
It works like a charm, that's exactly what i need, many thanks. |