Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/12/2022 in all areas

  1. water

    AD - Active Directory UDF

    Version 1.6.3.0

    17,280 downloads

    Extensive library to control and manipulate Microsoft Active Directory. Threads: Development - General Help & Support - Example Scripts - Wiki Previous downloads: 30467 Known Bugs: (last changed: 2020-10-05) None Things to come: (last changed: 2020-07-21) None BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort
    1 point
  2. CYCho

    Media Player Embedding

    The playlist seems to have 0-based index numbers. In order to remove the first item, I passed 0 to _MP_PlaylistRemoveItem() function.
    1 point
  3. What's New in Version v1.9.5 (and v1.9.6) - Added 2 new algorithm-specific functions. _CryptoNG_AES_GCM_EncryptData _CryptoNG_AES_GCM_DecryptData Added an AES GCM example to the examples file. Added AES GCM functions to the Help File. Optimized some internal functions Updated the supplied calltips and userudfs files. Misc function header corrections/modifications v1.9.6 _CryptoNG_AES_GCM_DecryptData Added an explicit Authorization Tag length validation. ( @error = 8 ) Updated the function's help file entry to reflect the new @error (8). Slightly modified the AES GCM encrypt/decrypt example to make the return values from the encryption, which is an array, more explicit and easier to understand.
    1 point
  4. Use a For/Next loop Use this StringRegExpReplace($string, '-.*', "") BTW this thread is nearly 10 years old, you could have created a new one ...
    1 point
  5. After reading the @junkew's link above relating to the DOT (graph description language), I saw that the Graphviz software, interpreting that language, can generate interesting graphs. This intrigued me and I looked for some other sw that can be used easily through AutoIt. I found this other link http://viz-js.com/ that practically emulates the previous sw in a web page using Javascript. This is interesting because it could allow you to embed that sw in an AutoIt GUI. Unfortunately that link does not seem to work in IE, and this precludes the possibility of easily incorporating it into AutoIt. However I saw that an older version of that site also worked in IE. So I recovered previous versions of the javascript scripts, which allowed me to incorporate that SW into an AutoIt GUI. I sketched it all out in the attached zip file which also contains a small AutoIt script to assemble everything into one simple GUI. Changing the DOT listing on the left panel (by hand for now ...) the graph is automatically updated on the right panel. This could be a first step for a sw that transforms an AutoIt listing into a graph. Now I'm trying to generate a DOT listing from and AutoIt source using @RTFC's "Code Scanner", in order to "send" it to the GUI above ... (not easy) Any suggestion and/or advice is welcome. see you later... p.s. To test the graphic qualities of the sw viz-js, you can copy and paste the DOT listings found at this link: https://graphviz.org/gallery/ (click on any image to see the DOT listing to copy. DOT2Flow.zip p.s. related links: https://github.com/kieler/elkjs?tab=readme-ov-file https://rtsys.informatik.uni-kiel.de/elklive/ https://retejs.org/
    1 point
  6. Try setting zoom to false: $workbook.sheets(1).pagesetup.Zoom=False $workbook.sheets(1).pagesetup.FitToPagesWide=1 $workbook.sheets(1).pagesetup.FitToPagesTall=1
    1 point
  7. hmm, use a label or a pic. ?
    1 point
  8. CYCho

    Media Player Embedding

    This works for me.
    1 point
  9. Sort a multi-dimensional array with multiple sort columns. Max 9 dimensions. This routine focus on functionality and flexibility and not on performance. It is meant to be a supplement to the _ArraySort routine which focus is on performance. I have included a parameter description below which gives you an idea how it works. Also I feel that the example file should get you started. ; _ArraySortMulti ; Sort a multi-dimensional array with multiple sort columns. Max 9 dimensions. ; ; _ArraySortMulti(ByRef $avArray, COL0 ..[, mixed $arg], COL1 ..[, mixed $arg], [DEBUG]) ; $avArray - Array to sort. ; $sCOL0,$sCOL1 - Required. Must be COL followed by a number. ; First column start with zero - COL0. ; A 1-dimensional array has one column named COL0. ; Multiple sort columns are allowed in any order. ; $arguments - [optional] ASC, DESC, REGULAR, NUMERIC, STRING, INSEN_STRING, UserOrder, HexOrder. ; Can be repeated for every column to sort. ; All arguments can be specified in any order and in both lower and upper case. ; You can place all arguments in one string separated by comma ; or mix it with multiple strings in separate variables. ; Do whatever is convenient to you. ; $sASC - Default=ASC. ASC gives Ascending sort order. ; $sDESC - Default=ASC. DESC gives Descending sort order. ; $sREGULAR - Default=REGULAR. REGULAR treat values as they are. Don't change types. ; Lexicographically string compares. Case insensitive. ; WARNING: Using REGULAR with strings might give you unpredictable results like 'AA' > 'AB'. ; Use STRING, INSEN_STRING and NUMERIC whenever possible. ; $sNUMERIC - Default=REGULAR. NUMERIC treat values numerically. ; $sSTRING - Default=REGULAR. STRING treat values as strings. Case sensitive. ; $sINSEN_STRING- Default=REGULAR. INSEN_STRING treat values as strings. Case insensitive. ; $sUserOrder - Default=No order change. Change sort order without changing any data in the array. ; Specify UserOrder=(DataFrom=DataTo in pairs (FromTo) separated by semicolon). ; Example UserOrder=(January=1;February=2;March=3;April=4) Changes the orders of months lacking numbers. ; You do not use single or double quotes inside parenthesis unless they are data themselves. ; Parameters like NUMERIC, STRING applies like normal, see examples. ; $sHexOrder - Default=No order change. Change sort order without changing any data in the array. ; Specify HexOrder=(HexFrom=HexTo in pairs (FromTo) separated by semicolon). ; Example HexOrder=(C6=5B;D8=5C;C5=5D;E6=7B;F8=7C;E5=7D) Changes hexcode C6 to 5B and so on. ; The main purpose of this is to simplify sorting for countries like the Scandinavians ; who use additional letters to the english alphabet. A one time job for each country. ; Example Hex(Asc("Æ"),2)) & Hex(91,2) will give HexOrder=(C6=5B) ; Replace hexcode C6 with 5B without changing data so as to change sort order of strings. ; $sDEBUG - Default=No debug. If DEBUG will list the arrays before and after sort. ; You only need to specify once. ; Return values : Success = 1 ; Failure = 0, sets @error: ; |1 - $avArray is not an array ; |3 - Invalid COL parameter ; |4 - COL parameter missing or in wrong position ; |5 - Unknown parameter found ; |6 - Max 9-dimensions exceeded. ; |7 - Cannot use NUMERIC and HexOrder on the same column ; |8 - HexOrder specifications invalid ; |9 - UserOrder specifications invalid ; Author : Thopaga ; Modified : 18 aug 2019 ; Remarks : This routine focus on functionality and flexibility and not on performance. ; It is meant to be a supplement to the _ArraySort routine which focus is on performance. ; Related : _ArraySort ; Link : ; Example : Yes ArraySortMulti.zip
    1 point
×
×
  • Create New...