Short: WB random backdrop selection up to 127 Author: randombackdrop@esseemmeerre.mailshell.com (Stefano Maria Regattin) Uploader: randombackdrop esseemmeerre mailshell com (Stefano Maria Regattin) Type: util/wb Requires: Any Classic AMIGA (emulated) Architecture: m68k-AmigaOS Distribution: OK Lord Year 2008, 2nd July, Wednesday I have started the development of this program on my AMIGA 1200 a week ago for private use, seen I have three OS 3.9 adapted backdrop on my AMIGA 1200 and I did want to have each one of them randomly as Workbench backdrop. The program should be placed into the S: drawer but can be placed anywhere on your AMIGA hard disk; it requires two files to work, that are RandomBackdropSelectionList and RandomBackdropExitsList (note the s after Exit), that MUST BE ABSOLUTELY PLACED into your AMIGA hard disk S: drawer; the first is a text marked with the RandomBackdropSelection header followed with the full pathes of each image you want your AMIGA use for backdrop, and they can be anywhere, but now their pathes should be as long than one hundred ninetytwo chars; the second file is a text with the same marker also that takes count of each exit of a backdrop giving a -1 value if the same backdrop on the line has been choosen before; the program simply does ignore the choosen backdrops and it does choose a backdrop from the not choosen ones that instead have a value of 0; when all the backdrops have been choosen, that is each one has a -1 value, all the values are resetted to 0 to begin a new loop. The program at the moment can handle only a maximum of 127 backdrop pathes; it generates the file BackdropImage into your AMIGA T: drawer; you should use this like the name of the random pattern; it should be execute before that your AMIGA loads the backdrops, in my case it is executed before IPrefs into the startup sequence; you can specify a different file name as your choice just typing it after the SelectedRandomBackdrop header at end of the backdrop selection list into the RandomBackdropSelectionList file. Note that this program cannot be executed from WB seen this has not meaning. I have enclosed my three (3) backdrops that are 640x512x256 for the AGA AMIGAs; I have removed the left grey strip with Photogenics selecting it and removed it applying to it a Brightness of -37. :) Hopeing that someone may be interested of this little proggy I send to all you many greetings from Italy! :) The following is the same text in italian language: Anno Del Signore 2008, 2 luglio, mercoledì Una settimana fa ho iniziato lo sviluppo di questo programma sul mio AMIGA 1200 per uso privato, visto che ho tre sfondi adattati dal Sistema Operativo 3.9 sul mio AMIGA 1200 e volevo avere ognuno di questi a caso come sfondo per il Workbench. Il programma dovrebbe essere piazzato nel cassetto S: ma può essere messo dovunque nel disco rigido del vostro AMIGA; richiede due file per funzionare, cioé il file RandomBackdropSelectionList ed il file RandomBackdropExitsList (Notate la s dopo Exit), che DEVONO ESSERE ASSOLUTAMENTE MESSI nel cassetto S: nel disco rigido del vostro AMIGA; il primo file è un testo marcato con l'intestazione RandomBackdropSelection seguita dai percorsi completi di ogni immagine che volete che il vostro AMIGA usi come sfondo, e possono essere dovunque e la lunghezza del percorso può essere fino a centonovantadue caratteri; il secondo file è un'altro testo con lo stesso marcatore che conta ogni uscita di uno sfondo dandogli un valore di -1 se lo sfondo della stessa linea è già stato scelto prima; il programma semplicemente ignora gli sfondi già scelti e sceglie uno sfondo tra quelli non ancora scelti che invece hanno un valore di 0; quando tutti gli sfondi sono stati scelti, cioé ognuno ha un valore di -1, tutti i valori sono reimpostati a 0 per cominciare un nuovo ciclo. Il programma al momento può gestire fino ad un massimo di 127 percorsi di sfondi; genera il file BackdropImage nel cassetto T: del vostro AMIGA; dovreste usarlo come nome dello sfondo casuale; il programma va eseguito prima che il vostro AMIGA carichi gli sfondi, nel mio caso lo messo nella Startup-Sequence prima di IPrefs; potete specificare un nome differente a vostra scelta digitando il suo nome dopo l'intestazione SelectedRandomBackdrop al termine della lista degli sfondi nel file RandomBackdropSelectionList. Notate che questo programma non può essere esecuto dal WB visto che ciò non avrebbe senso. Ho incluso i miei tre (3) sfondi che sono 640x512x256 per gli AMIGA AGA; Ho rimosso la striscia grigia a sinistra con Photogenics selezionandola e rimuovendola applicandoci una luminosità negativa (Brightness) di 37. :) Sperando che qualcuno possa essere interessato a questo programmino vi mando tanti saluti dall'Italia! :) Ciao!