Brian Stewart's Website




BBC BASIC Programs for RISC OS

This page provides free downloads of complete programs, I have written which you may find useful.  These were written using either '!Dr Wimp' or using the '!Frontender' scripting system, you will need to download and install !Frontender to use those programs.

!ImgGen This simple !Frontender program construct a webpage which downloads a series of sequentially named images from a supplied URL.
!URLgen This simple !Frontender program constructs a webpage which contains links to a series of similar files from a supplied URL.
!LinkStrip A !Frontender program which extracts the links from a web page and makes a new page containing just the links.  You can specify that links containing certain text are excluded from those extracted.
!LinkGrab Another !Frontender program which extracts the links from a web page and makes a new page containing just the links.  In this one you can specify that links containing certain text are included in those extracted - similar to !LinkStrip but the slightly different logic may suit other circumstances.
!TagRip

The original purpose of this !Frontender program is to clean up the dodgy HTML produced when you convert documents to HTML with Microsoft Word.  It does it's job by searching through the text of an HTML file or text file and locating the tag or combination of tags you specify, ripping it out (ie deleting it) and optionally replacing it with something else.

If you have access to Windows, you might want to investigate that version as it's more developed.

!Insert This is a utility to help with the organisation of your files by renaming those in a given directory sequentially.  It contains quite a number of useful options, eg to use the name of the directory as the basis of the new names or to force a sequential rename of everything in the folder or to add things like DOS extensions.
!AddExt This !Frontender program renames the files and folders in the folder indicated to include a /JPG or some other DOS extension if the don't already have one.  Also renames sub-folders recursively (updated September 2005).
!DelExt This !Frontender program does the opposite of !AddExt, ie it renames the files and folders in the folder indicated to remove any DOS or Windows extension if they have one.  In this case you can also specify the particular extension ro be removed (eg 'JPG') and other will be left in place.  Also renames sub-folders recursively (September 2005).
!AllLow That's 'all low'.  This !Frontender program renames the files and folders in the folder indicated to all lower case letters (eg for FTP).  Also renames sub-folders recursively (updated July 2005).
!Lower Renames the files and folders in the folder indicated to lower case, apart from the first letter - ie to tidy names transferred from a 'non-Joliet' CD-ROM filing system.  Also renames sub-folders recursively.
!Atoz This is a simple utility to help with the organisation of your files by creating a set of alphabetical folders A-Z or a-z in the folder indicated.  It will also create the numerical folders 0-9.
!Today This utility provides a simple method of managing directories to organise files for whatever by date.  It creates a sub-directory in the directory indicated, named after the current date in the form YYYY-MM-DD and opens it or, if that sub-directory is already there, it just opens it.  You can also specify a list of sub-folders to be included in the folder for today.

Incidentally, someone said they thought it was a bit wasteful of disc space to include subfolders for your work (eg WP, Spreadsheet, email etc) for every day and suggeseted I write something which separated files into separate folders by file type.  generating folder for every day probably is excessive, and maybe the name or discription gave the impression that was what I was suggesting, but you don't actually have to use the program every day if you don't want to - for the purpose I wrote it I generally used it about once a month.  I don't currently have any use for a 'file type to folder' filter so I haven't bothered to write one.

!Month Creates a sub-directory in the directory indicated, named after the current month in the form YYYY-MM and opens it.  This is obviously an adaptation of !Today but it doesn't do much!  I must have felt particularly lazy when I wrote this as it really just saves you typing the directory name.
!SplitFile and !JoinFiles

There's no help with this one, so:

I use !PCPro3 and needed some way to backup its Windows hard drive images to a CD-ROM. Unfortunately the image files are 2 Gigs long.

!SplitFile takes one of these image files and splits it into four small enough to go on CD-ROMs.

!JoinFiles takes the four separate files and joins them back together.

They ain't pretty or clever and they ain't quick - they take hours to run - but they got me out of a deep, deep hole once when I bought a dodgy hard drive and lost my Windows images, so you might find them useful too (it's a good idea to put a copy of the joiner program on one of the CD-ROMs, and perhaps !DiscKnight and !System as well if you don't have them somewhere else).



Brian.
June 2005