#25980 - 2002-07-26 07:28 PM
YAMD Function Help!
|
KIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
|
Here is part of the code of the YAMD Function.
code:
:WAITFORREG ; ******* Wait for windows to create the reg keys $RC=READVALUE("$LABELKEY\$DRIVELETTER\_LABELFROMREG","CACHE") IF @ERROR OR $RC="" OR $TIMEOUT<5 $TIMEOUT=$TIMEOUT+1 SLEEP(1) GOTO WAITFORREG ENDIF
My question is if the _LABELFROMREG key does not exist, the script seems to loop forever.
Any suggestions?
|
|
Top
|
|
|
|
#25981 - 2002-07-26 07:39 PM
Re: YAMD Function Help!
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
this is supposed to wait for the OS to create the key... the $timeout is supposed to max it out at 5 seconds
|
|
Top
|
|
|
|
#25988 - 2002-07-27 01:02 AM
Re: YAMD Function Help!
|
Sealeopard
KiX Master
   
Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
|
quote:
1. Why doesn't the UDF Forum contain the YAMD Function and other functions that I see in other posts?...I thought it was supposed to be a library of scripts.
But it is there, see http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=12;t=000163 You might need to adjust the 'Show Topics from Last xxx Days' to see posts that are older than what you have currently selected. quote:
2. Is there any way to distinguish MS Office XP from MS Office XP SP1 and from patched versions of Word & Excel?
Yes, you can check the product version numbers of the executables. Or you can use an administrative install and advertise updates to the administrative install (more complicated to set up).
quote:
3. Is there any way to check the Virus Signatures of Norton Antivirus 7.6 CE client on Windows 2000 and compare it against a Windows 2000 Server running the same software (but Server instead of Client) and then update it if necessary using KIXtart? I want this to make sure our VPN users have the latest virus signatures.
Isn't that part of the CE version, that you can force AV updates? I beloeve there's a batch file with the CE distribution that does this. Otherwise, search this BBS for posts about NAV CE, there are a couple. quote:
4. I wonder if the KIXtart GODS (the experts) could write a KIXtart Script Checker which would check against things like missing ENDIF, ENDFUNCTION, etc...maybe there is already such a thing...
And this one does exist, too. just take a look at pretty much any of MCA's posts who uses this extensively. Or check out http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=3;t=000269 and http://home.wanadoo.nl/scripting/. The magic word is 'KiXStrip'
_________________________
There are two types of vessels, submarines and targets.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 781 anonymous users online.
|
|
|