Wiki Table Generator (VBScript)
Moderators: Mug UK, Moderator Team
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Wiki Table Generator (VBScript)
OK, it's not great and it doesn't (yet!) do the styles at the top to change the colour and name the cells etc.
But it will generate a table of rows & columns that you specify. It also allows you to enter text for each column (or they're self-generated if you're not sure). Random colour styles are applied to each cell header too.
I coded it in VBScript for ease of use - so don't expect a super-GUI based product!
There are probably more than a few bugs in it .. if so, let me know here.
Added:
. Ability to start the cell numbering from any number, not just 1.
. Built in auto-text options so if you're doing a lot of level codes, you only have to enter "L" & "P" for the cell-text and it changes them to "Level" and "Password/Code".
. As above, but also present are "D- Disk #", "C- Contents", "R-Result" & "E - Effects"
Input for effects above can now be in lower or upper-case - I was being lazy in v0.6!
Unless some major bugs are found, I'm happy with this one as being the final one. Any other additions, then let me know below.
Current version = v0.8 - now has the proper line formatting inside.
But it will generate a table of rows & columns that you specify. It also allows you to enter text for each column (or they're self-generated if you're not sure). Random colour styles are applied to each cell header too.
I coded it in VBScript for ease of use - so don't expect a super-GUI based product!
There are probably more than a few bugs in it .. if so, let me know here.
Added:
. Ability to start the cell numbering from any number, not just 1.
. Built in auto-text options so if you're doing a lot of level codes, you only have to enter "L" & "P" for the cell-text and it changes them to "Level" and "Password/Code".
. As above, but also present are "D- Disk #", "C- Contents", "R-Result" & "E - Effects"
Input for effects above can now be in lower or upper-case - I was being lazy in v0.6!
Unless some major bugs are found, I'm happy with this one as being the final one. Any other additions, then let me know below.
Current version = v0.8 - now has the proper line formatting inside.
You do not have the required permissions to view the files attached to this post.
Last edited by Mug UK on Sat Sep 02, 2006 1:20 pm, edited 9 times in total.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Having just used it to create a table of 125 rows x 2 columns for all The Source disks, it works quite well - even if I do say so myself
Probably does need an option to include a numbering scheme in the output to save you having to put 001, 002, 003 etc. into the table afterwards.
Probably does need an option to include a numbering scheme in the output to save you having to put 001, 002, 003 etc. into the table afterwards.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Auto-numbering scheme now present. Example output from v0.5:
Have fun!
Code: Select all
{| border="1" class="wikitable" style="text-align:left"
|-
|+ Crackers plc
|-
! style="background:#96ffef;" | Disk
! style="background:#87ffef;" | Contents
|-
| 1 || |
|-
| 2 || |
|-
| 3 || |
|-
| 4 || |
|-
| 5 || |
|-
| 6 || |
|-
| 7 || |
|-
| 8 || |
|-
| 9 || |
|-
| 10 || |
|-
| 11 || |
|-
| 12 || |
|-
| 13 || |
|-
| 14 || |
|-
| 15 || |
|-
| 16 || |
|-
| 17 || |
|-
| 18 || |
|-
| 19 || |
|-
| 20 || |
|-
|}
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Having a headache over v0.7 .. so will chew on it over the weekend.
What I'm trying to do is give an option to start the numbering later on (i.e. still have 10 rows, but start the numbering at 3 instead of 1 so you get 3 to 13 in the output) .. but it keeps going wrong somewhere in my code.
Was in South Ruislip from mid'97 to about summer-ish '98. Training games to work under PacifiST (using TOSBox to do the disassembly etc.) for the Regression Therapy Menus 1-3
What I'm trying to do is give an option to start the numbering later on (i.e. still have 10 rows, but start the numbering at 3 instead of 1 so you get 3 to 13 in the output) .. but it keeps going wrong somewhere in my code.
Was in South Ruislip from mid'97 to about summer-ish '98. Training games to work under PacifiST (using TOSBox to do the disassembly etc.) for the Regression Therapy Menus 1-3
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Fixed the problems with v0.7. Read the first post for all the extra whizz-bang (hardly!) options I've added.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
My brother is a bit of a Wiki expert as he helped create some auto-generating code for the GamerWiki to generate standard pages etc.
He's also pointed out that I'm not generating the tables correctly so I think I'll be doing a bit more research and add a few more options at the same time as fixing the problematic code. So expect a v0.8 soon
I've also created 2 x more Sticky's which have CSV 2 Wiki and a HTML table to Wiki code generators. Hope these two pages will help you all out.
He's also pointed out that I'm not generating the tables correctly so I think I'll be doing a bit more research and add a few more options at the same time as fixing the problematic code. So expect a v0.8 soon
I've also created 2 x more Sticky's which have CSV 2 Wiki and a HTML table to Wiki code generators. Hope these two pages will help you all out.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Oops I thought I'd uploaded it after fixing those bugs in the output.
Will get it done a.s.a.p. Bodkinz. My apologies.
Will get it done a.s.a.p. Bodkinz. My apologies.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Found a bug or two in 0.8 - one related to the last line not needing the extra '|-' but also one which is introduced if you *don't* want line numbers. So looks like a 0.9 will be available soon.
Also forgot to change the title in 0.8 to say it was 0.8 - it still says 0.7
Any one think of anything else to add to make it a final preview before I try and make it into a "proper" windows apps with form etc.?
Also forgot to change the title in 0.8 to say it was 0.8 - it still says 0.7
Any one think of anything else to add to make it a final preview before I try and make it into a "proper" windows apps with form etc.?
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
Maybe this is asking too much.. but... how about after the numbering bit.. can it ask which if any need A,B,C added to them? i'm not explaining this too well.. but i think you know what i mean.. menus that are more than one disk.. etc etc..
like.. maybe enter a string 35AB 56ABC 96ABCDE etc etc
that would be a great help...
sorry if that is a bit complicated.. sounds like a lot of extra code..
anyway.. just a suggestion
like.. maybe enter a string 35AB 56ABC 96ABCDE etc etc
that would be a great help...
sorry if that is a bit complicated.. sounds like a lot of extra code..
anyway.. just a suggestion
someone post something, i'm bored
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
The only problem with me doing that is that I use a loop to generate all the required rows.
The only way I could do it would be to generate an "xxA", "xxB" etc. for *every* single row and then you delete the ones you don't need.
This would work for a group which has a lot of multi-disk releases but not for those with only the one or two multi-disk releases.
It might be easier for you to generate extra rows and then just change the numbers afterwards - e.g. Group ZZZ has 30 releases of which 6 are mutliple-disks. So generate 37 rows but rename 31-37 to xxB and then cut & paste them into the proper place in the list.
Sorry that's not much of a help but it's just the way the code is written at present.
The only way I could do it would be to generate an "xxA", "xxB" etc. for *every* single row and then you delete the ones you don't need.
This would work for a group which has a lot of multi-disk releases but not for those with only the one or two multi-disk releases.
It might be easier for you to generate extra rows and then just change the numbers afterwards - e.g. Group ZZZ has 30 releases of which 6 are mutliple-disks. So generate 37 rows but rename 31-37 to xxB and then cut & paste them into the proper place in the list.
Sorry that's not much of a help but it's just the way the code is written at present.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- Mug UK
- Administrator
- Posts: 12156
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Ah .. I taught myself my own method on an electric typewriter before I was 10
Been using the same method ever since and keeps me up @ the 80 wpm mark 26 years later
Been using the same method ever since and keeps me up @ the 80 wpm mark 26 years later
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
- RetroGamerUK
- RetroLamerUK
- Posts: 2923
- Joined: Fri Mar 26, 2004 6:37 pm
- Location: Northwest England.