vladtsepesh Posted April 9, 2014 Posted April 9, 2014 (edited) Hi all, I'm investigating the way to interact with a calendar popup window app. The AutoIt Window Info gives me this info: >>>> Control <<<< Class: SysMonthCal32 Instance: 1 ClassnameNN: SysMonthCal321 Name: Advanced (Class): [CLASS:SysMonthCal32; INSTANCE:1] I thought to set the the data via the _GUICtrlMonthCal_SetToday with this little snippet of code Local $hCalendar = WinGetHandle("Calendar") _GUICtrlMonthCal_SetToday($hCalendar, 2014, 3, 31) trying to debug the behavior of the script I add these few lines Local $sString = _GUICtrlMonthCal_GetTodayStr($hCalendar) ConsoleWrite ( $sString ) ControlClick($hCalendar, "", "Button1") but I get the date as 00/00/0000 and, obviously, when send the click to the Button1, the control return to the main app an uninitialized value. TIA for any useful help. PS: googling the help I found the _GUICtrlMonthCal_SetCurSel method, it doesn't work either. Edited April 9, 2014 by vladtsepesh
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