export files loop

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
BenzMars
Posts: 1
Joined: Wed Feb 08, 2017 1:26 pm

export files loop

Post by BenzMars » Wed Feb 08, 2017 1:57 pm

Hye

Sorry for my french
Thx for ur helping
And I searched (on this forum, like another website, wiki, and so on....) a little bit before askin here, now.

So the code
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAB closeallothers
'go to website'
URL GOTO=https://siao.social.gouv.fr/siao/
TAG POS=1 TYPE=BUTTON FORM=NAME:f ATTR=TXT:Connexion
'go to menus'
TAG POS=1 TYPE=A ATTR=TXT:Administration
TAG POS=1 TYPE=A ATTR=TXT:Gérer<SP>les<SP>structures<SP>et<SP>les<SP>utilisateurs
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:rechercheStructureAdminForm ATTR=*
'click on first link of list'
TAG POS=1 TYPE=A ATTR=TXT:ADJ<SP>CARGOT<SP>-<SP>FRATERNITE<SP>SALONAISE
'click on export button'
TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:formulairePrincipal ATTR=ID:exportStructureButton
'check some checkboxes'
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ID:structureDetailAdminFormulaire ATTR=ID:exportAccueilli CONTENT=YES
TAG POS=2 TYPE=INPUT:CHECKBOX FORM=ID:structureDetailAdminFormulaire ATTR=ID:exportAccueilli CONTENT=YES
TAG POS=2 TYPE=INPUT:CHECKBOX FORM=ID:structureDetailAdminFormulaire ATTR=ID:exportHebergement CONTENT=YES
TAG POS=2 TYPE=INPUT:CHECKBOX FORM=ID:structureDetailAdminFormulaire ATTR=ID:exportBatiments CONTENT=YES
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=*
'a splash windoww open..download the xls file'
ONDOWNLOAD FOLDER=* FILE=+_{{!NOW:yyyymmdd_hhnnss}} WAIT=YES
TAG POS=2 TYPE=INPUT:SUBMIT FORM=ID:structureDetailAdminFormulaire ATTR=*
TAB T=1
'close the splash window'
TAG POS=3 TYPE=A ATTR=TXT:Annuler

SO
my script cannot record the file..
and i want to go to all links on the first page to export xls file

BUT : i don't know to do it

i somebody have clues.. THX all

Ben
From Marseille, France (03.00 pm).
Post Reply