topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 10:31 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: SOLVED: Pass a MMM-YY date to a form using AHK  (Read 6390 times)

xtroublex

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
SOLVED: Pass a MMM-YY date to a form using AHK
« on: April 22, 2010, 11:39 AM »
I know this can't be too difficult but I cannot for the life of me find a help file or anything that can tell me how to pass a date to a form. I have an oracle form that I am creating a one click button for that will run the report that we need without having to enter all of the criteria manually. It asks for a date in the format MMM-YY but I don't know how to script that in AutoHotKey.

Thank you for your help.

X

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: Pass a MMM-YY date to a form using AHK
« Reply #1 on: April 22, 2010, 03:34 PM »
I assume by MMM-YY, you mean something like 'Apr-10'.  If so, here you go:

Code: AutoIt [Select]
  1. FormatTime, myDate, % A_Now, MMM-yy
  2. MsgBox, % myDate