Jump to content



Photo

_GetDirectoryFormat()


  • Please log in to reply
9 replies to this topic

#1 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 15 May 2011 - 09:37 PM

This SRE I came across whilst browsing the Include File.au3 (_FileListToArray) and felt that it should be given a Function all of its own. It use ByRef as a reference for the variable that is being passed to the Function and will either remove the trailing backslash or add a backslash.

Function:
AutoIt         
; #FUNCTION# ==================================================================================================================== ; Name ..........: _GetDirectoryFormat ; Description ...: Formats a directory string with either the trailing '\' removed or included. It can also check whether the directory exists and create if not present. ; Syntax ........: _GetDirectoryFormat(Byref $sDirectory[, $iAppend = 1[, $iFlag = 0]]) ; Parameters ....: $sDirectory          - [in/out] A variable containing a directory string with either the trailing '\' included or excluded. ;                  $fAppend             - [optional] True - Append a backslash or False- Remove the appending backslash. Default is True. ;                  $fFlag               - [optional] Check if the directory exists and create if not present. True - Check & create or False - Don't check. Default is False. ; Return values .: Success - Returns directory string with the correct format. ;                  Failure - None ; Author ........: guinness ; Example .......: Yes ; =============================================================================================================================== Func _GetDirectoryFormat(ByRef $sDirectory, $fAppend = True, $fFlag = False)     Local $sAppend = ''     If $fAppend Or $fAppend = Default Then         $sAppend = '\'     EndIf     $sDirectory = StringRegExpReplace($sDirectory, '[\\/]+$', '') & $sAppend     If FileExists($sDirectory) = 0 And $fFlag Then         DirCreate($sDirectory)     EndIf     Return $sDirectory EndFunc   ;==>_GetDirectoryFormat

Example use of Function:
AutoIt         
#include <Constants.au3> Local $sExampleDirectory = 'C:\Example_Folder\\\' _GetDirectoryFormat($sExampleDirectory, True) ; Change to 'C:\Example_Folder\' & don't check if directory exists. ConsoleWrite($sExampleDirectory & @CRLF) _GetDirectoryFormat($sExampleDirectory, False) ; Change to 'C:\Example_Folder' & don't check if directory exists. ConsoleWrite($sExampleDirectory & @CRLF) _Example_Old($sExampleDirectory) ; This was the old way of checking whether a directory has a backslash. _Example_New($sExampleDirectory) ; This is the new way of checking whether a directory has a backslash. Func _Example_Old($sDirectory)     If Not (StringRight($sDirectory, StringLen('\')) == '\') Then $sDirectory &= '\'     Return MsgBox($MB_SYSTEMMODAL, '_Example_Old()', $sDirectory) EndFunc   ;==>_Example_Old Func _Example_New($sDirectory)     _GetDirectoryFormat($sDirectory, True)     Return MsgBox($MB_SYSTEMMODAL, '_Example_New()', $sDirectory) EndFunc   ;==>_Example_New

Edited by guinness, 09 April 2013 - 04:18 PM.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013






#2 burnell

burnell

    Wayfarer

  • Active Members
  • Pip
  • 50 posts

Posted 15 May 2012 - 02:47 PM

I get these Errors, but i don´t know what´s wrong:

