Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   ExecShell "print" "text.txt" --> Flicker? (http://forums.winamp.com/showthread.php?t=205454)

Jnuw 20th January 2005 16:54

ExecShell "print" "text.txt" = Flicker?
 
Hello all.

I'm using this command, ExecShell "print" "text.txt" to print a text file that contains some info the user may want. When this command is executed, the default txt file program (notepad or wordpad) opens just for a moment, prints, then closes.

Is there a way to suppress or open minimized the txt program to avoid the flicker. On slow PCs, the txt program stays open for 1-2 seconds. Thanks.

kichik 20th January 2005 17:54

Try:
code:
ExecShell print text.txt "" SW_HIDE

Jnuw 20th January 2005 18:21

Quote:

Originally posted by kichik
Try:
code:
ExecShell print text.txt "" SW_HIDE

Thanks for the suggestion Kichik, but I’m still having the text window pop up for just a moment while it prints. Tested in XP, 2k, and 98.

Any other thoughts? Thanks!

Jnuw 21st January 2005 19:24

Anyone have another idea? Thanks much.

kichik 21st January 2005 19:33

If you want it to always be completely silent, you have to get a program/plug-in that will print it. There are probably tons of examples around the web of printing text files. It shouldn't too hard to compile a silent one of your own.

Jnuw 21st January 2005 22:29

Good thought, I'll check that out, thanks.


All times are GMT. The time now is 05:03.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.