RE: Re: Gah! Old error pops up. Long email

"Hale, Paul" <Paul.Hale-uv/[email protected]>
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <23DBD872E5D0B44E8296E93447E0F60703E12689@01ohday01n00005.ad.bls.com>
> From: news [mailto:[email protected]] On Behalf Of Brian Wolven
> Sent: Thursday, April 19, 2007 11:40 PM
> To: litestep-HzvBz7w1J3cIFlVeWT/[email protected]
> Subject: [Litestep] Re: Gah! Old error pops up. Long email
> > Maybe I am going about his the wrong way. What exactly does 
> !reload? 
> > What documentation explains the !reload bang?
> 
> !reload reloads all the settings from the rc files. Anything 
> you've modified dynamically (e.g., taskbar or tray sizes) 
> gets lost, unless you've written it out to a file and then 
> include it - with the new values. The xlabel and xpopup docs 
> have some info on this, particularly in the sections on bang commands.

I just had a breakthrough. I was testing some different configs and they
were all working. I couldn't understand it since I know I had tried some
of them before. I started this after a fresh boot, thinking maybe that
had something to do with it. So I went back to the config I posted here
and it worked! WTF?!

If I added and icon to the tray, it works, if I toggled hidden icons, it
works. I couldn't understand it. Then I opened winamp to start working
and listen to music. That's when it fell to crap again.

When I open winamp, literunner resizes and redefines xtaskbar's X
coordinate to make room for the controls. If I hide the music controls,
then update weather with winamp open and resize the xtray, it still
works. So now my problem is this. How do I make sure the xtaskbarx
definition stay?

Turns out all I had to do was change the script like this:

;==================
;Weather Related
;==================
*Script bang !UpdateWeather 
  *Script exec !WazupCheck Weather
  *Script exec !Reload
  *Script exec !netReloadModule $ColorModule$
  *Script exec !MusicHide
  *Script exec !MusicShow
  *Script exec !LabelRefresh WeatherLabel_
  *Script exec !LabelRefresh WeatherLabel2_
  *Script exec !LabelDestroy WeatherLabel_
  *Script exec !LabelDestroy WeatherLabel2_
*Script ~bang

With this, the only "problems" is that the music controls/taskbar appear
to flicker during an update. I can accept that with great fortitude.
However, when winamp is not running, it screws up the taskbar. 

So I need to have an "IF winamp running" statement in there somewhere.
Can one of you script kiddies help me there? Is this the type of line I
would use?

!if [conditional] [command_if_true][command_if_false]

How do I tell the script winamp is running?

> 
> 
> ---------------------------------------------------------------------
>     Can't Unsubscribe? Check http://desktopian.org/listunsub.html
>         LS List Homepage: http://wuzzle.org/list/litestep.php
>             Get the LS FAQ: http://lsfaq.shellfront.org
> 
> 
> 

------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential, proprietary and or privileged material. Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon this information by persons or entities other
than the intended recipient is prohibited. If you received this email in error, please contact the sender
and delete the material from all computers.

This electronic mail message was sent from L. M. Berry & Company or Berry Network, Inc. Our primary business
address is 3170 Kettering Blvd., Dayton, OH 45439. This message may constitute a commercial solicitation or
advertisement as defined by the CAN-SPAM act of 2003. If you do not wish to receive future commercial
electronic mail solicitations or advertisements from L. M. Berry & Company or Berry Network, Inc.,
please send a request to [email protected]
==============================================================================


---------------------------------------------------------------------
    Can't Unsubscribe? Check http://desktopian.org/listunsub.html
        LS List Homepage: http://wuzzle.org/list/litestep.php
            Get the LS FAQ: http://lsfaq.shellfront.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.