Aide sur variable

Aide sur les Interfaces Graphique Utilisateurs (GUI).
Règles du forum
.
Répondre
wooodboy77
Niveau 1
Niveau 1
Messages : 3
Enregistré le : ven. 12 mai 2017 13:30
Status : Hors ligne

Aide sur variable

#1

Message par wooodboy77 » sam. 13 mai 2017 10:43

Bonjour,
J'aimerai faire un choix dans ma liste (GUICtrlCreateList) , et exécuter le fichier à partir d'un de mes répertoire.
Merci par avance de votre aide

Code : Tout sélectionner

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ComboConstants.au3>
#include <ButtonConstants.au3>
#include <IE.au3>
#include <GUIConstantsEx.au3>
#include <Misc.au3>

	$Form1 = GUICreate("Form1", 400, 300, 150, 100)

	Local $font, $msg

	$tab = GUICtrlCreateTab( 0, 0, 700, 290)

	GUICtrlCreateTabItem("          MAIL EIR           ")
	
	GUISetFont(9, 400, 2, $font)
	
	$combo_Site = GUICtrlCreateList("SITE", 25, 50, 150, 150, BitOR($GUI_SS_DEFAULT_COMBO,$CBS_SIMPLE))
	
	GUICtrlSetData(-1,"Agen|Ajaccio|Albi|Alençon")
	  
	$mail_ok = GUICtrlCreateButton("ENVOI MAIL", 210, 100, 120, 65)
		  
	GUICtrlCreateTabItem("")
	
	GUISetState()

   While 1
   $nMsg = GUIGetMsg()
   Switch $nMsg
      
   Case $mail_ok  ; Envoi du mail  OK
   if GUICtrlRead ($combo_Impact) = "Agen" Then ;si le site Agen est sélectionné alors 
   Shellexecute ("\\intra\profils\D003\i2160dr\D\Desktop\Auto\Mail Eir\Agen.au3>")
     
  EndSwitch
Modifié en dernier par orax le sam. 13 mai 2017 13:12, modifié 1 fois.
Raison : Ajout des balises pour le code.

wooodboy77
Niveau 1
Niveau 1
Messages : 3
Enregistré le : ven. 12 mai 2017 13:30
Status : Hors ligne

Re: Aide sur variable

#2

Message par wooodboy77 » jeu. 18 mai 2017 16:06

J'ai pu trouver Faire quelque modifications

Code : Tout sélectionner

#include <GUIConstantsEx.au3>
#include <ComboConstants.au3>
#include <ButtonConstants.au3>

Opt("GUIOnEventMode", 1)

