Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/04/2021 in all areas

  1. Currently the Active Directory UDF comes with two different types of help files: <functionname>.htm (example: _AD_Open.htm): HTML file for each function of the UDF. AD.htm: Single HTML file generated by HTMHelp for all functions of the UDF. With the help of MrCreator's "Simple Library Docs Generator" I was able to create a CHM file. This looks like the CHM help file provided with AutoIt. You still can't use this help file from SciTE but at least you get the same look and feel as the AutoIt help file ability to search the full help file With the next release of the AD UDF I plan to replace all current help files with the new CHM help file. Edit: Done. Please download the AD UDF version 1.6.0.0 or newer to get the latest CHM help file (for download please have a look at my signature below). Could you please have a look at the attached CHM help file and tell me what you think?
    3 points
  2. Try this : #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### $Form1_1 = GUICreate("Form1", 372, 218, 192, 124) GUISetBkColor(0x008080) $idUsername = GUICtrlCreateInput("Username", 35, 56, 305, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER)) $idUseremail = GUICtrlCreateInput("email", 35, 84, 305, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER,$ES_LOWERCASE,$ES_READONLY)) $idPassword = GUICtrlCreateInput("password", 35, 112, 305, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER)) $Computer = GUICtrlCreateLabel("Computer Setup", 80, 8, 213, 34) GUICtrlSetFont(-1, 18, 400, 0, "Showcard Gothic") $Exit = GUICtrlCreateButton("Exit", 216, 168, 123, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $idUsername GUICtrlSetData($idUseremail, GUICtrlRead($idUsername) & "@email.com") Case $Exit Exit EndSwitch WEnd Edit : @anutt217 Explanation : GUICtrlCreateInput returns a controlID on success, not the data (in this case e.g. not the 'username') itself. To read or set the data you have to use GUICtrlRead or GUICtrlSetData.
    1 point
  3. Next step will be to modify the CSS to make the CHM look like AutoIt's CHM
    1 point
  4. This statement is no longer valid for Windows 10. There is the SFTP command. Here is the syntax: Cmd> sftp usage: sftp [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]            [-D sftp_server_path] [-F ssh_config] [-i identity_file]            [-J destination] [-l limit] [-o ssh_option] [-P port]            [-R num_requests] [-S program] [-s subsystem | sftp_server]            destination This has the advantage that the external file psftp.exe is not required.
    1 point
  5. ControlCommand("", "", "ToolbarWindow321", "SendCommandID", "12345") ; ID=12345 And I think you should also specify title/text or window's handle to distinguish window
    1 point
×
×
  • Create New...