Jump to content
Sign in to follow this  
yaso

set the date in a date field : NOT autoit picker

Recommended Posts

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.

date.jpg

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...