Global $test
; Variables Combo

 $Agen = "Agen"
 $Ajaccio = "Ajaccio "
 $Albi = "Albi "
 $Alencon = "Alencon"
 $Amiens = "Amiens"
 $Angers = "Angers"
 $Angouleme = "Angouleme"
 $Annecy = "Annecy"
 $Arras = "Arras"
 $Auch = "Auch"
 $Aurillac = "Aurillac"
 $Auxerre = "Auxerre "
 $Avignon = "Avignon "
 $Bar_le_Duc = "Bar_le_Duc"
 $Bastia = "Bastia"
 $Bayonne = "Bayonne"
 $Beauvais = "Beauvais"
 $Belfort = "Belfort"
 $Besancon = "Besancon"
 $Beziers = "Beziers"
 $Blois = "Blois"
 $Bordeaux = "Bordeaux"
 $Boulogne_sur_Mer = "Boulogne_sur_Mer"
 $Bourg_en_Bresse = "Bourg_en_Bresse"
 $Bourges = "Bourges"
 $Brest = "Brest"
 $Caen = "Caen"
 $Cahors = "Cahors"
 $Calais = "Calais"
 $Carcassonne = "Carcassonne"
 $Castres = "Castres"
 $Cergy_Pontoise = "Cergy_Pontoise"
 $Chalon_sur_Saone = "Chalon_sur_Saone"
 $Chalons_en_Champagne = "Chalons_en_Champagne"
 $Chambery = "Chambery"
 $Charleville_Mezieres = "Charleville_Mezieres"
 $Chartres = "Chartres"
 $Chateauroux = "Chateauroux"
 $Chaumont = "Chaumont"
 $Cherboug = "Cherboug"
 $Cholet = "Cholet"
 $Clermont_Ferrand = "Clermont_Ferrand"
 $Cluses = "Cluses"
 $Colmar = "Colmar"
 $Compiegne = "Compiegne"
 $Creteil = "Creteil"
 $Dieppe = "Dieppe"
 $Digne_les_Bains = "Digne_les_Bains"
 $Dijon = "Dijon"
 $Douai = "Douai"
 $Dunkerque = "Dunkerque"
 $Epinal = "Epinal"
 $Evreux = "Evreux"
 $Evry = "Evry"
 $Foix = "Foix"
 $Gap = "Gap"
 $Gerland = "Gerland"
 $Grenoble = "Grenoble"
 $Guadeloupe = "Guadeloupe"
 $Gueret = "Gueret"
 $Guyane = "Guyane"
 $IEDOM_Paris = "IEDOM_Paris"
 $La_Roche_sur_Yon = "La_Roche_sur_Yon"
 $La_Rochelle = "La_Rochelle"
 $Laon = "Laon"
 $Laval = "Laval"
 $Le_Havre = "Le_Havre"
 $Le_Mans = "Le_Mans"
 $Le_Puy_en_Velay = "Le_Puy_en_Velay"
 $Lille = "Lille"
 $Limoges = "Limoges"
 $Lons_le_Saunier = "Lons_le_Saunier"
 $Lorient = "Lorient"
 $Lyon_Confluence = "Lyon_Confluence"
 $Macon = "Macon"
 $Marne_la_Vallee = "Marne_la_Vallee"
 $Marseille = "Marseille"
 $Martinique = "Martinique"
 $Maubeuge = "Maubeuge"
 $Mayotte = "Mayotte"
 $Melun = "Melun"
 $Mende = "Mende"
 $Metz = "Metz"
 $Mont_de_Marsan = "Mont_de_Marsan"
 $Montauban = "Montauban"
 $Montpellier = "Montpellier"
 $Montrouge = "Montrouge"
 $Moulins = "Moulins"
 $Mulhouse = "Mulhouse"
 $Nancy = "Nancy"
 $Nanterre = "Nanterre"
 $Nantes = "Nantes"
 $Nevers = "Nevers"
 $Nice = "Nice"
 $Nimes = "Nimes"
 $Niort = "Niort"
 $Orleans = "Orleans"
 $Pantin = "Pantin"
 $Paris_Bastille = "Paris_Bastille"
 $Paris_DAR = "Paris_DAR"
 $Paris_Raspail = " $Paris_Raspail"
 $Pau = "Pau"
 $Perigueux = "Perigueux"
 $Perpignan = "Perpignan"
 $Poitiers = "Poitiers"
 $Privas = "Privas"
 $Quimper = "Quimper"
 $Reims = "Reims"
 $Remiremont = "Remiremont"
 $Rennes = "Rennes"
 $Reunion = "Reunion"
 $Roanne = "Roanne"
 $Rodez = "Rodez"
 $Roubaix = "Roubaix"
 $Rouen = "Rouen"
 $Saint_Brieuc = "Saint_Brieuc"
 $Saint_Denis = "Saint_Denis"
 $Saint_Etienne = "Saint_Etienne"
 $Saint_Lo = "Saint_Lo"
 $Saint_Pierre_et_Miquelon = "Saint_Pierre_et_Miquelon"
 $Saint_Quentin = "Saint_Quentin"
 $Sarreguemines = "Sarreguemines"
 $Strasbourg = "Strasbourg"
 $Tarbes = "Tarbes"
 $Toulon = "Toulon"
 $Toulouse = "Toulouse"
 $Tours = "Tours"
 $Troyes = "Troyes"
 $Tulle = "Tulle"
 $Valence = "Valence"
 $Valenciennes = "Valenciennes"
 $Vannes = "Vannes"
 $Versailles = "Versailles"
 $Vesoul = "Vesoul"
 $Vienne = "Vienne"
 
;Variables boutton
Global $boutton32 = "32 bits"
Global $boutton64 = "64 bits"

ChoixOS ()

