Short: V2.2: Random string from list into cmd. Author: Leo Davidson Uploader: Leo Davidson Type: util/boot Architecture: m68k-amigaos **** If this file is posted to a BBS which requires an 8.3 filename, **** please post it as SupSel22.lha to avoid different people speading **** this file from Aminet to BBS with different filenames. **** I don't care if you have to replace my informative file_id.diz with **** some stupid waste-of-space logo, but please use the suggested **** filename!!!! **** (Sorry to everyone else for putting this horrible note here, but it **** seems some people just can't get the message any other way.. grrr.) Super-Select is a program which will pick a random string, insert it between two other strings, and (optionally) execute the result as if it were typed in a shell window. Can't think of how that could be useful? Well, say you want a random picture displayed whenever you boot your Amiga. The "random string" could be chosen from a file conatining a list of the files in your pictures drawer, and the turned into a command line which displayed that picture! Or, you could make it copy one of the files in the list somewhere so that it appeared as your Workbench backdrop-picture... You could even use it as a fortune cookie program, making the "say" command speak a randomly selected phrase... It is even possible to have a random command executed! I hope that you can think of some cool use for this program to make your Amiga a bit different everytime you boot... During my boot-up (which is quite long given the amount of things I run on my 68000 A500) I have one of my 293 boot-pictures shown by Visage, while the theme music from either Babylon 5 (series 2), Mission Impossible, or Lost In Space plays. When the boot is finished I also play a random sample from my collection of 276 (including 107 Beavis'n'Butthead samples). ** What makes it better than other similar utils? ** I have see one or two programs which do similar things to Super-Select, but instead of taking the random string from a file, they scan a directory and randomly choose a file within it. This means that they waste ages when you have more than a few files in the directory. Super-Select takes the filename (or whatever) from a list which means it can do the selection very quickly, and also means that you are not limited to randomly selecting filenames. Also, with version 2 of Super-Select there is an "Exclude mode" which ensures that no line in the list is used twice before every line has been selected, so you can be sure that every one of your files will be shown to you, even if my random number routine is less than perfect. I hope you like it! "God money's not looking for the cure" -- .--------------------------------------- .---- ----- ---- --- -- - - - | | Leo 'Nudel' Davidson - NoOo.o.oOoODLE! | leo.davidson@keble.oxford.ac.uk | | Amiga DOpus5 /X WebPage v2.9 03-Mar-96 | http://info.ox.ac.uk/~kebl0364/ | | - - - -- --- ---- ----- -----------' --------------------------------'