Page 1 of 1 1
Topic Options
#49898 - 2000-05-18 08:14 PM addign mutilple values into kix script
Anonymous
Unregistered


I have 10 users that need a value id added into a regkey (program specific). I can do 10 different scripts and put in 10 different lines in my login.bat such as - if %username%=agavin kix32 c:\11.scr. 11 is the value i wanted added for this user and so on. Can i only have 1 line in my login.bat and somehow make my kix script add incremental values to each user who logs in. I hope this makes sense.
Top
#49899 - 2000-05-19 07:29 AM Re: addign mutilple values into kix script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
nat:

nah! - you don't want to be creating 11 different bat files for all your users.

The easy-peesie way is to fire-up user manager for domains and set the user "description field" to something like...

ID=11

Then in your KiX script - use the @comment macro to read this value dynamically.

From there - its an easy stretch to parse-out the value then poke the registry.

This approach will have you singing "Unforgettable" before you know it !

Let us know if you want to pursue this strategy further (I use it) !

Shawn.

[This message has been edited by Shawn (edited 19 May 2000).]

Top
#49900 - 2000-05-21 10:39 PM Re: addign mutilple values into kix script
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
Shawn,

You may add some excellent ideas/solutions for our fellow scripters... but your attempts at being a lyricist are shocking!!!!!!! "unforgettable" indeed....

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

Top
#49901 - 2000-05-23 09:55 AM Re: addign mutilple values into kix script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
"I get my KiX - on Route 66"

Shawn.

Glad to see someone's paying attention !



Top
#49902 - 2000-05-24 04:52 AM Re: addign mutilple values into kix script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
shawn,

excellent .... 100 pts .... strategic ....well cooked .... etc.

but isn't the Route 66 (w/wout Kix) not only a mythos????

I once dreamt about touring da ole '66 from east to west with my very own and special
Hog brought by ship from ole europe 2 weeks before i even take my 'Lift-Off' @ Frankfurt/Germany.....

keep on scripting brother

_________________________



Top
#49903 - 2000-05-24 07:10 AM Re: addign mutilple values into kix script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Jochen:

Route 66 is real my brother !

I've even seen photographs !! Complete with funky road signs and greasy-spoon truck stops !!!

Maybe Bryce (down there in Texarkana) can shed some light on this mythos ???

Just to stay on topic :

KIX KIX KIX KIX KIX KIX KIX KIX KIX KIX KIX

There - whew !

Shawn.

Top
#49904 - 2000-05-24 09:31 AM Re: addign mutilple values into kix script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
First, something about kix.....

$kix = "66"
? "Route $kix"

there got that out of the way, need to stay on topic and all that!

yes Route 66 is a real thing, I belive it was one of Americas first interstate roads, latter made famous by a popular song "I get my KIX on route 66", the road travels E-W accross the US, built arround the 1920-1930's I think.

here is a web page that has the full history http://www.isuzuperformance.com/bill/coral.html

and as a side note my place of residence is Texas, Houston if ya want to be specific

Bryce

Top
#49905 - 2000-05-24 11:50 AM Re: addign mutilple values into kix script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
fellas,

i know that KIX resides on route 66.

code:

$way="too far"
$road="route 66"
$job="boring"
$holiday="0"
$team="IBM"
$script="KIX"
IF $holiday > $way
? "i get my $script on $road"
ELSE
IF $team = $job
? "You never manage to get on $road"
ENDIF

ok stop jerking around

nat: did Shawns first reply brought You closer to a Solution ??? -> must be


Shawn Bryce: maybe we meet one Day , maybe at a conference of KIX scripters anywhere between Canada Texas and Germany.

So now its 6:50 pm here in the GMT + 1 hr. Zone and i will close the bazar for today @Big Blue ....


Cheers

_________________________



Top
#49906 - 2000-05-25 12:17 AM Re: addign mutilple values into kix script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Jochen:

OK - I've plotted our coordinates and triangluated our positions - I figure halfway would be somewhere (far) off the coast of Newfoundland ( where that he says ) ...

http://www.atlapedia.com/online/maps/political/Canada.htm

Look east ( and then some ) !

I figure it would be right around the spot where the Titanic met it's fate !


Since Jack is in Ottawa ( and I'm in Toronto ), maybe I can swing by and pick him up too. Then we'll rent a dingy and start paddling like crazy ! I mean - it's just a big pond isn't it ?

Can't speak for Bryce but I'm sure he'd attend because he'd be out of pager range !

Seriously now...

Hey nat - how are you making out ?

Actually I was doing some thinking 'bout your problem and there are probably numerous ways of implementing what your after ( ie. incremental values for users ).

Give us an update !

Shawn.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1114 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.031 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org