Func ChoixOS ()

	;~ Crée la GUI
	Global $boite = GUICreate ("Choix O$", 250, 175, 500, 250)
	GUISetOnEvent($GUI_EVENT_CLOSE,"close");on execute la fonction "close" quand qqun appuie sur la croix blanche sur fond rouge
	;(ou utilise alt+F4)
	
	;~ Crée le boutton "Suivant"
	Global $suite = GUICtrlCreateButton ("MAIL OK", 160, 150, 85, 25)
	GUICtrlSetOnEvent ($suite, "Interlude")

	;~ Crée la liste Combo
	Global $List = GUICtrlCreateCombo($Agen, 10, 10, 200, 200, $CBS_DROPDOWNLIST, $CBS_SORT)

	; Ajoute des éléments à la liste combo
   GUICtrlSetData (-1, $Agen)
   GUICtrlSetData (-1, $Ajaccio)
   GUICtrlSetData (-1, $Albi)
   GUICtrlSetData (-1, $Alencon)
   GUICtrlSetData (-1, $Amiens)
   GUICtrlSetData (-1, $Angers)
   GUICtrlSetData (-1, $Angouleme)
   GUICtrlSetData (-1, $Annecy)
   GUICtrlSetData (-1, $Arras)
   GUICtrlSetData (-1, $Auch)
   GUICtrlSetData (-1, $Aurillac)
   GUICtrlSetData (-1, $Auxerre)
   GUICtrlSetData (-1, $Avignon)
   GUICtrlSetData (-1, $Bar_le_Duc)
   GUICtrlSetData (-1, $Bastia)
   GUICtrlSetData (-1, $Bayonne)
   GUICtrlSetData (-1, $Beauvais)
   GUICtrlSetData (-1, $Belfort)
   GUICtrlSetData (-1, $Besancon)
   GUICtrlSetData (-1, $Beziers)
   GUICtrlSetData (-1, $Blois)
   GUICtrlSetData (-1, $Bordeaux)
   GUICtrlSetData (-1, $Boulogne_sur_Mer)
   GUICtrlSetData (-1, $Bourg_en_Bresse)
   GUICtrlSetData (-1, $Bourges)
   GUICtrlSetData (-1, $Brest)
   GUICtrlSetData (-1, $Caen)
   GUICtrlSetData (-1, $Cahors)
   GUICtrlSetData (-1, $Calais)
   GUICtrlSetData (-1, $Carcassonne)
   GUICtrlSetData (-1, $Castres)
   GUICtrlSetData (-1, $Cergy_Pontoise)
   GUICtrlSetData (-1, $Chalon_sur_Saone)
   GUICtrlSetData (-1, $Chalons_en_Champagne)
   GUICtrlSetData (-1, $Chambery)
   GUICtrlSetData (-1, $Charleville_Mezieres)
   GUICtrlSetData (-1, $Chartres)
   GUICtrlSetData (-1, $Chateauroux)
   GUICtrlSetData (-1, $Chaumont)
   GUICtrlSetData (-1, $Cherboug)
   GUICtrlSetData (-1, $Cholet)
   GUICtrlSetData (-1, $Clermont_Ferrand)
   GUICtrlSetData (-1, $Cluses)
   GUICtrlSetData (-1, $Colmar)
   GUICtrlSetData (-1, $Compiegne)
   GUICtrlSetData (-1, $Creteil)
   GUICtrlSetData (-1, $Dieppe)
   GUICtrlSetData (-1, $Digne_les_Bains)
   GUICtrlSetData (-1, $Dijon)
   GUICtrlSetData (-1, $Douai)
   GUICtrlSetData (-1, $Dunkerque)
   GUICtrlSetData (-1, $Epinal)
   GUICtrlSetData (-1, $Evreux)
   GUICtrlSetData (-1, $Evry)
   GUICtrlSetData (-1, $Foix)
   GUICtrlSetData (-1, $Gap)
   GUICtrlSetData (-1, $Gerland)
   GUICtrlSetData (-1, $Grenoble)
   GUICtrlSetData (-1, $Guadeloupe)
   GUICtrlSetData (-1, $Gueret)
   GUICtrlSetData (-1, $Guyane)
   GUICtrlSetData (-1, $IEDOM_Paris)
   GUICtrlSetData (-1, $La_Roche_sur_Yon)
   GUICtrlSetData (-1, $La_Rochelle)
   GUICtrlSetData (-1, $Laon)
   GUICtrlSetData (-1, $Laval)
   GUICtrlSetData (-1, $Le_Havre)
   GUICtrlSetData (-1, $Le_Mans)
   GUICtrlSetData (-1, $Le_Puy_en_Velay)
   GUICtrlSetData (-1, $Lille)
   GUICtrlSetData (-1, $Limoges)
   GUICtrlSetData (-1, $Lons_le_Saunier)
   GUICtrlSetData (-1, $Lorient)
   GUICtrlSetData (-1, $Lyon_Confluence)
   GUICtrlSetData (-1, $Macon)
   GUICtrlSetData (-1, $Marne_la_Vallee)
   GUICtrlSetData (-1, $Marseille)
   GUICtrlSetData (-1, $Martinique)
   GUICtrlSetData (-1, $Maubeuge)
   GUICtrlSetData (-1, $Mayotte)
   GUICtrlSetData (-1, $Melun)
   GUICtrlSetData (-1, $Mende)
   GUICtrlSetData (-1, $Metz)
   GUICtrlSetData (-1, $Mont_de_Marsan)
   GUICtrlSetData (-1, $Montauban)
   GUICtrlSetData (-1, $Montpellier)
   GUICtrlSetData (-1, $Montrouge)
   GUICtrlSetData (-1, $Moulins)
   GUICtrlSetData (-1, $Mulhouse)
   GUICtrlSetData (-1, $Nancy)
   GUICtrlSetData (-1, $Nanterre)
   GUICtrlSetData (-1, $Nantes)
   GUICtrlSetData (-1, $Nevers)
   GUICtrlSetData (-1, $Nice)
   GUICtrlSetData (-1, $Nimes)
   GUICtrlSetData (-1, $Niort)
   GUICtrlSetData (-1, $Orleans)
   GUICtrlSetData (-1, $Pantin)
   GUICtrlSetData (-1, $Paris_Bastille)
   GUICtrlSetData (-1, $Paris_DAR)
   GUICtrlSetData (-1, $Paris_Raspail)
   GUICtrlSetData (-1, $Pau)
   GUICtrlSetData (-1, $Perigueux)
   GUICtrlSetData (-1, $Perpignan)
   GUICtrlSetData (-1, $Poitiers)
   GUICtrlSetData (-1, $Privas)
   GUICtrlSetData (-1, $Quimper)
   GUICtrlSetData (-1, $Reims)
   GUICtrlSetData (-1, $Remiremont)
   GUICtrlSetData (-1, $Rennes)
   GUICtrlSetData (-1, $Reunion)
   GUICtrlSetData (-1, $Roanne)
   GUICtrlSetData (-1, $Rodez)
   GUICtrlSetData (-1, $Roubaix)
   GUICtrlSetData (-1, $Rouen)
   GUICtrlSetData (-1, $Saint_Brieuc)
   GUICtrlSetData (-1, $Saint_Denis)
   GUICtrlSetData (-1, $Saint_Etienne)
   GUICtrlSetData (-1, $Saint_Lo)
   GUICtrlSetData (-1, $Saint_Pierre_et_Miquelon)
   GUICtrlSetData (-1, $Saint_Quentin)
   GUICtrlSetData (-1, $Sarreguemines)
   GUICtrlSetData (-1, $Strasbourg)
   GUICtrlSetData (-1, $Tarbes)
   GUICtrlSetData (-1, $Toulon)
   GUICtrlSetData (-1, $Toulouse)
   GUICtrlSetData (-1, $Tours)
   GUICtrlSetData (-1, $Troyes)
   GUICtrlSetData (-1, $Tulle)
   GUICtrlSetData (-1, $Valence)
   GUICtrlSetData (-1, $Valenciennes)
   GUICtrlSetData (-1, $Vannes)
   GUICtrlSetData (-1, $Versailles)
   GUICtrlSetData (-1, $Vesoul)
   GUICtrlSetData (-1, $Vienne)

