--- In [email protected], "jbkilian" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "swzoh" <seanzoh@> wrote:
> >
> > --- In [email protected], "jbkilian" <jo.kilian@> wrote:
> 
> > > I want to achieve the following:
> > > While my mouse is NOT on the desktop background, the desktop icons
> > > should be hidden. When my mouse moves on the desktop background the
> > > icons should be shown automatically.
> > > 
> > > I've figured out how to show/hide the desktop icons via
> > > ----------
> > > Desktop HideShowIcons
> > > ----------
> > > but I cannot figure out, how to determine whether the mouse is on
> > > desktop background or not using PPro
> > 
> > if(Win.MainHandleFromPoint(xmouse,ymouse).class == "Progman")
> > 
> 
> Tried the following:
> ------- CleanDesktop.PowerPro ---------------------
> event.createms(500, 0, "[EMAIL PROTECTED]")
> quit
> 
> @CleanDesktop
>   If(Win.MainHandleFromPoint(xmouse,ymouse).class == "Progman") Do
>     *Desktop ShowIcons
>   Else
>     *Desktop HideIcons
>   EndIf
> Quit
> -----------------------------------------------------
> Running the script, the Icons disappear - but do not show again when
> moving the mouse to the desktop ...

Win.Match(Win.MainHandleFromPoint(xmouse,ymouse),"c=Progman,c=#32769")
or
Win.Match(Win.Handle("under"),"c=Progman,65556")

Reply via email to