erez Posted December 4, 2006 Share Posted December 4, 2006 Hi I am trying to press a button in regular ToolBarWindow (ToolBarWindow321). I Search for regular Control Command in Autoit but couldnt find one. I tray to use Auto3Lib using the function _Toolbar_ButtonCount , but every time that I am using one of the ToolBar functions, I receive error message like this: C:\Program Files\AutoIt3\Include\A3LToolbar.au3 (163) : ==> Unknown function name.: Return _SendMessage($hWnd, $TB_BUTTONCOUNT, 0, 0) Return ^ ERROR My problems are: 1. Is there any way to control ToolBarWindow using standard AutoIt command? 2. When I using Auto3Lib: why am I receiving this error? Referring to the Auto3Lib I add all the include files of this library to the include directory of AutoIt application. Thank in advanced Erez Link to comment Share on other sites More sharing options...
PaulIA Posted December 4, 2006 Share Posted December 4, 2006 HiI am trying to press a button in regular ToolBarWindow (ToolBarWindow321).I Search for regular Control Command in Autoit but couldnt find one.I tray to use Auto3Lib using the function _Toolbar_ButtonCount , but every time that I am using one of the ToolBar functions, I receive error message like this:C:\Program Files\AutoIt3\Include\A3LToolbar.au3 (163) : ==> Unknown function name.: Return _SendMessage($hWnd, $TB_BUTTONCOUNT, 0, 0) Return ^ ERROR My problems are:1. Is there any way to control ToolBarWindow using standard AutoIt command?2. When I using Auto3Lib: why am I receiving this error?Referring to the Auto3Lib I add all the include files of this library to the include directory of AutoIt application.Thank in advancedErezAuto3Lib requires the latest beta in order to work. The _SendMessage function is in Misc.au3 and was added after the offical release. After you've installed the beta version of AutoIt, you can run the Toolbar demos included with Auto3Lib. If you need help with Auto3Lib, please post your questions to the Auto3Lib thread in the Example Scripts forum.Thanks,Paul Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
erez Posted December 6, 2006 Author Share Posted December 6, 2006 Paul, I Search for the missing function , add it to the code, and it is working very good. Thanks for the fast replay. Thank you for doing very good job. Shalom. 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