Jump to content

Recommended Posts

Posted

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
Posted (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 by monoscout999
Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...