Jump to content

Help please -


Recommended Posts

Quick question:

#MsgBox(64, "Add New", "Time and Date?")
InputBox ( "Date", "Date/Month/Year", "29/07/2007")
#include <GUIConstants.au3>

$hGUI = GUICreate("EventLog", 400, 300)
$iMemo = GUICtrlCreateEdit("", 2, 2, 396, 296)
GUICtrlSetFont($iMemo, 9, 400, 0, "Courier New")
GUISetState()

MemoWrite("29/07/2007")

do
until GUIGetMsg() = $GUI_EVENT_CLOSE

Func MemoWrite($sMessage)
  GUICtrlSetData($iMemo, $sMessage & @CRLF, 1)
EndFunc

Thats what ive got at the moment im trying to make a Alarm clock where you enter a date and time and then on that date and time it will make a pop up message like msn. Is that possible?

Anyway thats what ive done so far im only new to this. Erm how can i make it so that when someone enters the time and date here:

InputBox ( "Date", "Date/Month/Year", "29/07/2007")

How can i make it so that when it reaches here:

MemoWrite("29/07/2007")

That is writes the date from the input box?

Thanks alot.

TD4U

Link to comment
Share on other sites

  • Moderators

$var = InputBox(blahblah)

MemoWrite($var)

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...