yaso Posted September 25, 2017 Posted September 25, 2017 I am trying to set the date in a date picker field not created by autoit (shown in the attached images). I did not create this field. It already exists in the window. I used the following code: ; enter from date $sFromDate = "09/01/2017" ControlFocus($hWnd, "", "WindowsForms10.SysDateTimePick32.app.01") ControlSetText($hWnd, "", "WindowsForms10.SysDateTimePick32.app.01", $sFromDate ) As the AutoIt Window Info gave me info about the control but not the specific items ( month/day/year) inside the control. How to set the date? Thanks.
Moderators JLogan3o13 Posted September 25, 2017 Moderators Posted September 25, 2017 Moved to the appropriate forum, as the Technical Discussion forum clearly states: Quote Do not post general support questions here, instead use the AutoIt Help and Support forums "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
yaso Posted November 10, 2017 Author Posted November 10, 2017 On 9/25/2017 at 4:31 PM, JLogan3o13 said: Moved to the appropriate forum, as the Technical Discussion forum clearly states: Where is the appropriate forum that you moved this post to?
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