CodyBarrett Posted October 3, 2008 Posted October 3, 2008 hello im new here... and i would like to know if its possible to have an input passwordbox and save the text -that the user typed in- into a variable? [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size]
Andreik Posted October 3, 2008 Posted October 3, 2008 hello im new here... and i would like to know if its possible to have an input passwordbox and save the text -that the user typed in- into a variable? Like this? $PASSWORD = InputBox("PASSWORD","TYPE HERE PASSWORD","AutoIt","*") $FILE = FileOpen(@ScriptDir & "\password.txt",2) FileWrite($FILE,$PASSWORD) FileClose($FILE)
muncherw Posted October 3, 2008 Posted October 3, 2008 hello im new here... and i would like to know if its possible to have an input passwordbox and save the text -that the user typed in- into a variable? Sure. This is straight from the helpfile. $passwd = InputBox("Security Check", "Enter your password.", "", "*") Other People's Stuff:Andy Flesner's AutoIt v3: Your Quick Guide[topic="34302"]Locodarwin's ExcelCom_UDF[/topic][topic="61090"]MrCreatorR's Opera Library[/topic]
CodyBarrett Posted October 4, 2008 Author Posted October 4, 2008 Sure. This is straight from the helpfile. $passwd = InputBox("Security Check", "Enter your password.", "", "*") i tried that help file... thats why im posting here... and ill try that first script [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size]
anixon Posted October 4, 2008 Posted October 4, 2008 hello im new here... and i would like to know if its possible to have an input passwordbox and save the text -that the user typed in- into a variable?This is an adaptation of what has been published before:CODE;Encrypt the password write protect and hide the file.#include <String.au3>Global $FileName = @ScriptDir & "\password.txt"Global $EKey = "YourKey"$PASSWORD = InputBox("PASSWORD","TYPE HERE PASSWORD","AutoIt","*")If FileExists($FileName) Then FileSetAttrib($FileName, "-RSH") $FILE = FileOpen($FileName,10)FileWrite($FILE, _StringEncrypt(1, $PASSWORD, $EKey,1))FileClose($FILE)ProcessWaitClose($FileName, 30)FileSetAttrib($FileName "+RSH")Ant..
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