Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/22/2016 in all areas

  1. @trumso02 welcome to the forum. There are a couple of ways you can do this, as long as you keep in mind that you are never going to keep a determined person out of your script. If it is for your own personal comfort, you could do one of the following: Simple: Add an InputBox with blocked out characters. If the password doesn't match, exit: #include <MsgBoxConstants.au3> $sPass = InputBox("My Script", "Enter Master Password", "", "@") If $sPass <> "My Name is Bobby" Then Exit(MsgBox($MB_OK, "My Script", "You blew it!")) A little more complex, add a command-line parameter that you have to call the executable with in order for it to work (compiled scripts only): #include <MsgBoxConstants.au3> If Not StringInStr($cmdlineRaw, "/My Name is Bobby") Then Exit(MsgBox($MB_OK, "My Script", "You blew it!")) MsgBox($MB_OK, "", "Test") I am sure others will have more suggestions for you.
    1 point
  2. I should perhaps post that the default code works faultlessly on Win7 with OpenOffice, and on Win10 with MS Office Excel 2013. Even Excel opened the file without complaints
    1 point
  3. @czardas you deserve 5 stars. Excellent. Thank you kindly
    1 point
  4. This is already reported COM Error Handler - not always fires event You can do one of this solution: back to AutoIt 3.3.12.x make a workaround wait for fixing ( I hope soon in next beta or release )
    1 point
  5. Have you tried my UDF? https://www.autoitscript.com/forum/topic/155748-csvsplit/ _ArrayToCSV() does not wrap all fields in double quotes: only those that require it.
    1 point
×
×
  • Create New...