I will start that post like all my others
sry for my bad english and HI!
Ok everyone i got that script
Opt("MouseCoordMode", 0) Opt("PixelCoordMode", 0) HotKeySet("{PAUSE}", "Pause") HotKeySet("{ESCAPE}", "Exite") HotKeySet("{F1}", "Login1") HotKeySet("{F2}", "Login2") HotKeySet("{F3}", "Login3") HotKeySet("{F4}", "Login4") HotKeySet("{F5}", "Login5") Global $Paused Dim $var Dim $p MsgBox ( 0, "Merci", "Developpé par Jordane ***.") $SettingsFile = @SCRIPTDIR & '\Settings.ini' ;Emplacement du fichier ini pour le script $Login1 = IniRead ($SettingsFile, 'Login', 'Login1', "Corrigez le fichier ini svp") $Login2 = IniRead ($SettingsFile, 'Login', 'Login2', "Corrigez le fichier ini svp") $Login3 = IniRead ($SettingsFile, 'Login', 'Login3', "Corrigez le fichier ini svp") $Login4 = IniRead ($SettingsFile, 'Login', 'Login4', "Corrigez le fichier ini svp") $Login5 = IniRead ($SettingsFile, 'Login', 'Login5', "Corrigez le fichier ini svp") $Pw1 = IniRead ($SettingsFile, 'Mot de passes', 'Pw1', "Corrigez le fichier ini svp") $Pw2 = IniRead ($SettingsFile, 'Mot de passes', 'Pw2', "Corrigez le fichier ini svp") $Pw3 = IniRead ($SettingsFile, 'Mot de passes', 'Pw3', "Corrigez le fichier ini svp") $Pw4 = IniRead ($SettingsFile, 'Mot de passes', 'Pw4', "Corrigez le fichier ini svp") $Pw5 = IniRead ($SettingsFile, 'Mot de passes', 'Pw5', "Corrigez le fichier ini svp") ;~ Le programme attend While (1) Attendre () WEnd ;~ Fonction activer par la pression des touche Configurer plus haut Login1 () Login2 () Login3 () Login4 () Login5 () Pause () Exite () Func Login1 () Sleep (100) Send ($Login1) Sleep (500) Send ("{TAB}") Sleep (500) Send ($Pw1) Sleep (100) EndFunc Func Login2 () Sleep (100) Send ($Login2) Sleep (500) Send ("{TAB}") Sleep (500) Send ($Pw2) Sleep (100) EndFunc Func Login3 () Sleep (100) Send ($Login3) Sleep (500) Send ("{TAB}") Sleep (500) Send ($Pw3) Sleep (100) EndFunc Func Login4 () Sleep (100) Send ($Login4) Sleep (500) Send ("{TAB}") Sleep (500) Send ($Pw4) Sleep (100) EndFunc Func Login5 () Sleep (100) Send ($Login5) Sleep (500) Send ("{TAB}") Sleep (500) Send ($Pw5) Sleep (100) EndFunc Func Attendre () Sleep(1000) EndFunc ;~ Touche Quitter Func Exite () Exit EndFunc ;~ Touche Pause Func Pause() $Paused = NOT $Paused While $Paused Sleep (500) WEnd EndFunc; => Pause()
The script:
-just login one account if i hit F1 ; F2 ; F3 : F4 : F5 .....
My script is working Very well, now my question...
The only probleme is a security probleme
-as you can see it in the source code, it take the settings.ini informations to pick them in the login box*
how can i do exactly the same thing and hide the password inside the "settings.ini" file
Becose i whant to make that script for my work's mates and ofc i dont whant to make an other person able to see the password configured in the ini file
any way ?? thx eveyone
EDIT: i was wondering about that and the way for me ... is to compile the Executable AU3 script with password inside but i got no idea where to begin to do that....
EDIT 2: who know, may you need that too.... this is the settings.ini file and i whant to hide the value of these lines:
Login1=
Login2=
Login3=
Login4=
Login5=
Pw1=
Pw2=
Pw3=
Pw4=
Pw5=
;À modifier selon vos préférences [Login] ;Ici les logins desiré Login1=Test Login 1 Login2=Test Login 2 Login3=Test Login 3 Login4=Test Login 4 Login5=Test Login 5 [Mot de passes] Pw1=Test Password 1 Pw2=Test Password 2 Pw3=Test Password 3 Pw4=Test Password 4 Pw5=Test Password 5 ;1) Ne pas changer le nom du fichier ini ;2) Garder le fichier ini et l'exe dans le meme dossier ;4) Ne pas partager le fichier ini il contient vos mdp... ;========= TOUCHES =============== ;========= Escape = Quitter script ;========== Pause = Pause script ;============= F1 = ;============= F2 = ;============= F3 = ;============= F4 = ;============= F5 = ;Developpé par Jordane ***