AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved]Get transparency when WinGet fails

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Learning one



Joined: 04 Apr 2009
Posts: 1000
Location: Croatia

PostPosted: Tue Mar 16, 2010 8:00 am    Post subject: [Solved]Get transparency when WinGet fails Reply with quote

Question Question: I can't get degree of transparency of a window because of some conditions (caused by OS behavior) such as the window having been minimized, restored, and/or resized since it was made transparent. Any alternative way to get degree of transparency in this situation?

Arrow Answer: No


* * *


Original post:

Command: WinGet, OutputVar, Transparent, %WinTitle%
AHK help, WinGet wrote:
OutputVar is made blank if: 1) the OS is older than Windows XP; 2) there are no matching windows; 3) the window has no transparency level; or 4) other conditions (caused by OS behavior) such as the window having been minimized, restored, and/or resized since it was made transparent.

Any alternative way to get degree of transparency of a window when OutputVar is made blank?
Elimination: 1) I'm using Win XP 2) there are matching windows
Thanks in advance.


Last edited by Learning one on Fri Apr 09, 2010 2:14 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Teaching two
Guest





PostPosted: Tue Mar 16, 2010 8:36 am    Post subject: Reply with quote

Quote:
Any alternative way to get degree of transparency of a window when OutputVar is made blank?
Not if ...
Quote:
3) the window has no transparency level; or 4) other conditions (caused by OS behavior) such as the window having been minimized, restored, and/or resized since it was made transparent
Back to top
Learning one



Joined: 04 Apr 2009
Posts: 1000
Location: Croatia

PostPosted: Tue Mar 16, 2010 9:06 am    Post subject: Reply with quote

Yes I know, but I was hoping that some DllCall() could do the job...
And, I can eliminate 3) the window has no transparency level as well

P.S. "Teaching two" --> Smile
Back to top
View user's profile Send private message Visit poster's website
Learning one



Joined: 04 Apr 2009
Posts: 1000
Location: Croatia

PostPosted: Wed Mar 17, 2010 6:04 pm    Post subject: Reply with quote

Any ideas?
I can't get degree of transparency of a window because of reason number 4:
other conditions (caused by OS behavior) such as the window having been minimized, restored, and/or resized since it was made transparent

Any magic DllCall() to do the job? Or should I conclude that in this case there is no alternative way to get transparency?
If somebody wants to help and wants me to post my code, just say it...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group