Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/28/2013 in all areas

  1. New version 1.7.3.0 is out! Download current release Place to post bugs and suggestions (Bug tracker) Online help (Wiki) What's new: Graphic editorBetter support of limited accounts and UAC under Vista/SevenStyles editor allow multiple selectionIcons in additional controls (Tab, ListView, TreeView)Redone Object tree, with support of editable descriptionsAwareness of GUI_SS_DEFAULT stylesAnd many smaller changes (see full history) New version 1.7.2.0 is out! What's new: Added small abilities that become in latest beta of AutoitImproved language systemImproved update checkingImproved siteNew version 1.7.1.0 is out! What's new: Customizing colorsExternal import frameworkCustom controls (ones that available via standard UDFs)Rewritten support for icon - now it support full color onesBetter support (bugtracker, wiki)Bugfix release 1.7.0.1 is out! After another year, new version 1.7.0.0 is out! Most significant changes in this release: Customizable toolbarsUndo supportAligning paletteImport Autoit GUI scriptsFull help file, with context sensitive help supportAnd as usually, lots of bugfixes and small changes. After long period of development and testing, new release 1.6.0.0 is finally here! Thanks to all who support us and help done this work! Most significant changes from previous release: New, more fast and reliable form read/write routines.Rewritten form list handling codeMenus support (with visual editor)Obj support (with visual browser)Templates-based code generationGenerating event-based codeHelp file (unfinished)Old topic is here, some bugs posted there are not resolved yet, so please check it too.
    1 point
  2. To be sure what to specify for parameters 3-5 logon as a domain user and run the following code: #include <AD.au3> _AD_Open() ConsoleWrite("$sAD_DNSDomain: " & $sAD_DNSDomain & @CRLF) ConsoleWrite("$sAD_HostServer: " & $sAD_HostServer & @CRLF) ConsoleWrite("$sAD_Configuration: " & $sAD_Configuration & @CRLF) _AD_Close()
    1 point
  3. Hi SirWayNe, thanks for reporting, try now? Ciao.
    1 point
  4. Some time ago I was playing around in the AutoITTools.lua file and learned that there was a function for generating function headers. For reasons I don't know, it was never added to the scite tools menu. So if you would like to get it working here is how I got it to work. Add this code to file au3.properties located in "C:\Program Files\AutoIt3\SciTE\properties". You can also get to it from Scite menu Options --> open au3.properties. Restart Scite and it should be in your menu. # 37 Generates a function header and inserts it into the document. command.name.37.$(au3)=Generate Function Header command.subsystem.37.$(au3)=3 command.37.$(au3)=InvokeTool AutoItTools.InsertFunctionHeader command.shortcut.37.$(au3)=Ctrl+Alt+H command.save.before.37.$(au3)=2 The generated header will look something like this ; =================================================================== ; _ExampleFunction($iKey, ByRef $second, $third, $forth = 4, $fifth = 5, $sixth = 6) ; ; Description - ; Parameters: ; $iKey - IN - ; $second - IN/OUT - ; $third - IN - ; $forth - IN/OPTIONAL - ; $fifth - IN/OPTIONAL - ; $sixth - IN/OPTIONAL - ; Returns: ; Success - ; Error - ; Remarks - ; =================================================================== Func _ExampleFunction($iKey, ByRef $second, $third, $forth = 4, $fifth = 5, $sixth = 6) ;; EndFunc I also made a modified version of these functions that will generate a header more like the ones you are used to seeing around autoit. To use copy and paste these two functions attached to file AutoITtools.lua located in C:\Program Files\AutoIt3\SciTE\LUA. CreateAutoITFunctionHeader.zip Then again, add this code to file au3.properties (code is different from above code) # 37 Generates a function header and inserts it into the document. command.name.37.$(au3)=Generate Function Header command.subsystem.37.$(au3)=3 command.37.$(au3)=InvokeTool AutoItTools.InsertAutoitFunctionHeader command.shortcut.37.$(au3)=Ctrl+Alt+H command.save.before.37.$(au3)=2 Only part I couldn't figure out was how to set default parameters.. ; #FUNCTION# ==================================================================================================== ; Name...........: _ExampleFunction ; Description ...: ; Syntax.........: _ExampleFunction($iKey , ByRef $second, $third [, $forth = [, $fifth = [, $sixth = ]]]) ; Parameters ....: $iKey - ; $second - ; $third - ; $forth - ; $fifth - ; $sixth - ; Return values .: Success - ; Failure - ; Author ........: Beege ; Modified.......: ; Remarks .......: None ; Link ..........: ; Example .......: ; =============================================================================================================== Func _ExampleFunction($iKey, ByRef $second, $third, $forth = 4, $fifth = 5, $sixth = 6) ;; EndFunc Don't forget to add your name to the "Author" variable. Let me know if you have any problems.
    1 point
×
×
  • Create New...