Lamer: NetIn, NetOut in modified austherity theme Thread last updated on 2004-03-12 04:02:25

Posted by member 111670 on 2004-03-10 07:32:48

Hi !

I have been modified this theme.
I change the stats: the CPU/SWP/Mem is showing in Label.
Everything is working good.

But I want to see the netIn, and netOut stats in Label.
Not in diagram, or other. Ok, I write this:

Labels CPUTxt,CPULbl,RAMTxt,RAMLbl,SWPTxt,SWPLbl,DskLbl,DskTxt,NetInLbl,NetInTxt,NetOutLbl,NetOutTxt
....
CPULblText "[cpu]"
CPULblX $IconsX+6$
CPULblY $BarY+32$
CPULblWidth 22
CPULblHeight 12
CPULblImage label_stats.png
CPULblFont "Arial"
CPULblFontBold
CPULblFontHeight 8
CPULblFontColor "white"
CPULblJustify right
...
NetInLblText "[netIn(%)]%"
NetInLblX $IconsX+98$
NetInLblY $BarY+32$
NetInLblWidth 22
NetInLblHeight 12
NetInLblImage label_stats.png
NetInLblFont "Arial"
NetInLblFontBold
NetInLblFontHeight 8
NetInLblFontColor "white"
NetInLblJustify right

This "netin" info label is not working.
How to I register this statistic in LS to show the information ?
I see in every theme what I download, but every theme use diagrams in rainmeter, and not labels.

Can anyone help me ???
Please !!!

If needed, I send the full modified source.




Posted by member 1 on 2004-03-10 11:54:35 link

that would be because netin is not a valid set of info. Please read the Label docs to find out what is valid.

Posted by member 111670 on 2004-03-11 02:13:45 link

But where I find netIn or other net statistic ???
Please help me with short source, or other !!!

Posted by member 1 on 2004-03-11 03:46:52 link

currently...in a pretty graphic created by Rainmeter...sorry

Posted by member 111670 on 2004-03-11 06:18:46 link

*Shortcut "$SC6Name$" $X10$ $BarY+4$ icons\other1.png icons\other2.png icons\other3.png #0O$SCFlag$ ["$SC6LClick$"]["$SC6RClick$"]

SC6Name "Quick Menu/Run"
SC6LClick !MyPopup x=210 y=23
SC6RClick "!Run"

Popup "My Folder" !New !MyPopup
*Popup "Internet Explorer" !Execute ["$IE$"]
*Popup "WebBrowser" !Execute ["$Browser$"]
*Popup "Text Editor" !Execute ["$TxtEditor$"]
*Popup "Email" !Execute ["$Email$"]
*Popup "IRC Client" !Execute ["$IRC$"]
*Popup "Command Prompt" !Execute ["$CmdPrompt$"]
*Popup "Audio Player" !Execute ["$AudioPlayer$"]
*Popup "Graphics Editor" !Execute ["$GfxEditor$"]
*Popup "Media Player" !Execute ["$MediaPlayer$"]
*Popup "FileManager" !Execute ["$FileManager$"]
*Popup !Separator
*Popup "Putty" !Execute ["$Putty$"]
*Popup "IB Expert" !Execute ["$IBExpert$"]
*Popup "Delphi" !Execute ["$Delphi$"]
*Popup !Separator
*Popup "Work Session" !Execute ["$WorkSession$"]
*Popup "Zope Edit" !Execute ["$ZopeEdit$"]
*Popup !Separator
*Popup "Close menu" !None
*Popup ~New

Posted by member 111670 on 2004-03-11 06:20:07 link

Ahhhh... I forget to write the question...
So:
I want to use this shortcut. But it isn't work. Why ?
(Before this I use bPopup)

Posted by member 7 on 2004-03-11 14:56:34 link

Put the SC6 lines above the *shortcut line.

Posted by member 2112 on 2004-03-11 15:03:27 link

NetIn and NetOut are in xlabel. Are you aware you are loading both label and xlabel? xlabel uses a different method to define a new lable so read the docs to find how.

The theme you e-mail me refers to bPopup but you haven't loaded the module. Change everything back to popup.

Posted by member 111670 on 2004-03-12 03:50:24 link

Hello !

Thanx for help, I have only one question.
My popup is not working.
I change everything you see, bPop to Pop, the order of items, etc.

But it isn't work !
Why ???
I'm angry for this, because it is a very simple thing, and in
my modified pixoffice it is working good.
(Only different to pixoff is use labelsonclick ?myPopup x y, not
shortcut)

The NetO/NetI is working good, thanx for it.

The quicklaunch_icons file is like this:

;------------------------------------------------------------------------------
; shortcut config
;------------------------------------------------------------------------------


SC1Name "Browser/IE"
SC1LClick "$Browser$"
SC1RClick "$IE$"

SC2Name "Text Editor/Gfx Editor"
SC2LClick "$TxtEditor$"
SC2RClick "$GfxEditor$"

