Guest cedlef Posted May 5, 2005 Share Posted May 5, 2005 Hi everyone. I ve just discovered that wonderful soft. What a great work guys. I can't find how to catch the value of a progress bar within a software installation window. Autoit info window give me the controlid of that progress bar but there isn't any function to interact with it. If anyone has any idea... Thanks anyway PS : i think autoIt plus kixtart make a great couple. In fact, autoit is way more stronger than kixtart for gui and installation kind of thing. But, there are some things that kixtart can do and autoIt can't. May be you developers could you take some ideas to create a greater scripting language. Good night. Link to comment Share on other sites More sharing options...
GaryFrost Posted May 6, 2005 Share Posted May 6, 2005 (edited) c++ function from MSDN:lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) PBM_GETPOS, // message ID (WPARAM) wParam, // = 0; not used, must be zero (LPARAM) lParam // = 0; not used, must be zero );Uses comctl32.dllneed to translate into DllCall<{POST_SNAPBACK}>Not sure about the DllCall but this might workFunc _PBGetPos($h_wnd) Const $WM_USER = 0x400 Const $PBM_GETPOS = ($WM_USER+8) Return GUICtrlSendMsg($h_wnd, $PBM_GETPOS, 0, 0) EndFuncnot sure of correct format for this one but I think this is it for dllcallConst $WM_USER = 0x400 Const $PBM_GETPOS = ($WM_USER+8) $pos = DllCall("user32.dll","int","SendMessage","hwnd",$h_wnd,"int",$PBM_GETPOS,"long",0,"long",0) MsgBox(0,"pos",$pos[0])Edit: not sure if int or long is the replacement in dllcall for uint Edited May 6, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
CyberSlug Posted May 6, 2005 Share Posted May 6, 2005 See here: http://www.autoitscript.com/forum/index.ph...progress++meter Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Guest cedlef Posted May 6, 2005 Share Posted May 6, 2005 A bit more complicated than i thought. But at least, it made me discovered Win Api!!! Thanks a lot you guys. 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