#EndRegion ### END Koda GUI section ###
	GUISetState(@SW_SHOW, $boite)


	While 1
		sleep(10);oui ça sert pas à grand chose, mais j'aime pas laisser une boucle vide
	WEnd
EndFunc

;~ ; Fonction Interlude

Func Interlude ()
	Switch GUICtrlRead($List);j'utilise un switch, c'est plus joli et on fait appel à la fonction que une seule fois. Mais ça marche avec une succession de if/eslseif
		 
   Case $Agen
		 Agen()
Case $Ajaccio
		 Ajaccio()
   Case $Albi
		 Albi()
   Case $Alencon
		 Alencon()
   Case $Amiens
		 Amiens()
   Case $Angers
		 Angers()
   Case $Angouleme
		 Angouleme()
   Case $Annecy
		 Annecy()
   Case $Arras
		 Arras()
   Case $Auch
		 Auch()
   Case $Aurillac
		 Aurillac()
   Case $Auxerre
		 Auxerre()
   Case $Avignon
		 Avignon()
   Case $Bar_le_Duc
		 Bar_le_Duc()
   Case $Bastia
		 Bastia()
   Case $Bayonne
		 Bayonne()
   Case $Beauvais
		 Beauvais()
   Case $Belfort
		 Belfort()
   Case $Besancon
		 Besancon()
   Case $Beziers
		 Beziers()
   Case $Blois
		 Blois()
   Case $Bordeaux
		 Bordeaux()
   Case $Boulogne_sur_Mer
		 ()
   Case $Bourg_en_Bresse
		 Bourg_en_Bresse()
   Case $Bourges
		 Bourges()
   Case $Brest
		 Brest()
   Case $Caen
		 Caen()
   Case $Cahors
		 Cahors()
   Case $Calais
		 Calais()
   Case $Carcassonne
		 Carcassonne()
   Case $Castres
		 Castres()
   Case $Cergy_Pontoise
		 Cergy_Pontoise()
   Case $Chalon_sur_Saone
		 Chalon_sur_Saone()
   Case $Chalons_en_Champagne
		 Chalons_en_Champagne()
   Case $Chambery
		 Chambery()
   Case $Charleville_Mezieres
		 Charleville_Mezieres()
   Case $Chartres
		 Chartres()
   Case $Chateauroux
		 Chateauroux()
   Case $Chaumont
		 Chaumont()
   Case $Cherboug
		 Cherboug()
   Case $Cholet
		 Cholet()
   Case $Clermont_Ferrand
		 Clermont_Ferrand()
   Case $Cluses
		 Cluses()
   Case $Colmar
		 Colmar()
   Case $Compiegne
		 Compiegne()
   Case $Creteil
		 Creteil()
   Case $Dieppe
		 Dieppe()
   Case $Digne_les_Bains
		 Digne_les_Bains()
   Case $Dijon
		 Dijon()
   Case $Douai
		 Douai()
   Case $Dunkerque
		 Dunkerque()
   Case $Epinal
		 Epinal()
   Case $Evreux
		 Evreux()
   Case $Evry
		 Evry()
   Case $Foix
		 Foix()
   Case $Gap
		 Gap()
   Case $Gerland
		 Gerland()
   Case $Grenoble
		 Grenoble()
   Case $Guadeloupe
		 Guadeloupe()
   Case $Gueret
		 Gueret()
   Case $Guyane
		 $Guyane()
   Case $IEDOM_Paris
		 IEDOM_Paris()
   Case $La_Roche_sur_Yon
		 La_Roche_sur_Yon()
   Case $La_Rochelle
		 La_Rochelle()
   Case $Laon
		 Laon()
   Case $Laval
		 Laval()
   Case $Le_Havre
		 Le_Havre()
   Case $Le_Mans
		 Le_Mans()
   Case $Le_Puy_en_Velay
		 Le_Puy_en_Velay()
   Case $Lille
		 Lille()
   Case $Limoges
		 Limoges()
   Case $Lons_le_Saunier
		 Lons_le_Saunier()
   Case $Lorient
		 Lorient()
   Case $Lyon_Confluence
		 Lyon_Confluence()
   Case $Macon
		 Macon()
   Case $Marne_la_Vallee
		 Marne_la_Vallee()
   Case $Marseille
		 Marseille()
   Case $Martinique
		 Martinique()
   Case $Maubeuge
		 Maubeuge()
   Case $Mayotte
		 Mayotte()
   Case $Melun
		 Melun()
   Case $Mende
		 Mende()
   Case $Metz
		 Metz()
   Case $Mont_de_Marsan
		 Mont_de_Marsan()
   Case $Montauban
		 Montauban()
   Case $Montpellier
		 Montpellier()
   Case $Montrouge
		 Montrouge()
   Case $Moulins
		 Moulins()
   Case $Mulhouse
		 Mulhouse()
   Case $Nancy
		 Nancy()
   Case $Nanterre
		 Nanterre()
   Case $Nantes
		 Nantes()
   Case $Nevers
		 Nevers()
   Case $Nice
		 Nice()
   Case $Nimes
		 Nimes()
   Case $Niort
		 Niort()
   Case $Orleans
		 Orleans()
   Case $Pantin
		 Pantin()
   Case $Paris_Bastille
		 Paris_Bastille()
   Case $Paris_DAR
		 Paris_DAR()
   Case $Paris_Raspail
		 Paris_Raspail()
   Case $Pau
		 Pau()
   Case $Perigueux
		 Perigueux()
   Case $Perpignan
		 Perpignan()
   Case $Poitiers
		 Poitiers()
   Case $Privas
		 Privas()
   Case $Quimper
		 Quimper()
   Case $Reims
		 Reims()
   Case $Remiremont
		 Remiremont()
   Case $Rennes
		 Rennes()
   Case $Reunion
		 Reunion()
   Case $Roanne
		 Roanne()
   Case $Rodez
		 Rodez()
   Case $Roubaix
		 Roubaix()
   Case $Rouen
		 Rouen()
   Case $Saint_Brieuc
		 Saint_Brieuc()
   Case $Saint_Denis
		 Saint_Denis()
   Case $Saint_Etienne
		 Saint_Etienne()
   Case $Saint_Lo
		 Saint_Lo()
   Case $Saint_Pierre_et_Miquelon
		 Saint_Pierre_et_Miquelon()
   Case $Saint_Quentin
		 Saint_Quentin()
   Case $Sarreguemines
		 Sarreguemines()
   Case $Strasbourg
		 Strasbourg()
   Case $Tarbes
		Tarbes()
   Case $Toulon
	  Toulon()
   Case $Toulouse
	  Toulouse()
   Case $Tours
		 Tours()
   Case $Troyes
		 Troyes()
   Case $Tulle
		 Tulle()
   Case $Valence
		 Valence()
   Case $Valenciennes
		 Valenciennes()
   Case $Vannes
		 Vannes()
   Case $Versailles
		 Versailles()
   Case $Vesoul
		 Vesoul()
   Case $Vienne
		 Vienne()
	EndSwitch
