Page 1 of 1

!NOW does not print time but is printed as string

Posted: Sun Jan 18, 2009 10:16 pm
by whanaki
Hi,

I want to automate the creation of an appointment in my webmail program and I am using :
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:newAppointmentForm ATTR=ID:newappointment_description CONTENT=Test<SP>Appointment<SP>!NOW:ddmmyy_hhmmss

Unfortunately the !NOW part is not translated into the current time but simply entered as string so the subject of the appointment reads "Test Appointment !NOW:ddmmyy_hhmmss".

:?: :?: :?: :?:

Any advice how I can fix this?

Thanks
Martin

Re: !NOW does not print time but is printed as string

Posted: Mon Jan 19, 2009 5:24 am
by dharmendra2000
Use
{{!NOW:ddmmyy_hhmmss}}
Instead of
!NOW:ddmmyy_hhmmss

Re: !NOW does not print time but is printed as string

Posted: Mon Jan 19, 2009 10:03 pm
by whanaki
Hi,

it worked. thanks a lot.
do you have any idea where iMacro gets the time from it replaces !NOW with?

i am asking because the time that was entered was 220104 even though he had 22:58, so i am a bit confused about this. i was playing the macro in FF if that helps.

cheers
martin

Re: !NOW does not print time but is printed as string

Posted: Tue Jan 20, 2009 1:50 pm
by dharmendra2000
Use nn for Minutes, as mm is used for Month
Here in your case "220104" 01 is showing month, not minutes.

So finally your command would be like {{!NOW:ddmmyy_hhnnss}}

Re: !NOW does not print time but is printed as string

Posted: Tue Jan 20, 2009 10:53 pm
by whanaki
Hi,

and thanks again. Your helpfulness is very much appreciated.

Thanks
Martin