Page 4 of 9 « First<23456>Last »
Topic Options
#68200 - 2002-07-15 05:27 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Oh, and the "Default" values are not really there even though Regedit says they are. Use regedt32 to verify.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#68201 - 2002-07-15 06:13 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
another bloody bug.
_________________________
!

download KiXnet

Top
#68202 - 2002-07-15 08:12 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
Lonkero,

I have KiXGolfed your example script to this:

code:
for each $x in $a
if $x>0
$c=$c+1
endif
next

and it scores 35 now [Big Grin]

cj

Top
#68203 - 2002-07-15 08:20 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
now the validator said that my script passed it.
I can't check it more right now.
score 803

not feeling happy. I'm so tired...
it was feeling too good to be really ahead of others so much. now back on earth.

hoby, are you allready under 800?

[ 15 July 2002, 08:25: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#68204 - 2002-07-15 09:14 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I'm too tired to tell...>1000 with problems. I keep digging myself deeper because I'm too tired.

Goodnight 3:15AM here.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#68205 - 2002-07-15 09:18 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Howard,

A good night's rest.

Are you still using kixtart. Hard to understand who so much failures. General it is something for
the MS club.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#68206 - 2002-07-15 02:50 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I'm trying something different still using the Unicode import files. I will give this a little more effort before changing to the ASCII file and doing something a little simpler.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#68207 - 2002-07-15 03:10 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
Wow!

It looks like I've missed a lot of the fun! I've been busy entertaining my girlfriend all weekend. Hmm... so should I hazard participation in this project? I may give it a go... at least for awhile.

Brian

Top
#68208 - 2002-07-15 03:23 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
brian, just don't loose your head like some of us have done.
ok, fixed a bug with more than 2 lined multistrings.

KixGolf score = 792

cheers,
_________________________
!

download KiXnet

Top
#68209 - 2002-07-15 03:24 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Brian:

Entertaining one's girlfirend is important (I just had friends split up because they didn't take enough time for each other, pretty messy for their kids).

It's not too late to join. The first round will run until Wednesday afternoon (or longer if people would like to have more time on it before seeing what others have coded).

Right now, you only need to import non-UNICODE files. Also, if a line is not properly formatted (there's one in one of the .REG files) then this line will NOT be processed. you also need to only cover those registry types that are part of the sample .REG files, which are the most common ones.
_________________________
There are two types of vessels, submarines and targets.

Top
#68210 - 2002-07-15 03:49 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
That's cool. I have a pretty good idea on how to do this.. but under 1000 seems pretty durn good.

Brian

Top
#68211 - 2002-07-15 04:28 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
Hmm. are you guys using readprofilestring? Just curious.. I'm fiddling around with it because it seems like the easiest way to enumerate items. The only problem is the line breaks with a \.

Brian

[ 15 July 2002, 16:32: Message edited by: BrianTX ]

Top
#68212 - 2002-07-15 04:46 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
brian, you can make it enumerate really shortly (did that) but then comes that...
could also open the file...

this way, when \ occurs you could read to that line.
could get you under 1000...

I'm not using it anymore as the handling could get too tricky for my simple mind [Big Grin]

well, I'm just waiting now if someone has a glance to make shorter code cause I'm pretty much done with mine.

if you get the shorter one I can always take one stroke out of it as usual... [Razz]
_________________________
!

download KiXnet

Top
#68213 - 2002-07-15 06:59 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
I'm not using it either, just straight-forward OPEN-READLINE-CLOSE and some parsing in between [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#68214 - 2002-07-15 07:14 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
jens, you better be carefull how many keywords you use or you'll get disqualified by yourself! [Eek!]

I might say too that after 48 hours of coding and dissappoinment, you will be glad, if you get it even workin... correctly.
_________________________
!

download KiXnet

Top
#68215 - 2002-07-15 08:31 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
While doing more research, I discovered that:

code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBA]
"Vbe6DllPath"="C:\\PROGRA~1\\COMMON~1\\MICROS~1\\VBA\\VBA6\\VBE6.DLL"

MUST have double slashes in order to work... Just a comment.

Brian

Top
#68216 - 2002-07-15 11:12 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Anonymous
Unregistered


For your information:

Keys can have square brackets and quotes inside them (but not '\')
In the .REG file they are stored as-is
eg [hkcu\...\test[key"for'your]perusal]

The value-name / value-content pairs use escape sequences
with '\' as the escape character (eg " is \", \ is \\)
 
You should try parsing things like this "string\"quote:1"="first:string\"quote\\d"
Spaces are legal between constructs, eg:
      [hkcu\...]
   "test1"        =        dword:          11223344

Top
#68217 - 2002-07-16 12:17 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
are legal...
jens, wasn't it enough to work with your example [Frown]

ok, have to test my script again tomorrow against spaces too... [Eek!]

must... sleep...
_________________________
!

download KiXnet

Top
#68218 - 2002-07-16 04:04 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I am really [Confused] .

When view my key "07-13-2002", in Regedit and Regedt32 the Type shows REG_SZ. The input data to the WriteValue command was a variable of type string $D="" (which the VarTypeName was checked on the line preceding the WriteValue command), and "REG_SZ" as the 4th parm. Yet I get an error in Golf.kix because ReadType() returns "REG_NONE". [Confused] [Mad] [Roll Eyes]

REG_NONE No defined value type.
Can anyone shed some light on this?

{edit}
Just tested the ["b" ] inside the keyname and passed [Big Grin]

[ 16 July 2002, 04:35: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#68219 - 2002-07-16 04:36 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
I use REGDMP and REGINI from the reskit for registry work. They use the same format between NT4 and win2k and don't have all those brackets to worry about. You can also set registry permissions with them.

I am not aware of any shortcomings with them, but if anyone knows...

cj

Top
Page 4 of 9 « First<23456>Last »


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

Who's Online
0 registered and 373 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.076 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

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