English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 09 August 2017, 13:06   #1
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
random backgrounds for workbench?

I was wondering if there was an prog that would randomly switch the background of work bench either every time you boot or better yet would every couple minutes or so change the background like in windows. I am currently using Dopus 5.9 with workbench replacement.
Thanks
source is offline  
Old 09 August 2017, 14:52   #2
honx
Registered User
 
honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
i'm using this little program for background switching every 15 minutes:
http://aminet.net/package/util/wb/RandomWBPatt
but i don't use dopus so i don't know if it still works along with dopus.
honx is offline  
Old 09 August 2017, 16:02   #3
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
There exists at least a few programs. Have a look on Aminet.

With DOpus 5.x as WB-replacement you have the choice. Enviroment -> Backgrounds: WBPattern or DOpus system. For DOpus there is e.g. RndPic modul. With DOpus ARexx port you could do your own script. For WB also exists some but I don`t know the names.
daxb is offline  
Old 09 August 2017, 16:19   #4
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
You don't need anything extra when using DOpus 5.x. Just use wildcards in background filenames and you get different pics in reboots!

For example, configure in Environment -> Backgrounds -> Desktop something like this:
Work:Pictures/Backgrounds/#?
...or:
Work:Pictures/back#?.iff
...etc...


And if that's not enough and you want change the bg pic in runtime after some time always, here's a quick arexx-script for it (paste it into a text file called dopusrandbg.rexx):

Code:
/* Changes DOpus background image forever

   Start with:
   Run >NIL: RX dopusrandbg.rexx 
*/

if ~show("L", "rexxsupport.library") then do
	if ~addlib("rexxsupport.library", 0, -30,0) then exit 10
end

/* Configure these two lines for your needs: */
minutes=1
picpath="Work:Pics/#?.iff"

address DOPUS.1

do forever
	call delay 3000*minutes
	dopus set background '"'picpath'"' desktop center custom
	dopus refresh background custom
end

Last edited by jPV; 09 August 2017 at 18:34.
jPV is offline  
Old 10 August 2017, 03:12   #5
source
Zone Friend
 
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
Thanks for the replies. I will give them a try. As for the arexx code did you just bang that off? I could never get my head around arexx programming. Thanks
source is offline  
Old 10 August 2017, 07:25   #6
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
I had made a similar script 15 years ago, which did it a bit different way (configs in env:, stoppable/startable, etc), but I made it now a bit cleaner and simplier as an example, and added rexxsupport.library opening because I noticed my earlier script would fail in basic configurations without it.
jPV is offline  
Old 10 August 2017, 12:09   #7
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
If you don`t want to use/open rexxsupport.library just for DELAY() then use the DOS Wait command. I always wondered why the need of manually add the lib. Should be done be RexxMast or RX IMO. ~2,5kb used memory for it isn`t a waste.
daxb is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with workbench random failures DonAmiga Amiga scene 32 11 November 2013 12:27
Can you make your own backgrounds from CWB ADVSP spannernick project.ClassicWB 3 16 June 2012 16:03
One Step Beyond backgrounds mailman project.Sprites 3 07 October 2006 19:52
flashing/cycling backgrounds gimbal Nostalgia & memories 8 03 October 2005 20:08
Why do scrolling backgrounds slow things down? MethodGit support.WinUAE 2 02 February 2005 13:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07480 seconds with 15 queries