Jump to content

water

MVPs
  • Posts

    26,690
  • Joined

  • Last visited

  • Days Won

    204

water last won the day on March 1

water had the most liked content!

About water

Recent Profile Visitors

12,073 profile views

water's Achievements

  1. I would simply use the constant $SBARS_SIZEGRIP.
  2. I'm not sure this is what you are asking for. But I'll give it a try. I use the following function (written by Melba23) to remove style settings from controls: ; #INTERNAL_USE_ONLY#============================================================================================================ ; Name ..........: __Remove_Style ; Description ...: Remove a style from a single or multiple GUI controls. ; Syntax ........: __Remove_Style($iStyleToRemove, $id1[, $id2 = 0[, $id3 = 0[, $id4 = 0[, $id5 = 0[, $id6 = 0[, $id7 = 0[, $id8 = 0[, $id9 = 0[, $id10 = 0]]]]]]]]]) ; Parameters ....: $iStyleToRemove - integer value of the style to remove. ; $id1 - ControlID to remove the style from. ; $id2 to $id10 - [optional] additional ControlIDs to remove the style from. ; Return values .: Success - 0 ; Failure - None ; Author ........: Melba23 ; Modified ......: ; Remarks .......: Code taken from: https://www.autoitscript.com/forum/topic/209900-ignore-control-in-taborder/?tab=comments#comment-1515251 ; Related .......: ; Link ..........: ; Example .......: ; =============================================================================================================================== Func __Remove_Style($iStyleToRemove, $id1, $id2 = 0, $id3 = 0, $id4 = 0, $id5 = 0, $id6 = 0, $id7 = 0, $id8 = 0, $id9 = 0, $id10 = 0) #forceref $id1, $id2, $id3, $id4, $id5, $id6, $id7, $id8, $id9, $id10 Local $hControl, $iStyle For $i = 1 To @NumParams - 1 ; @NumParams must be between 2 and 11. The 1st parameter will always be the style to remove. $hControl = GUICtrlGetHandle(Eval("id" & $i)) $iStyle = _WinAPI_GetWindowLong($hControl, $GWL_STYLE) If BitAND($iStyle, $iStyleToRemove) = $iStyleToRemove Then _ _WinAPI_SetWindowLong($hControl, $GWL_STYLE, BitXOR($iStyle, $iStyleToRemove)) Next EndFunc ;==>__Remove_Style
  3. How about this: Open the AutoIt help file Select "Content" Click on "Function Reference" Click on "File, Directory and Disk Management" or Open the AutoIt help file Select "Content" Click on "User Defined Functions Reference" Click on "File Management" There you'll find all you need. If you have problems with a function we will be happy to help. In this case provide as much information as possible. The main goal of the forum is to help coders solve their problems not to spoon feed them with solutions.
  4. I added your UDF to the wiki
  5. Will put your request onto my to-do-list. What I will be working on in the next few months is the ability to request additional properties to be returned by the LDAP query. Example: _AD_GetAccountsExpired now only returns the FQDN, the expiration date/time in UTC and local time of expired accounts. You will then be able to request additional properties like sn, givenname etc. As long as they belong to the same class ("user" in this example).
  6. I understand what you are asking for. On the one hand, I'm very busy at the moment, and on the other, I no longer have access to an AD system. At the moment I can only offer the solution described in my previous post. Or you can use the internal function _AD_FQDNToSamaccountname to translate the results.
  7. You could try to set parameter $iDepth of function _AD_RecursiveGetGroupMembers to 0 and parameter $sFQDN to False.
  8. My first questions would be: Which version of AutoIt do you run? Which version of Windows do you run?
  9. Another good read is the wiki 🙂
  10. Seems you are running a quite old version of AutoIt. The Excel UDF has been rewritten some years ago. Means: A lot of functions have been removed, renamed or changed. Details can be found here. I suggest to use two calls to _Excel_RangeRead and assign the result to your array.
  11. I had a quick look at the code. The author is talking about „text strings“. So I fear, this UDF only supports text.
  12. -e encodes a file, -d decodes a file. So which option should be removed from bobben -e -d filname1.txt filname2.txt to only encode a file? N.B. If you have problems with English use a translator like https://www.deepl.com/
×
×
  • Create New...