PDA

View Full Version : Get "TBuilder" here, the easy way to create templates for AMS



Corey
10-03-2002, 05:59 AM
OK so this would be a beta version of something I call "TBuilder", an application to facilitate the creation of templates for AMS. This thing will help you collect your files and then do the rest, i.e. moving and naming everything as well as creating all the necessary folder structure, XML, HTML, and .bas support files.

Pretty basic but it works well enough. BUT BE WARNED I didn't have time to make it slick and I'm not the king of AMS so the code behind this app is currently sloppy. I am attaching the source file, if you feel like streamlining my sloppy code then by all means please do. We'll upload your version to the new site. /ubbthreads/images/icons/smile.gif There's a bunch of sloppy workarounds in there that need squashing... I'll post again with an attachment of the built application...

12388-TBuilder.zip (http://www.indigorose.com/ubbthreads/uploads/12388-TBuilder.zip)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Corey
10-03-2002, 06:02 AM
Here I've attached the built ready-to-run application for people who want to make their own templates but aren't interested in the source code.

12389-TBuilder.exe (http://www.indigorose.com/ubbthreads/uploads/12389-TBuilder.exe)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Lorne
10-03-2002, 09:42 AM
I like the colours. /ubbthreads/images/icons/smile.gif

I just had a quick peek at the actions on Page 10...here's a small tip that could save you some effort in the future: you don't have to do a File.Copy and File.Rename to copy a file and rename it...you can do it all with a single File.Copy action. The destination name doesn't have to be the same as the source name.

Also, I'm pretty sure that a File.Copy action will create the folders in the destination path if they don't exist yet...so you might not even need to do a Folder.Create action first.

Just a couple little tips that don't really make any difference in the end, but could save you a bit of time the next time around. /ubbthreads/images/icons/smile.gif

Corey
10-04-2002, 01:29 AM
I bet someone out there could cut that code overall in about half. /ubbthreads/images/icons/smile.gif Cool tip, thanks...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

John-oh
10-04-2002, 02:47 AM
Love it - the builder itself will be useful - I know DanceParty was asking about building templates...

but the source in itself is a useful pot of ideas and methods, it may not be 100% optimised, but that adds to it's charm

Keep up the good work.