jimmer Posted February 8, 2005 Share Posted February 8, 2005 Also, if it can be done? Could someone give me a basic code on how to? Link to comment Share on other sites More sharing options...
Insolence Posted February 8, 2005 Share Posted February 8, 2005 Don't think so... maybe a DLLCall can. Come to think of it I saw GetPixel (I think) yesturday on MSDN, but I'm not sure how to specify hwnd's. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
jimmer Posted February 8, 2005 Author Share Posted February 8, 2005 (edited) As you were told... it was not possible though? =O edit: what's a DLLCall? or MSDN or hwnd? :"> Edited February 8, 2005 by jimmer Link to comment Share on other sites More sharing options...
Insolence Posted February 8, 2005 Share Posted February 8, 2005 hwnd is short for 'Window Handle', the specific ID of a window regardless of its title. DLLCall is an AutoIT function able to use Dynamic Link Libraries internal functions, like the actual command windows uses for mouse clicks, or drawing things on the screen. MSDN is a huge database Microsoft has of it's API (aplication protocol interface, I think). Which is basically a huge help file I'm researching this right now, if I can figure this out then this will make my f'ing day. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Insolence Posted February 8, 2005 Share Posted February 8, 2005 Bump* Anyone know if GetPixel can be used on a minimized window? OR Is GetPixel faster then PixelGetColor in AutoIT? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Insolence Posted February 10, 2005 Share Posted February 10, 2005 Bump**** "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
layer Posted February 10, 2005 Share Posted February 10, 2005 Come to think of it I saw GetPixel (I think) yesturday on MSDN, but I'm not sure how to specify hwnd's.to specify hwnd's it depeneds... some things say: hWnd; HWND.. and osme say things like hDC; DEVICE CONTEXT... not exactly what they say but, u know, if they say HDC u have to do something like this$dc= DllCall ("user32.dll", "int", "GetDC", "hwnd", $handle) ; SOME DLLCALL FUNCTION HERE $realesedc= DllCall ("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0]) FootbaG Link to comment Share on other sites More sharing options...
Insolence Posted February 10, 2005 Share Posted February 10, 2005 (edited) Which I did do. Wanna try this out Layer? I can't get it to work, maybe you can. Also I think the second array element ($dc[1] for example) stores the DC. EDIT -- Included what I've done so far.Test_Drawer.au3 Edited February 10, 2005 by Insolence "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
layer Posted February 10, 2005 Share Posted February 10, 2005 definatley i do! but i have to do it tomorrow i have a bit of a project im working on right now, which i am enjoying because its an AutoIt project... but tomorrow, ill take a look at it FootbaG Link to comment Share on other sites More sharing options...
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