| View previous topic :: View next topic |
| Author |
Message |
Learning one
Joined: 04 Apr 2009 Posts: 1000 Location: Croatia
|
Posted: Tue Mar 16, 2010 8:00 am Post subject: [Solved]Get transparency when WinGet fails |
|
|
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?
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 |
|
 |
Teaching two Guest
|
Posted: Tue Mar 16, 2010 8:36 am Post subject: |
|
|
| 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
|
Posted: Tue Mar 16, 2010 9:06 am Post subject: |
|
|
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" -->  |
|
| Back to top |
|
 |
Learning one
Joined: 04 Apr 2009 Posts: 1000 Location: Croatia
|
Posted: Wed Mar 17, 2010 6:04 pm Post subject: |
|
|
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 |
|
 |
|