SC3Name "File Manager/Cmd Prompt"
SC3LClick "$FileManager$"
SC3RClick "$CmdPrompt$"

SC4Name "Mail Client/IRC"
SC4LClick "$Email$"
SC4RClick "$IRC$"

SC5Name "Taskmanager/Control Panel"
SC5LClick "taskmgr.exe"
SC5RClick "control.exe"

Popup "My Folder" !New !MyPopup
*Popup "Internet Explorer" !Execute ["$IE$"]
*Popup "WebBrowser" !Execute ["$Browser$"]
*Popup "Text Editor" !Execute ["$TxtEditor$"]
*Popup "Email" !Execute ["$Email$"]
*Popup "IRC Client" !Execute ["$IRC$"]
*Popup "Command Prompt" !Execute ["$CmdPrompt$"]
*Popup "Audio Player" !Execute ["$AudioPlayer$"]
*Popup "Graphics Editor" !Execute ["$GfxEditor$"]
*Popup "Media Player" !Execute ["$MediaPlayer$"]
*Popup "FileManager" !Execute ["$FileManager$"]
*Popup !Separator
*Popup "Putty" !Execute ["$Putty$"]
*Popup "IB Expert" !Execute ["$IBExpert$"]
*Popup "Delphi" !Execute ["$Delphi$"]
*Popup !Separator
*Popup "Work Session" !Execute ["$WorkSession$"]
*Popup "Zope Edit" !Execute ["$ZopeEdit$"]
*Popup !Separator
*Popup "Close menu" !None
*Popup ~New

SC6Name "Quick Menu/Run"
SC6LClick "!MyPopup x=210 y=200"
SC6RClick "!Run"

IconsX $VWMx+VWMsWidth$

*Shortcut "" $IconsX$ $BarY+23$ vwm_border_b.png .none .none #0K$SCFlag$
*Shortcut "" $IconsX$ $BarY$ vwm_border_tl.png .none .none #0K$SCFlag$
*Shortcut "" $IconsX+6$ $BarY$ vwm_border_tc.png .none .none #0K$SCFlag$

;--> add/remove icons if you wish...
; to add/remove bar icons, you must:
; 1. add/remove '*Shorcut' entries below for the bar icons
; 2. update NumIcons below
; 3. disable/enable the winamp controls (via theme config. popup menu)
; 4. disable/enable the winamp controls _again_
;
; I've pre-configured an extra icon so you can quickly get a feel for how to
; go about this. Just uncomment the 'SC4Name' shortcut below and then follow
; the steps given above. There are additional icon graphics (including blank
; ones) in the images\icons directory.

X $IconsX+5$
*Shortcut "$SC1Name$" $X$ $BarY+4$ icons\browser1.png icons\browser2.png icons\browser3.png #0O$SCFlag$ ["$SC1LClick$"]["$SC1RClick$"]
X1 $X+22$
*Shortcut "" $X1$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X2 $X1+1$
*Shortcut "$SC2Name$" $X2$ $BarY+4$ icons\txt1.png icons\txt2.png icons\txt3.png #0O$SCFlag$ ["$SC2LClick$"]["$SC2RClick$"]
X3 $X2+22$
*Shortcut "" $X3$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X4 $X3+1$
*Shortcut "$SC3Name$" $X4$ $BarY+4$ icons\fileman1.png icons\fileman2.png icons\fileman3.png #0O$SCFlag$ ["$SC3LClick$"]["$SC3RClick$"]
X5 $X4+22$
*Shortcut "" $X5$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X6 $X5+1$
*Shortcut "$SC4Name$" $X6$ $BarY+4$ icons\mail1.png icons\mail2.png icons\mail3.png #0O$SCFlag$ ["$SC4LClick$"]["$SC4RClick$"]
X7 $X6+22$
*Shortcut "" $X7$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X8 $X7+1$
*Shortcut "$SC5Name$" $X8$ $BarY+4$ icons\system1.png icons\system2.png icons\system3.png #0O$SCFlag$ ["$SC5LClick$"]["$SC5RClick$"]
X9 $X8+22$
*Shortcut "" $X9$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X10 $X9+1$
*Shortcut "$SC6Name$" $X10$ $BarY+4$ icons\other1.png icons\other2.png icons\other3.png #0O$SCFlag$ ["$SC6LClick$"]["$SC6RClick$"]
X11 $X10+22$
*Shortcut "" $X11$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none
X12 $X11+1$
*Shortcut "" $X12$ $BarY+4$ icons\scsep.png .none .none #0K$SCFlag$ !none

Posted by member 111670 on 2004-03-12 04:02:15 link

Oh, what a f..k !
One * is missing !!

Popup "My Folder" !New !MyPopup
*Popup "Internet Explorer" !Execute ["$IE$"]

What a ..... !!!
Sorry for lamer question !