AutoHotkey Community

It is currently May 27th, 2012, 11:40 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Can't fade the Start orb
PostPosted: April 27th, 2010, 6:52 am 
Offline

Joined: December 24th, 2009, 2:21 pm
Posts: 14
I'm trying to fade the Start orb in and out. I can fade the taskbar in and out with no problems, but when I try to fade the Start orb, the orb gets replaced by a white plain button with "Start" in bitty text on it.

My actual script has a loop that does a gradual fade but the script below will demonstrate what I mean.

Note, if you run this, you will have to close and restart explorer.exe to get your orb back again.

Code:
^F12::
DetectHiddenWindows, On
WinActivate, Start ahk_class Button
Winset, Transparent, 100, Start ahk_class Button
return

^F11::
DetectHiddenWindows, On
WinActivate, Start ahk_class Button
Winset, Transparent, 255, Start ahk_class Button
return


Can anyone shed any light on this and how I might actually be able to fade the Start orb in and out.

_________________
---------------
Dallas


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2010, 7:29 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6074
Location: San Diego, California
What version of windows are you using?

Use window Spy to find the name of the "orb".
Depending on the version of windows it is either part of the taskbar (I think) or else it has its own window.

If you can't get the name of the window then use the on/off script you posted to hide the taskbar so that window spy can see the name of the "orb" itself. (I don't think this is needed, but it gives you an alternate idea to pursue anyway)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2010, 7:56 am 
Offline

Joined: December 24th, 2009, 2:21 pm
Posts: 14
It's Win 7. And yes, since Vista, the Start orb is in its own Window. Winspy reports both the orb itself and the white button that I spoke of as
Start ahk_class Button, so I'm definitely controlling the correct object.

But why trying to fade it does this bizarre thing is a mystery to me.

_________________
---------------
Dallas


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2010, 8:05 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6074
Location: San Diego, California
:?: http://www.autohotkey.com/forum/topic56403.html


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2010, 8:35 am 
Offline

Joined: December 24th, 2009, 2:21 pm
Posts: 14
Yes, I'd seen that thread, but nothing there fades it.

_________________
---------------
Dallas


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], bowen666, MSN [Bot] and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group