I'm trying to enter the currentdate into a field on a window. The field is actually some sort of date/calendar control, as you can use the up and down arrow keys to change the date. When I added Send> CurrentDate to the script, it just stops and beeps, but won't populate the field with the currentdate.
Any suggestions?
Problem entering CurrentDate in field on Window
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
will not work.Send> CurrentDate
Send> only sends keystroke characters, so this is the same as typing in the word CurrentDate where ever the cursor happens to be.
This will work if CurrentDate is actually a variable that was made from GetDate>, like this:
Be sure that the cursor is in a field that can accept the value of %CurrentDate%. Also, the date entered will be in the format as defined by your System.GetDate>CurrentDate
Send>%CurrentDate%
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!