PureBasic Forum

WallX v1.81x
Page 1 of 3

Author:  blueznl [ Fri Sep 25, 2009 8:39 am ]
Post subject:  WallX v1.81x

Creates a text on a coloured background, and turns that into a wallpaper, to help identify your machine. Yep, that's all. Oh wait! It also loads single and multi monitor wallpapers, duh!

I'm never sure where to post these things... if in the wrong please, could a moderator please move it to the appropriate spot? Same would apply to announcements for the Survival Guide and CodeCaddy, I guess...

Some images...






Download here (source included):

http://www.xs4all.nl/~bluez/purebasic/p ... .htm#wallx

Author:  luis [ Fri Sep 25, 2009 2:25 pm ]
Post subject:  Re: WallX v1.04x build 26 25.09.09 save 1172

Very nice :)

Thank you!

Author:  GG [ Sat Sep 26, 2009 9:07 am ]
Post subject:  Re: WallX v1.04x build 26 25.09.09 save 1172

Adopted for me !
Great work blueznl, thanks. :)

Author:  JCV [ Sat Sep 26, 2009 11:45 am ]
Post subject:  Re: WallX v1.04x build 26 25.09.09 save 1172

Thank you!


Author:  blueznl [ Sat Dec 05, 2009 4:51 pm ]
Post subject:  Re: WallX v1.19x build 60 save 1931

Couldn't help myself. I've expanded WallX so that it now not only creates images, but it can now also display your wallpapers, resizing them on the fly, and (there's the little bonus) autodetect multi monitor wallpapers.

It's not fully featured yet (need to add some transparency options) but all basics work.

I would appreciate it if some people could try it with their wallpaper colledtion, especially odd-sized images, and multi monitor configurations.

Thanks in advance.



The program can be found here:

http://www.xs4all.nl/~bluez/purebasic/p ... d_wallnutt

Author:  blueznl [ Sun Dec 06, 2009 11:16 am ]
Post subject:  Re: WallX v1.26x build 75 save 2405


Latest version: WallX v1.26x 06.12.2009 build 75 save 2405

Fixed some more problems and added some options. I've added:

- fixed two font bugs
- discovered some windows limitations (keep screens 'aligned' and you're fine)
- better transparency for texts
- added alerts
- added keyword 'silent' to surpress those alerts ;-)
- added wallx.lst file
- improved the help text
- ignored all other user requests (well, there were none, so no issue there :-))

File is here:

http://www.xs4all.nl/~bluez/purebasic/p ... d_wallnutt

Author:  Rook Zimbabwe [ Sun Dec 06, 2009 4:19 pm ]
Post subject:  Re: WallX v1.26x build 75 save 2405

This is impressive!!! 8)

Author:  blueznl [ Wed Dec 09, 2009 7:04 pm ]
Post subject:  Re: WallX v1.29x build 83 save 2621

Latest version: v1.29x 10.10.09 build 83 save 2621.


- added 'frame' parameter
- full support for any strange monitor sizes or locations
- stretch out any image over any number of monitors

(I've tested this with two real monitors and MaxiVista as a virtual monitor, all seemed to be working fine. Check out the 'distort' and 'expand' parameters if you want to test this yourself with lo-res images with wrong aspect ratios.)

Never mind the memory consumption :-) Such wallpapers on three monitors take 21 MB or more :-)

You'll find it here:

http://www.xs4all.nl/~bluez/purebasic/p ... d_wallnutt

Could anyone please test this on a multi monitor Vista and a multi monitor Windows 7? Thanks in advance.

Author:  blueznl [ Tue Aug 03, 2010 12:31 am ]
Post subject:  Re: WallX v1.31x build 98 save 2679

Update WallX v1.31x.

- now supports automatic renew of wallpaper every 'x' seconds when the user has been 'y' seconds away
- some corrections in the help text
- some path / folder related fix but I can't remember what it was :-)

Author:  OldSkoolGamer [ Tue Aug 03, 2010 3:50 am ]
Post subject:  Re: WallX v1.31x build 98 save 2679

