Hello Peter,

Friday, January 31, 2003, 6:05:20 PM, you wrote:


> on Fri, 31 Jan 2003 16:08:08 +0100GMT (31.01.03, 16:08 +0100GMT here),
> you wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] :

JH>> I am still trying to figure all about the RegExes and the like out. To
JH>> learn, I tried to set up a makro to put the name of the song I am
JH>> listening to after the Bat-version.

JH>> ...

JH>> %IF:"%PUT='C:\Programme\Winamp\NowPlaying.txt'"="":"":"while
JH>> listening to %PUT='C:\Programme\Winamp\NowPlaying.txt'"

> I don't understand what the %IF statement is supposed to do. I'm using
> VTitleSpy along with only one %PUT macro:

> 'Winamp currently playing: %PUT="path\file.txt"'

> In case Winamp isn't playing anything, VTitleSpy allows for a "default"
> entry which I have set to '--silence--'.


Yes, in theory I could tell my program to output nothing if it's not
playing and "playing blahblahblah" when it *is* playing, but in fact I
had just set that thing (putting the songtitle) at all, just to learn
more about the macros and regexes... so I wanted the regex to do the
'if nothing is playing then shut up' function :-)

-- 
Gru�,
 Jurgen                            mailto:[EMAIL PROTECTED]

Using The Bat! v1.62 Christmas Edition on Windows XP 5.1 Build  2600
Service Pack 1 


________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to