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.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

export files loop

by BenzMars on Wed Feb 08, 2017 6:57 am

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).
BenzMars
 
Posts: 1
Joined: Wed Feb 08, 2017 6:26 am

Return to iMacros for Firefox

Who is online

Users browsing this forum: chivracq and 6 guests

-->