I have to say, pretty frakin sweet & very useful, THANKS a TON 8)

Author:  blueznl [ Fri Sep 10, 2010 10:02 am ]
Post subject:  Re: WallX v1.31x build 98 save 2679

Added a Windows 98 version to the archive. I forgot I used an XP-and-later WinApi call which caused some troubles on Windows98 (and I was too lazy to make the code smarter :-))

Author:  blueznl [ Mon Dec 27, 2010 10:53 pm ]
Post subject:  Re: WallX v1.40x

Release Notes for WallX v1.40x c2010 EJN.


- sets / replaces wallpaper with a generated image + text
- loads and auto resizes specified images / wallpapers
- updates wallpaper when detecting screen or ip changes
- supports multi monitor setups
- auto detects multi monitor wallpapers

Quick start:

1 copy wallx.exe into a some folder
2 copy a few .jpg files into the same folder
3 make sure enough of the desktop background is visible
4 inside that folder execute the following:

wallx.exe basemark "it lives!"
wallx.exe random nearby
wallx.exe kill

Command line parameters.


help - show this help text
silent - suppress alerts
resident - stay running and monitor changes
kill - stop any instances of wallx
delay <seconds> - delay execution for n seconds
renew <seconds> - renew wallpaper after n seconds
nouser <seconds> - renew only if user is away for n seconds

Colour / pattern:

base - diagonal yellow / black stripes
traffic - diagonal red / white stripes
red - red background
colour $001122 - specify colour in hex RGB

(other colours: blue green cyan lime black grey white brown pink)


load <filename> - load background from file
random <path> - pick (multiple) random images
random nearby - grab images nearby wallx.exe
current - use wallpaper from control panel
pairs <n> - chance on using wallx.lst pairs (0..100)
distort <n> - acceptable distortion in %
expand <n> - maximal increase in %


fade - fade to black, top to bottom
drain - turn image b&w and darken 30%
dots - superimpose black dots (25%)
frame - thin dotted screen perimater


reverse - black on white text
transparent - text is drawn with 75% transparency
font <name> <size> - specify font name And size
big <text> - large white text
text <text|text> - draw one or more text lines


monitor all - output to all monitors
monitor <n> - output to monitor <n>
save <filename> - store generated background
save nearby - store in the same folder as wallx.exe
keep - set as permanent wallpaper


mark <text> - a preset combination of commands
basemark <text> - a preset combination of commands

Equivalents to combo commands:

wallx mark "TEST"
wallx big ~ip~ dots text " TEST | ~host~ ~ip~ " fade
wallx basemark "TEST"
wallx base fade text " BASE IMAGE | TEST | ... | ~host~ ~ip~ "

Embedded text elements.

These elements will be replace with the actual IP number etc. on
every call.

~ip~ - ip number
~host~ - host name
~user~ - user name
~USER~ ~HOST~ - user or host name in uppercase
~timestamp~ - day and time at moment of execution
~monitor~ - monitor number (differs from windows)


The basics:

- before any other actions wallx creates a random coloured image
- all commands should be lowercase
- all commands are processed from left to right
- use doublequotes to pass spaces in textfields
- 'help' and 'kill' cannot be used in combination with other commands
- delay commands are executed before anything else
- monitor numbering may not match the one used by windows
- multi monitor images are automatically detected (by size and aspect)

Launching from the commandline / from within a batch file:

- pass proper parameters
- when using the 'resident' command you need to use start:

start wallx mark "EXAMPLE" resident

Launching via an icon / desktop / startup menu:

- create a shortcut to wallx.exe
- add appropriate parameters to the shortcut target

Loading images:

- images are shown on the specified screen(s)
- images are automatically resized / cropped to match aspect and size
- wallx tries to recognize and use multi monitor wallpapers
- the commands 'expand' and 'distort' modify behaviour
- 'random <path>' gives 10% chance on a pair from wall.set

Running resident:

- launch wallx with the parameter 'resident'
- wallx will automatically detect changes in IP and / or screensize
- on every change it will execute the given parameters again
- to kill all instances of wallx use 'kill' as in:

