JustinZandee Posted June 23, 2017 Share Posted June 23, 2017 Hello everyone, I want to ask some questions about my script which I have right now. 1. I have a question about this: $password = InputBox("Password","Enter your password.") $confirmpassword = MsgBox(4,"Password","Are you sure that the desired password is " & $password) If $confirmpassword = 7 Then $password = InputBox("Password","Enter the desired password.") $confirmpassword = MsgBox(4,"Password","Are you sure that the desired password is " & $password) Else EndIf How can I make it so when they click on 'no' again after "$confirmpassword = MsgBox(4,"Password","Are you sure that the desired password is " & $password)" that they get the "$password = InputBox("Password","Enter your password.")" again? 2. How can I make it so the program does something on a specific time stamp (with seconds)? I am Dutch, so when it is 13:00.00, it means 1 PM. 3. How can I stop SciTe from overwriting sentences? https://gyazo.com/6f885c086a0a2fcd5a07c3133745a943 This were my questions for now. I hope I will get help quickly. Thanks. Greetings, Justin Link to comment Share on other sites More sharing options...
BlackDistrib Posted June 23, 2017 Share Posted June 23, 2017 1. Sorry can not help. 2. Maybe use @SEC? 3. Hit you 'INSERT' key. Link to comment Share on other sites More sharing options...
JustinZandee Posted June 23, 2017 Author Share Posted June 23, 2017 Thanks for your help for now. But to other people what I mean't to say with 2. is the time in HOURS, MINUTES & SECONDS! Link to comment Share on other sites More sharing options...
Developers Jos Posted June 23, 2017 Developers Share Posted June 23, 2017 1.Something like: Do $password = InputBox("Password","Enter the desired password.") Until MsgBox(4,"Password","Are you sure that the desired password is " & $password) <> 7 1 hour ago, JustinZandee said: I am Dutch 2. Maakt dat uit? Just use the @HOUR/@MIN/@SEC macro's. Look at the helpfile for them and also look at the _Date* functions. 3. You probably hit the Ins button which toggles between overwrite and insert. Status at the Left bottom shows either OVR or INS. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JustinZandee Posted June 23, 2017 Author Share Posted June 23, 2017 @Jos 1. Kan je uitleggen hoe ik dat moet doen. Dat hij bijvoorbeeld een msgbox met "hoi" doet om 12:00.00 2. En wat betekend <> 7 dan? Heb je trouwens Skype zodat ik je een berichtje kan sturen als ik hulp nodig heb? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 23, 2017 Developers Share Posted June 23, 2017 Lets do this in English so everybody can benefit form this discussion. 1. Have you even looked before asking me to type this code for you? I am a pretty lazy person when it comes having to do all the typing for somebody else but will help when some effort is shown and code is posted. 2. Again something you can find in the helpfile, but it is pretty simple: that loop keeps looping until the retuncode of the MsgBox is equal to 7. So "<>" means "Not Equal". Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JustinZandee Posted September 20, 2017 Author Share Posted September 20, 2017 @Jos was just wondering, how old are you? Because you joined 2003. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 20, 2017 Developers Share Posted September 20, 2017 ... leuk... gewoon even een persoonlijke vraag in open forum. Ik ben 58, dus ga al een poosje mee in de IT wereld. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JustinZandee Posted September 20, 2017 Author Share Posted September 20, 2017 @Jos Sooo... Dan ben je best goed in Engels.. De meeste 50+'ers kunnen geen reet Engels Maar dat is al best oud dan.. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 20, 2017 Developers Share Posted September 20, 2017 (edited) Ik heb het grootste deel van mijn leven voor Amerikaanse bedrijven gewerkt dus heb voornamelijk in "een soort van Engels" geschreven en gesproken in mijn werk. 3 minutes ago, JustinZandee said: Maar dat is al best oud dan.. Dit zegt iets over jouw leeftijd, omdat het relatief is... voor mij is mijn moeder erg oud... ik nog niet. Jos Edited September 20, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JustinZandee Posted September 20, 2017 Author Share Posted September 20, 2017 1 minute ago, Jos said: Ik heb het grootste deel van mijn leven voor Amerikaanse bedrijven gewerkt dus heb voornamelijk in "een soort van Engels" geschreven en gesproken in mijn werk. Jos Wow... Bekende Amerikaanse bedrijven? Link to comment Share on other sites More sharing options...
JustinZandee Posted September 20, 2017 Author Share Posted September 20, 2017 2 minutes ago, Jos said: Dit zegt iets over jouw leeftijd, omdat het relatief is... voor mij is mij moeder erg oud... ik nog niet. Haha.. Ik ben 12, word bijna 13.. (Best jong nu ik er over na denk ) Link to comment Share on other sites More sharing options...
Developers Jos Posted September 20, 2017 Developers Share Posted September 20, 2017 (edited) Let's continue in PM and not bother all those none Dutch speaking people with our complicated crazy Dutch language. Jos Edited September 20, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RTFC Posted September 20, 2017 Share Posted September 20, 2017 On 6/23/2017 at 5:08 PM, JustinZandee said: En wat betekend <> 7 dan? Before you start making condescending remarks about other people's language skills, you might want to learn how to spell properly in your native language. My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
JustinZandee Posted September 20, 2017 Author Share Posted September 20, 2017 Lol 2 minutes ago, RTFC said: Before you start making condescending remarks about other people's language skills, you might want to learn how to spell properly in your native language. I didn't say anything regarding to that. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 20, 2017 Developers Share Posted September 20, 2017 @RTFC, Doubt our fiend is getting your hint. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RTFC Posted September 21, 2017 Share Posted September 21, 2017 11 hours ago, Jos said: our fiend Freudian typo? My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
KickStarter15 Posted September 21, 2017 Share Posted September 21, 2017 (edited) Hallo, leuk om te hebben goolge vertalen ... Ik kan het duidelijk lezen en ik moet weten hoe dit werkt. Ik heb doorlopende codering met hetzelfde probleem maar later misschien wel. Ik wacht dan maar .. Edited September 21, 2017 by KickStarter15 Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 21, 2017 Developers Share Posted September 21, 2017 Yea right ... "zo helder als modder". Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
KickStarter15 Posted September 22, 2017 Share Posted September 22, 2017 (edited) @Jos, I've got it. When they want to return back to Enter Password. "Dat is alles wat ik nodig heb om de code te voltooien." Thanks! Global $apass Do $pass = InputBox(@UserName, "Enter Password:", "", "*M", 200, 120, 550, 380) If @error = 1 Then Exit If $pass <> "abc@123" Then $apass = MsgBox(4, "Invalid!", "Password incorrect! Please try again.") If $apass = 7 Then Exit Else Call("$Form1") EndIf Until $apass <> 6 Edited September 22, 2017 by KickStarter15 Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. 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