Page 1 of 1

how to change date to one month back from today using imacro

Posted: Tue Sep 19, 2006 1:57 pm
by satish_k
Hi,
how to change date to one month back from today using imacro.
The code that I have is as follows

VERSION BUILD=5200814
SIZE X=500 Y=500
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://elf.meterpower.co.uk/login.asp
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:groupid CONTENT=<userid>
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:userid CONTENT=<pwd>
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:form1 ATTR=NAME:password CONTENT=<>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=NAME:Enter&&VALUE:Enter
'Comment: New page loaded
WAIT SECONDS=3
URL GOTO=http://elf.meterpower.co.uk/sp_main.asp
CLICK X=100 Y=100
ONDOWNLOAD FOLDER=* FILE=+_{{!NOW:yyyymmdd_hhnnss}}
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:Form1 ATTR=NAME:demcons&&VALUE:KWH CONTENT=KWH
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:Form1 ATTR=NAME:Consolidate&&VALUE:YES CONTENT=YES
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:Form1 ATTR=NAME:datestart CONTENT={{!NOW:dd"/"mm"/"yyyy}}

Regards
Satish

hi no one with solution

Posted: Thu Sep 21, 2006 11:36 am
by satish_k
Hi all,
I think date cannot be changed to previous months date by automation hence there is no answer for my posting


Regards
Satish

Posted: Fri Sep 22, 2006 3:39 pm
by Tech Support
Hi,

Your duplicate post has been answered here:

http://forum.imacros.net/viewtopic.php?t=1561

Daniel Kerr
iOpus Support