wallx kill

Start resident and kill later:

start wallx mark "EXAMPLE" resident
wallx kill

WallX can automatically change wallpapers. Random wallpapers every 4
seconds when the user is away for at least 60 seconds:

start wallx random nearby renew 4 nouser 60 resident


The wallx.cmd file:

- create a file wallx.cmd in the same folder as wallx.exe
- this file may contain any wallx commands on multiple lines
- wallx will execute this file when called without parameters

Example wallx.cmd:

; sample wallx.cmd
random c:\software\wallpaper
mark "XPS710"

The wallx.lst file:

- create a file wallx.lst in the same folder as the images
- this is only used for the 'random' command
- contains user defined pairs of images, seperated by colons
- empty lines and those starting with a semi colon are ignored
- pairs from the wallx.lst file are shown at random (default 20%)
- use the 'pairchance' parameter to increase the chance (0..100)

Example wallx.lst:

; sample wallx.lst
apple.jpg , pear.jpg
sunrise.jpg, sundown.jpg


Using with Vista (64):

on Vista (64) WallX will get stuck for a while when launched
from the task scheduler or from the startup folder, unfortunately
there's nothing I can do about that, it has to do with the way
Vista allows creation of new files (suggestions welcome!)...
you may want to add the 'keep' option

To launch windows next time with the last generated image:

wallx text "I'll be back" keep

Drag / drop images on a desktop icon (using a batchfile):

rem create and save this batch file
rem create a shortcut on the desktop pointing to this batch file
rem drag / drop one or more image files onto this shortcut
wallx.exe silent load %1 monitor 2 load %2

Other examples:

wallx traffic fade
wallx red big 1
wallx big ~ip~ text ~timestamp~
wallx blue big "~ip~" dots text "~host~ ~ip~" fade
wallx traffic fade big 1 dots text "MYSQL SERVER |~host~ - ~ip~"
wallx colour $FAFBFC reverse mark save "c:\wallx.bmp"
wallx pink mark "MYSQL SERVER" save nearby
wallx delay 2 mark "WHO LOVES VISTA"
wallx "blue fade font Arial 100 text CLIENT|~host~-~ip~"
wallx monitor all base monitor 1 fade monitor 2 dots
wallx load wallpaper.jpg
wallx random c:\software\wallpaper
wallx random c:\software\wallpaper transparent mark "XPS710"
wallx distort 50 expand 300 random frame big ~desktop~

Author:  blueznl [ Tue Dec 28, 2010 6:07 pm ]
Post subject:  Re: WallX v1.40x

Update WallX v1.40x.

- bugfix 'silent'
- added 'renew'
- added 'nouser'
- added '~user~'
- added '~USER~' and '~HOST~'
- added 'current'
- added 'keep'
- fixed some typos
- switched to x_lib (too lazy to maintain multiple code bases)
- much improved help function and help text (see previous post)

Some changes might have made it already into the earlier v1.31x. I don't recall :-)

For those that want to superimpose some text over their existing backgrounds this has now become possible using the new 'current' keyword: wallx current mark "~USER~"

Start windows with the last generated image: wallx random nearby keep

This version may need a bit of testing on non-XP machines. Comments welcome.

Author:  blueznl [ Sun Jun 19, 2011 4:50 pm ]
Post subject:  Re: WallX v1.46x

Update WallX v1.46x.

- should now detect multiple IP addresses and show last changed address (needs some more verification)
- should now detect hibernation timeouts and refresh accordingly
- some changes in the commands (don't recall what exactly, has been a while :-))

Same place, as usual: http://bluez.home.xs4all.nl/purebasic/p ... d_wallnutt

Author:  GG [ Wed Jun 22, 2011 5:21 pm ]
Post subject:  Re: WallX v1.46x

In Windows 2008 R2 Standard Edition 64 bits, the simple command wallx mark "TEST" doesn't work at all : Nothing changes.
Has anybody encoutered this ?

Page 1 of 3 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group