EndFunc

   
		 Func Agen()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Agen.au3")
	  EndFunc
 		 Func Ajaccio()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Ajaccio.au3")
	  EndFunc
		 Func Albi()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Albi.au3")
	  EndFunc
		 Func Alencon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Alençon.au3")
	  EndFunc
		 Func Amiens()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Amiens.au3")
	  EndFunc
  		 Func Angers()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Angers.au3")
	  EndFunc
		 Func Angouleme()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Angoulême.au3")
	  EndFunc
		 Func Annecy()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Annecyau3")
	  EndFunc
		 Func Arras()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail EirArras.au3")
	  EndFunc
		 Func Auch()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Auch.au3")
	  EndFunc
		 Func Aurillac()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Aurillac.au3")
	  EndFunc
		 Func Auxerre()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Auxerre.au3")
	  EndFunc
		 Func Avignon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Avignon.au3")
	  EndFunc
		 Func Bar_le_Duc()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bar le Duc.au3")
	  EndFunc
		 Func Bastia()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bastia.au3")
	  EndFunc
		 Func Bayonne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bayonne.au3")
	  EndFunc
		 Func Beauvais()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Beauvais.au3")
	  EndFunc
		 Func Belfort()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Belfort.au3")
	  EndFunc
		 Func Besancon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Besançon.au3")
	  EndFunc
   		 Func Beziers()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Béziers.au3")
	  EndFunc
   		 Func Blois()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Blois.au3")
	  EndFunc
   		 Func Bordeaux()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bordeaux.au3")
	  EndFunc
  		 Func Boulogne_sur_Mer()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Boulogne sur Mer.au3")
	  EndFunc
  		 Func Bourg_en_Bresse()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bourg-en-Bresse.au3")
	  EndFunc
  		 Func Bourges()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Bourges.au3")
	  EndFunc
  		 Func Brest()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Brest.au3")
	  EndFunc
  		 Func Caen()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Caen.au3")
	  EndFunc
  		 Func Cahors()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Cahors.au3")
	  EndFunc
  		 Func Calais()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Calais.au3")
	  EndFunc
  		 Func Carcassonne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Carcassonne.au3")
	  EndFunc
   		 Func Castres()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Castres.au3")
	  EndFunc
   		 Func Cergy_Pontoise()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Cergy Pontoise.au3")
	  EndFunc
   		 Func Chalon_sur_Saone()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Chalon sur Saône.au3")
	  EndFunc
   		 Func Chalons_en_Champagne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Châlons en Champagne.au3")
	  EndFunc
   		 Func Chambery()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Chambéry.au3")
	  EndFunc
   		 Func Charleville_Mezieres()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Charleville Mézières.au3")
	  EndFunc
  		 Func Chartres()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Chartres.au3")
	  EndFunc
   		 Func Chateauroux()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Chateauroux.au3")
	  EndFunc
		 Func Chaumont()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Chaumont.au3")
	  EndFunc
		 Func Cherbourg()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Cherbourg.au3")
	  EndFunc
		 Func Cholet()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Cholet.au3")
	  EndFunc
		 Func Clermont_Ferrand()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Clermont Ferrand.au3")
	  EndFunc
		 Func Cluses()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Cluses.au3")
	  EndFunc
		 Func Colmar()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Colmar.au3")
	  EndFunc
  		 Func Compiegne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Compiègne.au3")
	  EndFunc
  		 Func Creteil()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Créteil.au3")
	  EndFunc
  		 Func Dieppe()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Dieppe.au3")
	  EndFunc
  		 Func Digne_les_Bains()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Digne les Bains.au3")
	  EndFunc
  		 Func Dijon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Dijon.au3")
	  EndFunc
  		 Func Douai()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Douai.au3")
	  EndFunc
  		 Func Dunkerque()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Dunkerque.au3")
	  EndFunc
  		 Func Epinal()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Epinal.au3")
	  EndFunc
  		 Func Evreux()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Evreux.au3")
	  EndFunc
  		 Func Evry()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Evry.au3")
	  EndFunc
  		 Func Foix()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Foix.au3")
	  EndFunc
  		 Func Gap()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Gap.au3")
	  EndFunc
  		 Func Gerland()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Gerland.au3")
	  EndFunc
  		 Func Grenoble()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Grenoble.au3")
	  EndFunc
 		 Func Guadeloupe()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Guadeloupe.au3")
	  EndFunc
  		 Func Gueret()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Guéret.au3")
	  EndFunc
		 Func Guyane()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Guyane.au3")
	  EndFunc
  		 Func IEDOM_Paris()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\IEDOM Paris.au3")
	  EndFunc
  		 Func La_Roche_sur_Yon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\La Roche sur Yon.au3")
	  EndFunc
		 Func La_Rochelle()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\La Rochelle.au3")
	  EndFunc
		 Func Laon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Laon.au3")
	  EndFunc
		 Func Laval()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Laval.au3")
	  EndFunc
		 Func Le_Havre()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Le Havre.au3")
	  EndFunc
		 Func Le_Mans()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Le Mans.au3")
	  EndFunc
		 Func Le_Puy_en_Velay()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Le Puy en Velay.au3")
	  EndFunc
		 Func Lille()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Lille.au3")
	  EndFunc
		 Func Limoges()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Limoges.au3")
	  EndFunc
		 Func Lons_le_Saunier()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Lons le Saunier.au3")
	  EndFunc
		 Func Lorient()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Lorient.au3")
	  EndFunc
		 Func Lyon_Confluence()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Lyon Confluence.au3")
	  EndFunc
		 Func Macon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Mâcon.au3")
	  EndFunc
		 Func Marne_la_Vallee()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Marne la Vallée.au3")
	  EndFunc
		 Func Marseille()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Marseille.au3")
	  EndFunc
		 Func Martinique()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Martinique.au3")
	  EndFunc
		 Func Maubeuge()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Maubeuge.au3")
	  EndFunc
		 Func Mayotte()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Mayotte.au3")
	  EndFunc
		 Func Melun()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Melun.au3")
	  EndFunc
		 Func Mende()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Mende.au3")
	  EndFunc
		 Func Metz()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Metz.au3")
	  EndFunc
		 Func Mont_de_Marsan()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Mont de Marsan.au3")
	  EndFunc
		 Func Montauban()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Montauban.au3")
	  EndFunc
		 Func Montpellier()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Montpellier.au3")
	  EndFunc
		 Func Montrouge()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Montrouge.au3")
	  EndFunc
		 Func Moulins()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Moulins.au3")
	  EndFunc
		 Func Mulhouse()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Mulhouse.au3")
	  EndFunc
		 Func Nancy()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nancy.au3")
	  EndFunc
		 Func Nanterre()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nanterre.au3")
	  EndFunc
		 Func Nantes()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nantes.au3")
	  EndFunc
		 Func Nevers()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nevers.au3")
	  EndFunc
		 Func Nice()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nice.au3")
	  EndFunc
		 Func Nimes()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Nîmes.au3")
	  EndFunc
		 Func Niort()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Niort.au3")
	  EndFunc
		 Func Orleans()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Orléans.au3")
	  EndFunc
		 Func Pantin()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Pantin.au3")
	  EndFunc
		 Func Paris_Bastille()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Paris Bastille.au3")
	  EndFunc
		 Func Paris_Raspail()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Paris Raspail.au3")
	  EndFunc
		 Func Pau()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Pau.au3")
	  EndFunc
		 Func Perigueux()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Périgueux.au3")
	  EndFunc
		 Func Perpignan()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Perpignan.au3")
	  EndFunc
		 Func Poitiers()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Poitiers.au3")
	  EndFunc
		 Func Privas()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Privas.au3")
	  EndFunc
		 Func Quimper()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Quimper.au3")
	  EndFunc
		 Func Reims()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Reims.au3")
	  EndFunc
		 Func Remiremont()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Remiremont.au3")
	  EndFunc
		 Func Rennes()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Rennes.au3")
	  EndFunc
		 Func Reunion()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Réunion.au3")
	  EndFunc
		 Func Roanne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Roanne.au3")
	  EndFunc
		 Func Rodez()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Rodez.au3")
	  EndFunc
		 Func Roubaix()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Roubaix.au3")
	  EndFunc
		 Func Rouen()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Rouen.au3")
	  EndFunc
		 Func Saint_Brieuc()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Brieuc.au3")
	  EndFunc
		 Func Saint_Denis()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Denis.au3")
	  EndFunc
		 Func Saint_Etienne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Etienne.au3")
	  EndFunc
		 Func Saint_Lo()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Lô.au3")
	  EndFunc
		 Func Saint_Pierre_et_Miquelon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Pierre et Miquelon.au3")
	  EndFunc
		 Func Saint_Quentin()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Saint Quentin.au3")
	  EndFunc
		 Func Sarreguemines()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Sarreguemines.au3")
	  EndFunc
		 Func Strasbourg()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Strasbourg.au3")
	  EndFunc
		 Func Tarbes()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Tarbes.au3")
	  EndFunc
		 Func Toulon()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Toulon.au3")
	  EndFunc
		 Func Toulouse()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Toulouse.au3")
	  EndFunc
		 Func Tours()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Tours.au3")
	  EndFunc
		Func Troyes()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Troyes.au3")
	  EndFunc
		 Func Tulle()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Tulle.au3")
	  EndFunc
		 Func Valence()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Valence.au3")
	  EndFunc
	  	 Func Valenciennes()
 		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Valenciennes.au3")
	  EndFunc
	  	 Func Vannes()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Vannes.au3")
	  EndFunc
	  	 Func Versailles()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Versailles.au3")
	  EndFunc
	  	Func Vesoul()
   		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Vesoul.au3")
	 EndFunc
		 Func Vienne()
		 Shellexecute ("\\intra\profils\D003\xxxxxx\D\Desktop\Auto\Mail Eir\Vienne.au3")
	  EndFunc

wooodboy77
Niveau 1
Niveau 1
Messages : 3
Enregistré le : ven. 12 mai 2017 13:30
Status : Hors ligne

Re: Aide sur variable

#3

Message par wooodboy77 » jeu. 18 mai 2017 16:28

Du coup j'ai pu faire ma modification, mais le soucis est au niveau de ma liste qui n'est pas déroulante.

jchd
AutoIt MVPs (MVP)
AutoIt MVPs (MVP)
Messages : 1920
Enregistré le : lun. 30 mars 2009 21:57
Localisation : Sud-Ouest de la France (43.622788,-1.260864)
Status : Hors ligne

Re: Aide sur variable

#4

Message par jchd » jeu. 18 mai 2017 21:22

C'est une plaisanterie ?
La cryptographie d'aujourd'hui c'est le taquin plus l'électricité.

Répondre

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 1 invité