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

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
satish_k
Posts: 15
Joined: Wed Sep 13, 2006 9:18 am

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

Post by satish_k » Tue Sep 19, 2006 1:57 pm

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
satish_k
Posts: 15
Joined: Wed Sep 13, 2006 9:18 am

hi no one with solution

Post by satish_k » Thu Sep 21, 2006 11:36 am

Hi all,
I think date cannot be changed to previous months date by automation hence there is no answer for my posting


Regards
Satish
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Sep 22, 2006 3:39 pm

Hi,

Your duplicate post has been answered here:

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

Daniel Kerr
iOpus Support
Post Reply