Prévisualiser...  Imprimer...  Imprimer la page...
Prévisualiser...  Imprimer...  Imprimer la section...
 
MenuMobil

menu mob

 
Vous êtes ici :   Accueil » Enregistrement
menu_deroulant_lineaire
rss Cet article est disponible en format standard RSS pour publication sur votre site web :
http://surgand.com/prog/data/fr-articles.xml

iMacro étant disponible dans Firefox (icône à gauche de l'adresse) il est possible d'enregistrer la saisie dans le formulaire.
Aller à l'article du formulaire complet (http://surgand.com/articles.php?lng=fr&pg=88) enregistrer la macro par iMacro et réaliser la saisie.
En fin de saisie, éditer la macro, elle doit ressembler au texte ci-dessous.

VERSION BUILD=7401110 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://surgand.com/articles.php?lng=fr&pg=88
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formulaire ATTR=NAME:nom CONTENT=dupond
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formulaire ATTR=NAME:prenom CONTENT=jean
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:formulaire ATTR=NAME:sexe&&VALUE:M
TAG POS=1 TYPE=SELECT FORM=NAME:formulaire ATTR=NAME:fonction CONTENT=%autre
TAG POS=1 TYPE=TEXTAREA FORM=NAME:formulaire ATTR=NAME:commentaires CONTENT=blabli<SP>blabla
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:formulaire ATTR=VALUE:Envoyer
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:javascript:history.back() ATTR=VALUE:Retour<SP>au<SP>formulaire

Avant de jouer cette macro, il est utile de changer les valeurs et d'ajouter des temporisations pour avoir le temps de voir la saisie. De plus, si le formulaire est déjà présent sur l'écran, la ligne URL devient inutile.

La macro devient :

VERSION BUILD=7401110 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formulaire ATTR=NAME:nom CONTENT=dupond
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formulaire ATTR=NAME:prenom CONTENT=jean
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:formulaire ATTR=NAME:sexe&&VALUE:M
WAIT SECONDS=1
TAG POS=1 TYPE=SELECT FORM=NAME:formulaire ATTR=NAME:fonction CONTENT=%autre
WAIT SECONDS=1
TAG POS=1 TYPE=TEXTAREA FORM=NAME:formulaire ATTR=NAME:commentaires CONTENT=blabli<SP>blabla
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:formulaire ATTR=VALUE:Envoyer
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:javascript:history.back() ATTR=VALUE:Retour<SP>au<SP>formulaire


Date de création : 08/01/2012 00:32
Dernière modification : 09/01/2012 16:12
Catégorie : - iMacro
Page lue 10513 fois
Précédent  
  Suivant


Réactions à cet article

Personne n'a encore laissé de commentaire.
Soyez donc le premier !

Boîte essais
Préférences

Se reconnecter :
Votre nom (ou pseudo) :
Votre mot de passe


  Nombre de membres 5 membres
Connectés :
( personne )
Snif !!!
Calendrier
Lettre d'information
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
3 Abonnés