edited my post above. ![]()
Help With Pe7er's G5 Script
ok i'm not using any weather thing so i dont have any weather thing in my scripts. does that make a differnece? do i need to edit it out or what?
Sebek
Lynchknot that sounds like the meters are not getting to their respective scripts, are they in the scripts folder? is the path correct?
Mine is running just fine... 0_o, have you tried installing smaurize 1.01?
Originally posted by Pe7er@Nov 22 2003, 11:45 AM@wiz: you see errors and no cpu percentage because you didn't customize the config meters for your own machine. Samurize works this way - I can't export configs with meters pointing to your machine. Sorry, you have to edit this yourself.
Well, I looked in all of the configs scripts and everything and I guess I just don't understand it. Oh well, maybe if I stumble upon it when I'm surfing the internet.
All the images show up on my desktop when choosing "G5" The only meter that appears working is uptime. When I go to "edit config" there is nothing there to edit. How can it show up on my desktop and not in the edit dialog?
edit - I have moved the scrollbars all around and there is nothing there - I even went to open the file and still not there.

have you been playing with hte ini on notepad or in the edit config in a way tha tyou could have deleted the entries? would you like a fresh ini?
If I deleted anything then why are all the images showing up on my desktop and also the uptime meter is working.
Yes please, I will try a fresh ini just in case.
Hey lynch, that is the same problem I am having except that mine doesn't show up until after I change the config, then it only shows up for a split second. But also I cannot see it in the view thingie.
I hope it works...
Dunno, my suggestion was a shot in the dark really but, you never know when programs start acting up right?
Sorry to double post!
Lynchknot i just saw your image on the edited post in page 2 (1 for wizard), the widget is fine! you just need to set up the email account with the right port and for the weather you have to get the loc_id from wherever you are and put it in the weatherXML config.
I used port 110 and it works fine...
Give that a shot
Wizard I was having it show up for a second too until I edited the file.
Seph, that would be fine if I could see something to edit! There is nothing there.
not even in the g5.ini if you open it in notepad?
Look for this
[Source 8]
Type=TMailCollector
Port=110
Interval=10
UserName= your user
Password= your password
Server= your server
Yeah! I see it. I think I am Samurize illeterate I swear. I can never get them to work correctly. ![]()
Seph, your ini shows up. Now I still need to edit it as the weather is not working yet. Thanks for the ini. ![]()
Also, you might want to edit out some info.
damn lynchnot, did i just send you my ini with my email password and stuff? could you just pretend i didnt? LOL
Im on my way with the weather thinguie!
'-------------------------------------------------------------------------------------------
' INSTRUCTIONS
'-------------------------------------------------------------------------------------------
' First go to: http://xoap.weather.com/search/search?where=XXXXX
' The "XXXXX" can be anything you are searching for, such as zip code, city, state, or country.
' After loading that web page up you should have a search returned with a "loc id".
' The "loc id" will be used for your weather.
'-------------------------------------------------------------------------------------------
' CONSTANTS - You are welcome to change these to your settings.
'-------------------------------------------------------------------------------------------
const LOCID = "put in your code here" ' Set this to your "loc id" from the above instructions.
const UNIT = "m" ' Set of units. Standard or Metric (VALUES = [ s or m ]).
const DAYF = "1" ' Multi-day forecast information for some or all forecast elements (VALUE = [ 1 to 10 ]). Note: 5 is default for this script.
const IMAGES = "new" ' Set this to which images you would like to use (VALUES = [ new or old ]).
const RESTART = TRUE ' If you want to restart the client after a cache file update. (VALUE = [ TRUE or FALSE ]). Note: You do not need to restart samurize, if you do not care about the weather images. Otherwise the images will never change UNLESS you manual reload the config file.
const INSTANCE_NAME = "G5" ' Name of the Samurize instance to restart.
const SAMURIZE_DIRECTORY = "C:\Program Files\Samurize" ' Change the path if it is different than yours.
This code is the desktopweatherXML.vbs script when you open it with notepad...
lol - see my edited post.
I already have this:
const LOCID = "USWA0054" ' Set this to your "loc id" from the above instructions.const UNIT = "s" ' Set the units. Standard(°F) or Metric(°C) (VALUES = [ s or m ]).
const DAYF = "5" ' Multi-day forecast information for some or all forecast elements (VALUE = [ 1 to 10 ]). Note: 5 is default for this script.
const IMAGES = "new" ' Set this to which images you would like to use (VALUES = [ new or old ]).
const RESTART = TRUE ' If you want to restart the client after a cache file update. (VALUE = [ TRUE or FALSE ]). Note: You do not need to restart samurize, if you do not care about the weather images. Otherwise the images will never change UNLESS you manual reload the config file.
const INSTANCE_NAME = "G5" ' Name of the Samurize instance to restart.
const SAMURIZE_DIRECTORY = "E:\Program Files\Samurize" ' Change the path if it is different than yours.
opps
Ooops >.<
Youre running samurize on the E:\ drive?
Are you running NAV or something of that sort? because i know NAV will try to stp some scripts, its a bit paranoic...
have you tried with a diff Loc_id just to make sure its not your specific loc id thats not working? because if it says NA means it IS communicating with the server, otherwise itd say not executed
What the? No i'm not running it on E. hehe, thanks for eyeing that.
now the only thing is the bandwidth meter and the cpu.
Aaargh....misunderstood...
You have to open the config, select the meter you want to customize and change it properties - the button is on the panel to the right ![]()
your bw meeter and CPU meter are not working either?!?
now its just the bw meter
Look for this in the g5.ini
[Source 10]
Type=TPerfmonCollector
Path=\\[B]use your computer's name here[/B]\RAS Port(ATM10-4)\Bytes Received/Sec
FromIndex=1
ToIndex=2
Factor=0.0078125
AllowConvert=1
and the same for this one
[source 12]Type=TPerfmonCollector
Path=\\use your computer's name here\RAS Port(ATM10-4)\Bytes Transmitted/Sec
FromIndex=1
ToIndex=2
Factor=0.0078125
AllowConvert=1
These two are working for me, i have them set up to show the trasnfer rate in kbps and not in kb/s make sure to change that in the edit config from the context menu on the systray icon
Hey, Lynch
I think you should customize RAS Port(ATM10-4) as well. Try doing it via the config editor.
BTW (it might be important): what screen resolution are you running?
@Seph: endless thanks for help and advice. Be nice and don't eat fish ![]()
1024x768 - What the hell is: RAS Port(ATM10-4) - I don't see that anywhere in the config dialog.
I copied that seph, but it's still at 0
Aqua-Soft Forums