DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Finished Programs => Topic started by: frankell on June 27, 2011, 02:34 PM

Title: DONE: Foreground wallpaper
Post by: frankell on June 27, 2011, 02:34 PM
I created a transparent effect with the application DeskProjection  (abandoned but you can find it on majorgeeks here (http://www.majorgeeks.com/Desk_Projection_d2324.html) )

as you can see in my screenshot the image on top is the same of the desktop wallpaper and the opacity is set to 20%
my request is an application similar to DP but able to automate the process to pick the wallpaper.bmp in C:\Documents and Settings\user\Local Settings\Applications data\Microsoft
 
or on the contrary to be able to set at the same time as the foreground working image as the matching desktop wallpaper

thanks for any help ! http://s674.photobucket.com/albums/vv101/frankelll/?action=view&current=Screenshot-27_06_2011183905.jpg (http://s674.photobucket.com/albums/vv101/frankelll/?action=view&current=Screenshot-27_06_2011183905.jpg)
Title: Re: Foreground wallpaper
Post by: skwire on June 27, 2011, 05:54 PM
I downloaded that app and it's entirely controllable from the commandline.  You can simply create a batch file with something like the following in it:

c:\path\to\DProj.exe C:\Documents and Settings\user\Local Settings\Applications data\Microsoft\wallpaper.bmp t20

Or, if the app is already running, and you change your wallpaper, you can simply use the "r" switch to reload the image:

c:\path\to\DProj.exe r

Of course, if I've misunderstood your original post, please let us know.   :D
Title: Re: Foreground wallpaper
Post by: frankell on June 28, 2011, 12:41 AM
Many thanks for the suggestions skwire, it's really a good idea to use the batch files !  :Thmbsup:
there is just 1 step to add the wallpaper.bmp cannot be used as it is, first I should convert it into .PNG

btw do you know the commandline to set an image as desktop wallpaper (best of all: stretched )


   
Title: Re: Foreground wallpaper
Post by: skwire on July 01, 2011, 05:56 PM
Give this a try:  Lucidity (http://skwire.dcmembers.com/apps/snacks/Lucidity.zip)


It should then set that image as your wallpaper (stretched) and create an effect similar (same?) to the Desk Projection application you mentioned above.  In fact, I think my version uses less CPU and is less laggy as a result.  You can adjust the transparency percentage by editing the included config.ini file in any text editor.  Let me know if it works for you.  Thanks.
Title: Re: Foreground wallpaper
Post by: frankell on July 02, 2011, 10:02 AM
Wow, that's great skwire !!  :P
Yepp exactly what I meant = Lucidity  !
Well I'm a skinner and surely I'll going to create a new icon dedicated to Lucidity
also with your permission I would like to upload the icon on my Wincustomize Gallery with your application embedded,
giving full credits to you and the direct link you will suggest me (I already did something similar with EmptyBin (http://www.wincustomize.com/explore/objectdock/16291/)  )

Many many thanks for your great work !
I will update soon with the icon trial ...
Title: Re: Foreground wallpaper
Post by: skwire on July 02, 2011, 10:52 AM
You're welcome and thanks for the feedback.  If you want, you can send me the icon and I'll recompile the app with it.
Title: Re: Foreground wallpaper
Post by: frankell on July 02, 2011, 01:19 PM
here I am with 2 pngs\icons trials attached, probably as application icon "Lucidity 1" is better
tell me your opinion and if you'd like some change !
thanks for the permission !
Title: Re: Foreground wallpaper
Post by: skwire on July 02, 2011, 02:14 PM
I think I'll go with the second one.  Do you have a website of yours that you'd like me to reference in the credits?
Title: Re: Foreground wallpaper
Post by: frankell on July 02, 2011, 02:46 PM
OK ...well this is my front page on Wincustomize site "...only for personal Fun&Share..!"
 http://frankell.wincustomize.com/index.aspx
many thanks for the time you dedicated on creating Lucidity "the transparent effect without Aero!"!  :D

btw tell me the direct link to provide on my Lucidity icons presentation.
Title: Re: Foreground wallpaper
Post by: IainB on July 02, 2011, 11:54 PM
@skwire: Interesting effect. I tried that (Lucidity) out. That's quite a nifty little app you made there, though I won't be using it myself (I dislike having my screen visually cluttered).
Title: Re: Foreground wallpaper
Post by: skwire on July 03, 2011, 12:01 AM
Thanks for the feedback.  However, I can't take credit for the effect since I just recreated what the Desk Projection app was doing.  Well, at least I think I did since I can't see what his code is actually doing. 

As for using it, I agree with you.  I, personally, won't use it but it is a neat effect.  The next version will have multi-monitor support and a tray menu to adjust the transparency.
Title: Re: Foreground wallpaper
Post by: skwire on July 03, 2011, 01:06 AM
Website (http://skwire.dcmembers.com/wb/pages/software/lucidity.php) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.1 - 2011-07-03
    + Official website release
    + Multi-monitor support.  One caveat, though.  Your monitors must be the
      same resolution for this to work properly.
    + Tray menu to change the transparency level.  This value is saved between
      sessions.
    + Custom application icon courtesy of frankell.  (Thanks, frankell)
Title: Re: Foreground wallpaper
Post by: IainB on July 03, 2011, 06:06 AM
@skwire: It probably needs to have options to change in sync with wallpaper changers - e.g., the Windows 7 Personalise/Desktop background changer:
Otherwise it seems to override the changer and you may get stuck with a single, fixed and undesirable/distorted image.
Title: Re: Foreground wallpaper
Post by: skwire on July 03, 2011, 09:30 AM
It probably needs to have options to change in sync with wallpaper changers - e.g., the Windows 7 Personalise/Desktop background changer:

Unfortunately, supporting all the different modes is harder than it seems (plus, I don't run Windows 7).  
Title: Re: Foreground wallpaper
Post by: frankell on July 03, 2011, 03:37 PM
well well really a great work !!  :Thmbsup: :Thmbsup:
just to remember that if you prefer any transparent level not in the tray menu, you can always use (as in the previous version) the config.ini file, actually I use: trans=22
I also like to mention that the icon is featuring my real desktop wallpaper: a modded version of "Walking with Orion " (http://www.moodflow.com/?bwbps_page_1=2) by the great artist Jeff Quick (his kind permission will be enclosed in my upload on Wincustomize)
Title: Re: Foreground wallpaper
Post by: frankell on July 04, 2011, 03:37 PM
here I am with the link to my upload on Wincustomize http://www.wincustomize.com/explore/objectdock/17134/ (http://www.wincustomize.com/explore/objectdock/17134/)  ;)

at the moment it's still in moderation ...
sorry for the delay but I had to re-upload the skin without the Lucidity.exe embedded (on respect of new rules on Wincustomize) anyway now it's in the gallery
... and the link was not the same  !! but finally I noticed and now it's updated !

Title: Lucidity Ergonomics
Post by: Blueplanet888 on September 07, 2011, 09:52 AM
Hello!

Lov' your Lucidity!  :-* ;)

I would like to suggest a few ergonomic change for a smoother utilisation. (That seems very easy for a programmer to do)
(Generally, it is the small details that make the difference between "average" and "great" programs)

1- Lucidity is not appropriate when playing a video (On VLC, no image is playing for example; but a foreground on a video is always bad... :down:)
=> It will be very useful to set a "pause/stop" (that deactivate the lucidity effect) wihtout having to exit the prog; i think that clicking left one time (for easy access) on the icone in the tray (possibly make the icone gray or red-strikethrough to indicate that it is in "pause/stop" mode) will be the best.
Not so difficult i think ?  ;D [if it's only one minor change that you can make, i take this one!]

2- Why make a restriction on the tray menu "10%,20%,30%" etc... when the program can make a 1% difference ? (in the config.ini file) My idea is to make a vertical slider (There is the easy & optimal space where the "20% to 90%" are written in the tray menu) that can make a 1% difference. (For ergonomic purpose, i suggest to indicate the current % in number too... below the slider, where the "10%" is written)

If you can't make a sliding bar (it happens lol), simply make a "manual number entry" beetween 0 & 100 (%) that the user will enter by keyboard (wich changes the .ini etc...) it will be entirely sufficent! (less "smooth" than a slider though.)

For the "modification effect" of all this, i don't know if it can be made "Realtime" to see the level of transparency by sliding or entering the number... (it will be nice) But i think you can easily take it "effective" when the user push "Enter" (or click a "Change" bouton next to the number) after writting the number (without exiting the tray menu for Not Bullying the user) or make it the same by the slider. (Slide & See the number & "Enter" (or click "change") & See if it's the right amount of lucidity on screen!  :Thmbsup:)

--------------------

An additional idea for further development (if Santa comes and commands you to make it NOW!  :tellme:) would be to autodetect the wallpaper image (Windows knows in the registry or other file which file it must wallpaperIZE. So you can stole the path from it there i think.) on prog startup and do a change is it's necessary. [And if that is active, a "Reload Wallpaper" would be a good idea in the tray menu to manually indicate that we have changed that when the prog was already running, and it will automatically set a new appropriate lucidity effect for the new Wallpaper then.)


Thankx for reading! (No, i am not a Machine; i Have a heart too!  :P ;D)
Hoping for some sugar-change for the next "Lucidity" !
Title: Re: DONE: Foreground wallpaper
Post by: skwire on September 07, 2011, 04:06 PM
Hi, Blueplanet888, and welcome to the site.  Here you go:

Website (http://skwire.dcmembers.com/wb/pages/software/lucidity.php) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.2 - 2011-09-07
    + Added slider to adjust transparency.  (Thanks, Blueplanet888)
    + Single-clicking the tray icon will now toggle the transparency effect. (Thanks, Blueplanet888)
    - Removed the 10%, 20%, 30% etc, entries from the tray menu in lieu of the slider.


An additional idea for further development (if Santa comes and commands you to make it NOW!  :tellme:) would be to autodetect the wallpaper image (Windows knows in the registry or other file which file it must wallpaperIZE. So you can stole the path from it there i think.)

The problem with this is that there are so many of these "standard" locations across all the Windows versions that I'm not sure this is feasible.  Windows XP has three or four alone and I don't know about Vista and 7.
Title: Re: DONE: Ergonomics
Post by: Blueplanet888 on September 07, 2011, 05:43 PM
Simply Marvelous ! (and the little "popup" when hovering the tray "Lucidity - Transparency: xx%" is great to see the number directly!)
Works like a charm! (Even nearly-realtime adjustement with the slider! Ergonomics is thanking you!  :Thmbsup:)

Great Thankx for all and for the LightSpeed making of! (Are you sure that you haven't crossed space-time and made it Before i asked ?  ;D 8))

 :-*


Title: Re: DONE: Foreground wallpaper
Post by: skwire on September 07, 2011, 07:57 PM
Making that slider work in realtime is easy.  However, it chewed up so much CPU that I chose not to implement it.  If you want to approximate it, just use the up and down keys once you focus that slider.
Title: Re: DONE: Foreground wallpaper
Post by: skwire on September 26, 2011, 02:19 PM
Website (http://skwire.dcmembers.com/wb/pages/software/lucidity.php) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.3 - 2011-09-26
    ! Fixed compatibility issue with multiple monitors under Windows 7.
Title: Re: DONE: Foreground wallpaper
Post by: skwire on November 04, 2012, 10:26 PM
Website (http://skwire.dcmembers.com/wb/pages/software/lucidity.php) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.4 - 2012-11-04
    + Added "-nosetwall" parameter which creates the overlay effect with
      the passed image file but DOES NOT set it as the wallpaper.
     
      Usage: c:\path\to\Lucidity.exe <path to image file> -nosetwall
     
      Create a shortcut to Lucidity.exe with a target like this:
     
      c:\path\to\Lucidity.exe %1 -nosetwall
     
      Use that shortcut as the drop target for your image file.
      (Thanks, L. Onggrid)
Title: Re: DONE: Foreground wallpaper
Post by: DeVamp on October 07, 2014, 02:17 AM
I just recently found this gem.

I love it.

I suggestion : could you add a shortcut to "Toggle effect".
And of course, being able to customize the shortcut. :)

Thank you anyway for the lovely program.
Title: Re: DONE: Foreground wallpaper
Post by: skwire on October 08, 2014, 04:19 PM
Let me see what I can do.   :)
Title: Re: DONE: Foreground wallpaper
Post by: DeVamp on October 09, 2014, 04:18 AM
Great.

But no pressure :)

Take your time :)
Title: Re: DONE: Foreground wallpaper
Post by: skwire on October 11, 2014, 11:41 AM
Here you go, DeVamp:

Website (http://skwire.dcmembers.com/fp/?page=lucidity) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.5 - 2014-10-11
    + Added toggle hotkey functionality.  Select it from the tray menu.
      (Thanks, DeVamp)
    + Added ability to choose an image file from the tray menu.
    + Added changelog and readme/help entries to the tray menu.
Title: Re: DONE: Foreground wallpaper
Post by: DeVamp on October 13, 2014, 02:09 AM
Thank you very much Skwire. :)
Title: Re: DONE: Foreground wallpaper
Post by: ScreenManiac on January 20, 2015, 11:58 AM
Many thanks.  :up: Great piece of software.
I use it in combination with all my writing pograms, and it spices up their canvas nicely.
The -nosetwall parameter and the transparency slider are outstanding. Great stuff.  :Thmbsup:

My only wish left: An exception list, to exclude my browser and file manager from being affected.

Title: Re: DONE: Foreground wallpaper
Post by: skwire on January 20, 2015, 03:46 PM
Many thanks.  :up: Great piece of software.
I use it in combination with all my writing pograms, and it spices up their canvas nicely.
The -nosetwall parameter and the transparency slider are outstanding. Great stuff.  :Thmbsup:

You're very welcome.  I always find it interesting to learn how folks use different programs.   :D

My only wish left: An exception list, to exclude my browser and file manager from being affected.

Lucidity overlays a transparent image across your entire desktop.  That is, it does not apply the effect individually to each application window.
Title: Re: DONE: Foreground wallpaper
Post by: ScreenManiac on January 21, 2015, 02:04 AM
I understand.
Actually, it's not necessary, I just discovered the Hotkey toggle which makes it easy enough to disable the effect on the fly.

It were nice, though - unless I am missing something again - to have quicker access to opacity levels. Either by hotkey to bring up the slider or to step up/down directly. Or to have a command line parameter for setting up various presets. Different backdrops call for different opacity levels.

The SysTray is not readily available in many situations. Even if Win settings don't hide the bar, there are fullscreen programs that won't allow it to come up on hover. Just an observation from my user experience so far, but no big deal, either. Overall, I am very satisfied. Great tool, I only wish I'd  come across it sooner.
Title: Re: DONE: Foreground wallpaper
Post by: skwire on January 21, 2015, 06:24 PM
@ScreenManiac:

Website (http://skwire.dcmembers.com/fp/?page=lucidity) | Download (http://skwire.dcmembers.com/apps/lucidity/Lucidity.zip)
v1.0.6 - 2015-01-21
    + Added ability to set a hotkey to bring up the transparency slider.
      (Thanks, ScreenManiac)
    + Added new commandline parameter to set the transparency value.  This value
      overrides any saved value.  Usage:  -trans:<0-100>
    ! Fixed an erroneous startup message box if certain conditions were met.
      (Thanks, TaoPhoenix)
Title: Re: DONE: Foreground wallpaper
Post by: TaoPhoenix on January 21, 2015, 07:00 PM

This is actually pretty clever, now that it works!

Not content to leave well enough alone, I fiddled with opening multiple copies of it. A multi layer effect is interesting!

I think the main thing I'd like is an easy way to always do "nosetwall" without having to type a command path somewhere.

Title: Re: DONE: Foreground wallpaper
Post by: ScreenManiac on January 21, 2015, 11:29 PM
 :) Thanks a ton. I really appreciate it, the super-quick implementation and that you made both options available, the hotkey and the command line parameter.  8)

This raises the Windows experience to a whole new level, everything is suddenly so much more fun, it even spices up tedious maintenance chores.

@TaoPhoenix
Multi-layer effects are indeed interesting.
Concerning the command line - you know you can move your .lnk shortcuts into C:\Users\YourName\Sendto
This turns them from drop targets into right-mouse entries. You right-click an image file anywhere and hand it over to one of your lucidity presets.

Title: Re: DONE: Foreground wallpaper
Post by: skwire on January 22, 2015, 09:24 AM
:) Thanks a ton. I really appreciate it, the super-quick implementation and that you made both options available, the hotkey and the command line parameter.  8)
This raises the Windows experience to a whole new level, everything is suddenly so much more fun, it even spices up tedious maintenance chores.

You're quite welcome.   :)  I'm glad you find the application useful.   :up:
Title: Re: DONE: Foreground wallpaper
Post by: Star Weaver on March 30, 2015, 11:33 AM
I know you don't want to vastly expand the wallpaper sizing functions of this but could you possibly make it work with the output of Wallpaper Welder for us multimonitor people? <3
Title: Re: DONE: Foreground wallpaper
Post by: DeVamp on November 23, 2016, 09:38 AM
A little update............

I don't know if it has been mentioned or if Skwire knows it, but Lucidity WORKS now on WIN7 with 3 monitors with different resolutions.

left : 1440 x 900
middle : 1920 x 1080
right : 1440 x 900

So point 6 in the notes doesn't count anymore.

6) Due to a bug in Windows, multi-monitor support is limited to monitors with the same resolution.