Page 1 of 2 12>
Topic Options
#95901 - 2002-11-20 10:51 AM User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
FYI,

I have a compiled Windows html help file available on my website of the UDFs

KiXHelp.com

This is a work in progress project... It will allow you to have a searchable help file that includes all the UDFs without having to be Online. Always use the website for the most current code updates, as I will not be able to keep this file as up to date as the Web sites can.

Please let me know if you have any problems or suggestions.

The file name is: UDF_Libraries.chm and is available in the Downloads section. The current file size is 478Kb

Top
#95902 - 2002-11-20 11:05 AM Re: User Defined Functions in a compiled Windows help file
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
The German jury gives :

[Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin] [Big Grin]

(The extra smilies for the hrs you must've spend on this)

J.
_________________________



Top
#95903 - 2002-11-20 11:13 AM Re: User Defined Functions in a compiled Windows help file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nice, waiting for update [Wink]
found almost week old udf not listed.

anyway, nice. the find and all.
still, the sorting to be done.
and yet, nice.
_________________________
!

download KiXnet

Top
#95904 - 2002-11-20 11:21 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Actually Lonkero, if you read the first section... I put in a note about not adding a couple UDFs as I did not like the way they were posted. They were not normal posting.

The one I think was the one that has 3 UDFs in one post.

This list is only 2 days old per the code from Howards pl3 version.

Top
#95905 - 2002-11-20 11:36 AM Re: User Defined Functions in a compiled Windows help file
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, so what were the other 2?
_________________________
!

download KiXnet

Top
#95906 - 2002-11-20 01:20 PM Re: User Defined Functions in a compiled Windows help file
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
NICE!
Top
#95907 - 2002-11-20 02:34 PM Re: User Defined Functions in a compiled Windows help file
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Boy, we love our UDFs. [Big Grin]

The next step would be to have Ruud put a hook into the next version of KiXtart that would autoload the UDFs from a compiled library if an undefined UDF is called in the code. We then could distribute the UDF library to all clients without bloating the script itself.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#95908 - 2002-11-20 02:56 PM Re: User Defined Functions in a compiled Windows help file
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Top notch stuff Ron ... cudos to all.
Top
#95909 - 2002-11-20 03:24 PM Re: User Defined Functions in a compiled Windows help file
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
Very [Cool]
Well done...
_________________________
We all live in a Yellow Subroutine...

Top
#95910 - 2002-11-20 04:09 PM Re: User Defined Functions in a compiled Windows help file
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Thank you very much!!
_________________________
Kelly

Top
#95911 - 2002-11-21 01:32 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
My pleasure.. [Wink]

I'll continue to add the UDFs from ScriptLogic and sort all of these as well. I will have to try another method (like email) to use the ScriptLogic one, otherwise they will be quite ugly in the helpfile trying to grab them from the website.

I'm also working on many other additions to the file, but thought the UDFs would appeal to at least a few of you.

Thanks for checking it out. [Smile]

Top
#95912 - 2002-11-21 01:52 AM Re: User Defined Functions in a compiled Windows help file
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Nice job Ron!

Portable UDFs... Cool!
I like Howard's idea of a 'load on demand' UDF system. Just put every conceivable UDF into a library and have KiX preparse the script looking for undefined UDFs and then load only those that are referenced from the library. Sounds like something for Suggestions.

As for ScriptLogic's UDFs, do you plan to ask their permission before ripping them from their site? I don't see any TOU doc and can't see Brian objecting, but probably a common courtesy.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#95913 - 2002-11-21 02:06 AM Re: User Defined Functions in a compiled Windows help file
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Oh! one more thing...
Yeah, I know... like Columbo. [Roll Eyes]

On the Welcome page, nice logos but...
It it the Bulletin Board you want to represent or the script?
 -  -
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#95914 - 2002-11-21 02:10 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Hmmm.... Interesting question. I've also seen it debated that information that is available to be posted by the public in general can not be copyrighted and is available for free usage.

I suppose though from a Professional Courtesy point of view I should send an email to Brian and ask.

Brian...you there lurking? [Wink]

I prefer the board in this case for the logo, but thanks for noticing.

Top
#95915 - 2002-11-21 02:22 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
hmmm... Do you know Brian's member number here?

Trying to locate him on the ScriptLogic site is not easy.

p.s. I think Lonkero is trying to set some record of posts over there at ScriptLogic as well. [Eek!] He seems to be in every other post. [Razz]

Top
#95916 - 2002-11-21 02:25 AM Re: User Defined Functions in a compiled Windows help file
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You're sure to find him in the Beta forum.

http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_profile;u=00001122
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#95917 - 2002-11-21 02:29 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
The idea of "load on demand" seems cool on the surface, but in practice I'm not sure I'd want to use it myself.

Having parsed all the UDFs from KiXtart, and not even including the ones from ScriptLogic yet, it takes some CPU time to get through all them.

Not sure how fast/slow it would be in a compiled format, but still don't think it could/would be anywhere near as fast as it currently is. I only need to run a half dozen UDFs, so I only load them, rather then check/load all in memory and then only load local pointers to ones I'm referencing. Just seems like it would be SLOW!

Then how to maintain a file that size when/if a user wants to update/modify his/her code. Currently KiXtart.org has about 275 UDFs plus however many are over at ScriptLogic. Even the logistics alone, not worrying about size or speed is a phenomenal exercise of management.

Top
#95918 - 2002-11-21 02:33 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Thanks Les,

He does not list an email address in his profile, but I sent him a PM as well. Maybe he'll get that.

Top
#95919 - 2002-11-21 06:07 AM Re: User Defined Functions in a compiled Windows help file
Anonymous
Unregistered


Hey Ron, thanks for the PM. I just got back from a trip to the northeast and received it.

Yes you have permission, just include a link to the site and author info.

That said, perhaps we could help so that you don't have to type as much...?

Remember, that the UDF library @ scriptlogic.com is a database. When UDFs are viewed, you're actually looking at a page in HTML that was generated by ASP/VBscript from the information in the DB.

It would therefore be relatively easy for us to write a short program (could be an ASP page) that would 'compile' the UDFs, in the html layout you request, and mail them to you as htm pages. Basically we have this engine already, but your layout would be different. You'd probably have to still define them initially in the HTML help's TOC and file list, but it would make updates a breeze.

To make it even better, we are converting the site to ASP.NET and the UDF library will be upgraded to include full syntax highlighting (just like your favorite editor), when viewing the UDF source code.

Hope you think it is as cool as we do [Smile]

BTW: phase II will be to add syntax highlighting to script code posted within forums also.

--------------

Back to the htlp: If we coordinate the effort (which shouldn't take too much work) and enough people like the idea, we could even a link into the KiXtart HTML help (that we maintain) to the UDF library CHM file.

Cheers,
-Brian

PS. Mailing me direct is easy, our company uses a first.last @ scriptlogic.com format, and the last name is Styles.

Top
#95920 - 2002-11-21 07:12 AM Re: User Defined Functions in a compiled Windows help file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Thanks Brian,

I had all the UDFs mailed to me, but there all in a .kix file which I can take apart and put into the help file. Having single files html or not is the easiest way for me to use. HTML keeps links working in the help file though.

Most of the UDFs on ScriptLogic have the author listed, but not a link back to the code. The reader of the helpfile would need to search by name for it once they get to the ScriptLogic site.

Not exactly sure what you mean by some of the stuff you mentioned... I'm not a web programmer. The helpfile currently is a manual process for me, as I could not figure out a method of automating all the files into TOPICS with my program. I had to add each one manually and copy/paste the code.

I think RoboHelp could do it, but I don't have access to that program.

I'll take it off line with you if you will send me an email with your email address or other contact information.

Thanks Brian.

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 369 anonymous users online.
Newest Members
rrosell, PatrickPinto, Raoul, Timothy, Jojo67
17877 Registered Users

Generated in 0.13 seconds in which 0.065 seconds were spent on a total of 14 queries. Zlib compression enabled.

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