tintin92 Posted December 30, 2005 Share Posted December 30, 2005 Hi, The command ControlSetText work with Edit control, but dont seen work with date control. ControlSetText("Ajouter", "", "TEdit1", "Orange") This one work. ControlSetText("Ajouter", "", "TDateTimePicker3", "01/05/1990") This one dont work. Where is my mistake. Thanks in advance. Tintin92 Tintin92 Link to comment Share on other sites More sharing options...
tintin92 Posted December 30, 2005 Author Share Posted December 30, 2005 Find a workaround. ControlFocus ("Ajouter ", "", "TDateTimePicker3") Send("08/10/1995") If you have something safer, please tell it. Regards. Tintin92 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 30, 2005 Moderators Share Posted December 30, 2005 Thanks for sharing your work around tintin92, I'm afraid I didn't know what program you were playing with to be able to attempt to help, but nice to know you posted a self made solution!! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
seandisanti Posted December 30, 2005 Share Posted December 30, 2005 Find a workaround.ControlFocus ("Ajouter ", "", "TDateTimePicker3")Send("08/10/1995")If you have something safer, please tell it.Regards.you could use ControlSend() instead of Send() then you dont' have to worry about setting focus, or anything (like another script) changing the active window while data is being sent. 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