Sign in to follow this  
Followers 0
pilotic

Sending Today's Date for keyboard entry

5 posts in this topic

I am trying to determine how to generate a script that will run daily - and type in today's date in the format of mmddyyyy in a data entry field. I am can setup all other data entry fields - but don't know how to generate the value for today - and then have the script type the value of that field. Any help is appreciated.

Thanks!

Share this post


Link to post
Share on other sites



I am trying to determine how to generate a script that will run daily - and type in today's date in the format of mmddyyyy in a data entry field. I am can setup all other data entry fields - but don't know how to generate the value for today - and then have the script type the value of that field. Any help is appreciated.

Thanks!

$Day = @Month&@Day&@Year

Share this post


Link to post
Share on other sites

$Day = @Month&@Day&@Year
When I try this

[$Day = @Month&@Day&@Year

MsgBox(0,"Today","Today's date is " & $Day)]

I get an error saying undefined macro.

I am using version 3.2.0.1

Thoughts as to what is wrong?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

$Day = @MON &"/"& @WDAY &"/"& @Year
MsgBox(0,"Today","Today's date is " & $Day)

oh and instead of using [ ] use [ autoit ] [ /autoit] (no spaces)

it formats the script like that in the forums

Edited by Rad

Share this post


Link to post
Share on other sites

$Day = @MON &"/"& @WDAY &"/"& @Year
MsgBox(0,"Today","Today's date is " & $Day)

oh and instead of using [ ] use [ autoit ] [ /autoit] (no spaces)

it formats the script like that in the forums

Yeah, i think i was drunk when i made my last post

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  
Followers 0