MvGulik Posted September 3, 2010 Posted September 3, 2010 (edited) Can you do anything with a GDK window from within AutoIt ? With "with" I of course mean direct (or relative direct) internal window-control manipulation. I figure "Nothing" to "Not much" is on the menu. ... ? Edited September 3, 2010 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ...
wakillon Posted September 4, 2010 Posted September 4, 2010 I find a post who they are talking about GDK Windowbut there is a little problem... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
MvGulik Posted September 5, 2010 Author Posted September 5, 2010 Wat problem might that be. It readable. well kinda. "AutoIt has been resolved very well on gdkWindow can not control" Not sure if that code there is of any use. But at least I got something to play with later. "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ...
wakillon Posted September 5, 2010 Posted September 5, 2010 (edited) When I saw The title "AutoIt has been resolved very well on gdkWindow can not control"I thinked they had not found solution ! And i can't try it, witout gdk window...#include <WinAPIEx.au3> #include <WinAPI.au3> Local $a,$HSEd1 $a = WinGetHandle ( "[CLASS:gdkWindowChild]" ) $HSEd1 = _WinAPI_GetDlgItem ( _SMain ( ), 1032 ) MsgBox ( 8192 + 64, "Window Handle", $HSEd1, 20 ) Func _SMain ( ) Local $aWindows, $i, $text, $text1, $text2, $PHWnd $aWindows = _WinAPI_EnumChildWindowS ( $a, 0 ) ; find masked window For $i = 1 To UBound ( $aWindows ) - 1 $text = $aWindows[$i][0] ; Window Handle $text1 = $aWindows[$i][1] ; Window Class $text2 = WinGetTitle ( $aWindows[$i][0] ) ; Window Title If $text <> "" And $text1 = "Static" And $text2 = "Control title" Then $PHWnd = _WinAPI_GetParent ( $text ) Return $PHWnd ; Return to find order in the parent window handle EndIf Next EndFunc ;==> _SMain ( ) Edited September 5, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now