ileandros Posted June 17, 2012 Share Posted June 17, 2012 Hi, I have a programm with an ie navigator. I am trying to add a progress bar to it but i can't. Only thing i managed is adding a fake progress bar with some sleep seconds between the progress change of the progress bar. Is it able to make it read the IE progress and work according with it??? Thanks in advance. I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
stormbreaker Posted June 18, 2012 Share Posted June 18, 2012 (edited) Wish to track IE progress-bar? I suggest using AU3Info tool to get the classname and instance of progress-bar (it is this for my case:)Class: msctls_progress32Instance: 1ClassnameNN: msctls_progress321Name:Advanced (Class): [CLASS:msctls_progress32; INSTANCE:1]ID: 1Text:Position: 1107, 825Then you could use GuiCtrlRead() and ControlGetHandle() to solve your problem...The progress bar isn't visible by default, you will have to load a page and then use AU3Info tool on it. Edited June 18, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
ileandros Posted June 19, 2012 Author Share Posted June 19, 2012 I am trying to find another way. I want to make it base on my script not on IE progress bar.. I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
Zedna Posted June 20, 2012 Share Posted June 20, 2012 Then you could use GuiCtrlRead() and ControlGetHandle() to solve your problem...GUICtrlRead() can't be used to read data from controls in external applications. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
ileandros Posted June 21, 2012 Author Share Posted June 21, 2012 GUICtrlRead() can't be used to read data from controls in external applications.There are ways to do it but they are not good. Is there another way to make it work base on script and not on Progressbar of the IE? I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
Zedna Posted June 21, 2012 Share Posted June 21, 2012 (edited) If you want to get position of progressbar in external application then you can do it like this#include <ProgressConstants.au3> #include <SendMessage.au3> $hProgress = ControlGetHandle(...) _SendMessage($hProgress, $PBM_GETPOS, 0, 0)EDIT: MSDNhttp://msdn.microsoft.com/en-us/library/windows/desktop/bb760830%28v=vs.85%29.aspx Edited June 21, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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