[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Homeseer script question?
- To: ukha_d@xxxxxxx
- Subject: Homeseer script question?
- From: "Paul Gordon" <paul_gordon@xxxxxxx>
- Date: Wed, 27 Jun 2001 14:28:40 +0100
- Delivered-to: rich@xxxxxxx
- Delivered-to: mailing list ukha_d@xxxxxxx
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
Hope some of you Homeseer / VBscript bods can help me out here...
I'm trying to use a global variable for inter-script communication between
a
related set of scripts, and while I'm not getting any errors, I'm also not
getting any values into/out of the variable!
I create the variable in the Homeseer Startup.txt startup script with:
s=hs.createvar("wc_internal")
This appears to work OK, - IE returns a null string as the value of
"s"
I then have another script, that sets the value of this variable with:
s=hs.savevar("wc_internal", "XXXXXX") - where XXXXXX is
any string.
Again, this appears to work OK, in that it returns a null string as the
value of "s"
finally, I have a third script which checks the value of the variable with:
s=hs.getvar("wc_internal")
But in this instance I am ALWAYS getting an empty string as the result, - I
surely should get the string value I assigned above!?
Am I missing something fundamental here? - global variables, once created
should be remain instantiated for the lifetime of the Homeseer application
right? - and should be available to all scripts, right?
Someone want to tell me something that makes me say "DOH!" ??
Cheers,
Paul G.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
____________________________________
Automated Home UK
http://www.automatedhome.co.uk
____________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Home |
Main Index |
Thread Index
|