Klovis Posted July 3, 2011 Posted July 3, 2011 I want be able to run this script behind my desktop icons. Help please? #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Global $fVisible = True #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP) $Pic1 = GUICtrlCreatePic(@ScriptDir&"\Klovis.jpg", 0, 0, @DesktopWidth, @DesktopHeight, -1, $WS_EX_LAYERED) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### $o = 0 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE ExitLoop Exit EndSwitch Do $o = $o + 1 WinSetTrans("Form1", "", $o) Until $o = 254 Do $o = $o - 1 WinSetTrans("Form1", "", $o) Until $o = 1 WEnd
monoscout999 Posted July 3, 2011 Posted July 3, 2011 (edited) You want it to run behind the desktop icons, but front the desktop? That is a hard thing to do!! the desktop is like a window and the icons are as icons in a window, maybe but i really dont know, you can play with the background... i never do something like that. Edited July 3, 2011 by monoscout999
Fubarable Posted July 3, 2011 Posted July 3, 2011 My guess is that you would want to write a routine in C or C++ for this to work and that you would need to call several methods from Windows dll's. Good luck with it!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now