Xenobiologist Posted July 28, 2005 Share Posted July 28, 2005 (edited) #include <GUIConstants.au3> #include <string.au3> $HOSTPWD = InputBox("Security Check", "Bitte geben Sie das Host-Passwort ein:", "", "*", 220, 130) $HOSTPWD2 = InputBox("Security Check", "Bitte geben Sie das Host-Passwort erneut ein:", "", "*", 220, 130) if $HOSTPWD = $HOSTPWD2 Then $encryptedHOSTPWD = _StringEncrypt ( 1, $HOSTPWD, "encrypt" [, 5 ] ) IniWrite("pwd.ini", "Notes", "PWD", $encryptedHOSTPWD) EndIf What´s wrong with it? I get this error message: >C:\Programme\AutoIt3\SciTe\CompileAU3\CompileAU3.exe /prod /AU3Check /in "C:\Downloads\AutoIt-Skripte\Entwicklung\Test.au3" >Running AU3Check...C:\Programme\AutoIt3\SciTe\Defs\Production\Au3Check\au3check.dat C:\Programme\AutoIt3\Include\string.au3(16,59) : ERROR: $strHex already declared as parameter Local $strChar, $aryHex, $i, $iDec, $Char, $file, $strHex, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programme\AutoIt3\Include\string.au3(60,112) : ERROR: $i_EncryptLevel already declared as parameter Please help me, I am starting to learn AutoIT. So long, Mega Edited July 28, 2005 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
GaryFrost Posted July 28, 2005 Share Posted July 28, 2005 Need to post your question in support. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted July 28, 2005 Share Posted July 28, 2005 $encryptedHOSTPWD = _StringEncrypt ( 1, $HOSTPWD, "encrypt" , 5 ) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 28, 2005 Author Share Posted July 28, 2005 (edited) $encryptedHOSTPWD = _StringEncrypt ( 1, $HOSTPWD, "encrypt" , 5 )<{POST_SNAPBACK}>Thanks for your quick help, but I ´ve got still the same problem. I can even copy scripts from the examples in the internet. Maybe there is a problem with Scite working togehter with string.au3? I don´t know. The error message again:>C:\Programme\AutoIt3\SciTe\CompileAU3\CompileAU3.exe /prod /AU3Check /in "C:\Downloads\AutoIt-Skripte\Encrpytion_Test.au3">Running AU3Check...C:\Programme\AutoIt3\SciTe\Defs\Production\Au3Check\au3check.datC:\Programme\AutoIt3\Include\string.au3(16,59) : ERROR: $strHex already declared as parameter Local $strChar, $aryHex, $i, $iDec, $Char, $file, $strHex, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Programme\AutoIt3\Include\string.au3(60,112) : ERROR: $i_EncryptLevel already declared as parameterSo long, Mega Edited July 28, 2005 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 28, 2005 Author Share Posted July 28, 2005 Hello again, I got it by myself. It was an error in the string.au3. I just downloaded the new beta Version and know the function works well. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now