topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 3:04 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Desktop Background focus/unfocus tsr  (Read 4922 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Desktop Background focus/unfocus tsr
« on: August 22, 2011, 09:23 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 AM by justice »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Desktop Background focus/unfocus tsr
« Reply #1 on: August 28, 2011, 01:48 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:
Code: AutoIt [Select]
  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.