"C:\Temp\temp01.au3"(154,70) : error: _GetDirectoryFormat() previously called with Const or expression on ByRef param(s).
Func _GetDirectoryFormat(ByRef $sDirectory, $iAppend = 1, $iFlag = 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Temp\temp01.au3"(97,45) : REF: first call to _GetDirectoryFormat().
Local $_dir = _GetDirectoryFormat($i_dir, 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Temp\temp01.au3 - 1 error(s), 0 warning(s)

AutoIt         
Func CREATE_DIRS() Local $temp Local $success = 0, $no_success = 0, $already_exist = 0 Local $_start = Int(GUICtrlRead($StartValue)) Local $_end = Int(GUICtrlRead($EndValue)) Local $_width = Int(GUICtrlRead($NumberDigits)) Local $_pre = GUICtrlRead($Prefix) Local $_post = GUICtrlRead($Postfix) Local $i_dir = GUICtrlRead($DirectoryInput) Local $_dir = _GetDirectoryFormat($i_dir, 1) For $i = $_start To $_end   $temp = $_dir & $_pre & StringFormat("%0" & String($_width) & ".0f", $i) & $_post   If Not FileExists($temp) Then    If DirCreate($temp) Then     $success += 1    Else     $no_success += 1    EndIf   Else    $already_exist += 1   EndIf Next EndFunc   ;==>CREATE_DIRS Func DO_PREVIEW() Local $out = "" Local $_start = Int(GUICtrlRead($StartValue)) Local $_end = Int(GUICtrlRead($EndValue)) Local $_width = Int(GUICtrlRead($NumberDigits)) Local $_pre = GUICtrlRead($Prefix) Local $_post = GUICtrlRead($Postfix) Local $i_dir = GUICtrlRead($DirectoryInput) Local $_dir = _GetDirectoryFormat($i_dir, 1) For $i = $_start To $_end   $out = $out & _     $_dir & _     $_pre & _     StringFormat("%0" & String($_width) & ".0f", $i) & _     $_post & _     @CRLF Next GUICtrlSetData($Preview, $out) EndFunc   ;==>DO_PREVIEW Func CHOOSE_TARGET_DIR() Local $old_dir = GUICtrlRead($DirectoryInput) Local $new_dir = FileSelectFolder("Verzeichnis für die neuen Ordner aussuchen", "", 7, $old_dir) If $new_dir <> "" Then   GUICtrlSetData($DirectoryInput, $new_dir) EndIf EndFunc   ;==>CHOOSE_TARGET_DIR Func OPEN_DIR() ShellExecute (_GetDirectoryFormat(GUICtrlRead($DirectoryInput), 1, 1), '',  '', 'open') ;should open Dir, if not exist, then create it! EndFunc   ;==>OPEN_DIR Func _GetDirectoryFormat(ByRef $sDirectory, $iAppend = 1, $iFlag = 0) Local $sAppend = "" If $iAppend Then   $sAppend = "\" EndIf $sDirectory = StringRegExpReplace($sDirectory, "[\\/]+\z", "") & $sAppend     If FileExists($sDirectory) = 0 And $iFlag Then         DirCreate($sDirectory)     EndIf Return SetError(0, 0, $sDirectory) EndFunc   ;==>_GetDirectoryFormat ~ Author... guinness


#3 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 15 May 2012 - 04:14 PM

burnell,

The error is correct, as $sDirectory is a ByRef which means a variable should be passed not a string, which is the case for OPEN_DIR().

Func OPEN_DIR()     Local $sDirectory = GUICtrlRead($DirectoryInput)     ShellExecute(_GetDirectoryFormat($sDirectory, 1, 1), '', '', 'open') ;should open Dir, if not exist, then create it! EndFunc   ;==>OPEN_DIR

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#4 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 15 May 2012 - 04:28 PM

Return SetError(0, 0, $sDirectory)

is equivalent to
Return $sDirectory


#5 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 15 May 2012 - 04:36 PM

Return SetError(0, 0, $sDirectory)

is equivalent to
Return $sDirectory

Yeh, no idea why I did that. Plus I was going to recommend _WinAPI_PathAddBackSlash anyway.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#6 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 15 May 2012 - 04:41 PM

Updated code.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#7 burnell

burnell

    Wayfarer

  • Active Members
  • Pip
  • 50 posts

Posted 15 May 2012 - 05:21 PM

guinness

Thanks for the hint.

#8 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 15 May 2012 - 05:28 PM

You're welcome. But I urge you to look at Yashied's WinAPIEx and the _WinAPI_Path(Add) OR (Remove)Backslash() functions

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#9 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 09 October 2012 - 03:48 PM

I've updated the syntax and added support for the Default keyword. Please see the original post for more details. I have also changed $iAppend and $iFlag to accept boolean values instead of the previous 0 or 1. Thanks.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013


#10 guinness

guinness

    guinness

  • MVPs
  • 10,300 posts

Posted 09 April 2013 - 04:18 PM

Fixed the code above. It was destroyed by a Forum update.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUISetIcon()_Icon_Clear()/_Icon_Set()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringIsValid()_StringReplaceWholeWord()_StringStripChar()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()AutoIt SearchAutoIt3 PortableAutoItWinGetTitle()/AutoItWinSetTitle()CodingFileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIGetBkColor()LockFile()PasteBinSciTE JumpSignature CreatorWM_COPYDATAMore Examples...Updated: 11/04/2013





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users