Welcome Guest.   Make a donation to an author on the site October 30, 2014, 12:41:13 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Desktop Background focus/unfocus tsr  (Read 1843 times)
justice
Supporting Member
**
Posts: 1,889



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« on: August 22, 2011, 09:23:44 AM »

Silly request (or is it?). I like to keep my pc distraction free but I also love interesting backgrounds. When focusing on the app I prefer not to be distracted by a detailed background so I took a nice background and blurred it a bit. You can download the original and blurry version. I'm very very happy with the result, so I was wondering if there is a tool that uses the gpu to blur the background when the desktop is not active, but fades the background into focus when there is no windows in the way. Too much for autohotkey I'm afraid so I can't do it. Apparently the effect on the windows theme is called Aero Blur.

Would make a nice NANY app or donationware tool?
« Last Edit: August 22, 2011, 09:40:02 AM by justice » Logged

jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: August 28, 2011, 01:48:50 PM »

Not sure if this helps, but I think you might be able to do it with ahk you just need aerolib. Just create a window with no contents and with the size of the screen (maybe a bit larger so you can hide its borders) and place it always on bottom.
The window should be something like:
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1. AeroEnabled := loadAero()
  2.  
  3.  Gui,2: +lastfound
  4.  gui2hwnd:=WinExist() ;handle.
  5.  if(AeroEnabled)
  6.  {
  7.    Gui,2: Color, 0
  8.    Aero_ChangeFrameAreaAll(gui2hwnd) ;call the Function
  9.  }
  10.  
  11.  
  12. loadAero()
  13. {
  14.  If(A_OSVersion!="WIN_VISTA" && A_OSVersion!="WIN_7")
  15.  
  16.  If(!Aero_StartUp()) ;start the Lib
  17.  
  18.  If(!Aero_IsEnabled()) ;Make sure that
  19.  
  20.  If(Aero_GetDWMTrans())
  21.  
  22. }
  23.  
  24. #Include Aero_lib.ahk

I hope that helps!


[edit]
obviously, this only works for Windows Vista or better.
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.096s | Server load: 0 ]