MilesAhead Posted March 7, 2012 Posted March 7, 2012 (edited) btw anyone happen to know an easy to comprehend free diff tool for win32? Every time I update WinAPIEx I struggle for an hour trying to merge the user calltips with the ones I've added myself. I tried WinMerge. I think I got it to work as expected one time. Otherwise it's faster to just load the 2 calltip files in tabs on EditPadLite7 and just copy and paste. It's a real time waster. Seems no matter which way I merge with WinMerge I end up with a calltips file that's smaller than the one included with WinAPIEx. Driving me nuts. Edited March 7, 2012 by MilesAhead My Freeware Page
guinness Posted March 7, 2012 Posted March 7, 2012 I use WinMerge and also TextDiff >> http://www.angusj.com/delphi/textdiff.html (which is Portable) UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _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() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _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() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
MilesAhead Posted March 7, 2012 Posted March 7, 2012 Thanks guinness. Yashied, I am running 3.3.8.0 and used the installer. I got some already defined errors. If I remember one was _WinAPI_DuplicateHandle() or something similar. My Freeware Page
Yashied Posted March 7, 2012 Author Posted March 7, 2012 The ZIP files both contain the exact same version of WinAPIEx.au3. How I found out was I got a couple of errors (fixed my side) when compiling a script.Thanks, fixed. Please download again. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
chs131738 Posted March 9, 2012 Posted March 9, 2012 Thanks, fixed. Please download again.hope that to publish similar "autoit-docs - v3.3.9.1-src.exe" fileFacilitate the localization of the document. Thank you!
Moderators Melba23 Posted March 9, 2012 Moderators Posted March 9, 2012 chs131738,What has this to do with the WinAPIEx UDF? And if you are looking for the AutoIt source, it is not been available for many years. The last version for which the source was released was v3.1.0 - you can download it from here but it bears little resemblance to the current code after another 7 years of development. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Mat Posted March 9, 2012 Posted March 9, 2012 (S)He's asking for the source of the WinAPIEx docs so that they can be translated, in a similar way to the current AutoIt docs. AutoIt Project Listing
Moderators Melba23 Posted March 9, 2012 Moderators Posted March 9, 2012 mat, If you are right then you are a better interpreter than I am! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
131738 Posted March 9, 2012 Posted March 9, 2012 (S)He's asking for the source of the WinAPIEx docs so that they can be translated, in a similar way to the current AutoIt docs.Interpretation of the ok , thank you !
chs131738 Posted March 9, 2012 Posted March 9, 2012 (S)He's asking for the source of the WinAPIEx docs so that they can be translated, in a similar way to the current AutoIt docs.Interpretation of the ok , thank you !
DXRW4E Posted March 10, 2012 Posted March 10, 2012 (edited) Hi Yashied, it seems that microsoft updated the Dism API, can add them (the function of dism) in WinAPIEx UDF, I think it would be very useful (dism makes many useful tasks also online mod, now need only use the DismApi.dll already present by default in Windows 8)http://msdn.microsoft.com/en-us/library/windows/desktop/hh825834.aspxsorry for my englishCiao. Edited March 10, 2012 by DXRW4E
MilesAhead Posted March 13, 2012 Posted March 13, 2012 (edited) Hmm, I've been trying to merge WinAPIEx.chm into the autoit help. I've gotten so far as the entries are added to the table of contents and they bring up the help page, but the index entries are not shown. I noticed on decompile that the hhk file has all double Name entries like this:<LI> <OBJECT type="text/sitemap"> <param name="Name" value="_WinAPI_AddFontResourceEx"> <param name="Name" value="_WinAPI_AddFontResourceEx"> <param name="Local" value="html/libfunctions/_WinAPI_AddFontResourceEx.htm"> </OBJECT>I'm wondering if that's the issue. But since there's over 4000 lines I'm reluctant to edit by hand.edit: I removed the dupes and it had no effect. Weird how it doesn't want to merge the index. Oh well, I never liked working with HtmlHelp anyway. .hlp was a lot cleaner.edit2: found an aggregate tool that seemed to work. Haven't checked it extensively yet. But pressing F1 on a WinAPIEx function in SciTE brought it up correctly!!! I just renamed the output .chm and .chw files with AutoIt basename and placed them in the AutoIt3 folder. Google Chm Aggregator if you wish to try it. The trick seems to be to load in all the .chm files you wish to aggregate, before selecting a file name for the aggregate .chm file. Edited March 14, 2012 by MilesAhead My Freeware Page
netegg Posted March 14, 2012 Posted March 14, 2012 Hi, Yashied, the Standard Access Rights consts are in SecurityConstants.au3 file, should it be marked comment?
myk3 Posted March 14, 2012 Posted March 14, 2012 Is there a function available to show the number of physical disks? I dont see one that would do this.
KaFu Posted March 14, 2012 Posted March 14, 2012 Check out the help-file example for _WinAPI_GetDriveGeometryEx(), run this function in a loop to iterate the number of HDDs installed. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
myk3 Posted March 14, 2012 Posted March 14, 2012 Check out the help-file example for _WinAPI_GetDriveGeometryEx(), run this function in a loop to iterate the number of HDDs installed.lol I just finished this but using wmi.. ill try with that also so i dont have to add the wmi patch to my boot.wim
KaFu Posted March 14, 2012 Posted March 14, 2012 When you ask a question, don't be surprised to get an answer on this forum ... OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
Yashied Posted March 18, 2012 Author Posted March 18, 2012 The library has been updated, version remains unchanged.ChangesAdded the following functions. _WinAPI_GetFileInformationByHandleEx _WinAPI_SetFileInformationByHandleExUpdated documentation. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
guinness Posted March 20, 2012 Posted March 20, 2012 In _WinAPI_SetFileInformationByHandleEx $tIOSB isn't used. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _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() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _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() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
ChrisR Posted March 21, 2012 Posted March 21, 2012 Hi All, Thank you for these great WinAPI functions My first post with these 2 small possible additions, if it's good, LCIDToLocaleName and LocaleNameToLCID I expected to find the LocaleName (fr-FR) in _WinAPI_GetLocaleInfo, but not. ; #FUNCTION# ==================================================================================================================== ; Name...........: _WinAPI_LCIDToLocaleName ; Description....: Converts a locale identifier to a locale name. ; Syntax.........: _WinAPI_LCIDToLocaleName ( $LCID ) ; Parameters.....: $LCID - The locale identifier (LCID) that specifies the locale or one of the following predefined values. ; ; $LOCALE_INVARIANT ; $LOCALE_SYSTEM_DEFAULT ; $LOCALE_USER_DEFAULT ; ; Windows Vista or later ; ; $LOCALE_CUSTOM_DEFAULT ; $LOCALE_CUSTOM_UI_DEFAULT ; $LOCALE_CUSTOM_UNSPECIFIED ; ; Return values..: Success - String containing the locale name. ; Failure - Empty string and sets the @error flag to non-zero. ; Author.........: ChrisR ; Modified.......: ; Remarks........: None ; Related........: ; Link...........: @@MsdnLink@@ LCIDToLocaleName ; Example........: Yes ; =============================================================================================================================== Func _WinAPI_LCIDToLocaleName($LCID) Local $Ret = DllCall('kernel32.dll', 'int', 'LCIDToLocaleName', 'ulong', $LCID, 'wstr', '', 'int', 500, 'int', 0) If (@error) Or (Not $Ret[0]) Then Return SetError(1, 0, '') EndIf Return $Ret[2] EndFunc ;==>_WinAPI_LCIDToLocaleName ; #FUNCTION# ==================================================================================================================== ; Name...........: _WinAPI_LocaleNameToLCID ; Description....: Converts a locale name to a locale identifier. ; Syntax.........: _WinAPI_LocaleNameToLCID ( $LocaleName ) ; Parameters.....: $LocaleName - The locale Name or one of the following predefined values. ; ; $LOCALE_NAME_INVARIANT ; $LOCALE_NAME_SYSTEM_DEFAULT ; $LOCALE_NAME_USER_DEFAULT ; ; Return values..: Success - String containing the locale identifier (LCID). ; Failure - 0 and sets the @error flag to non-zero. ; Author.........: ChrisR ; Modified.......: ; Remarks........: None ; Related........: ; Link...........: @@MsdnLink@@ LocaleNameToLCID ; Example........: ; =============================================================================================================================== Func _WinAPI_LocaleNameToLCID($LocaleName) Local $Ret = DllCall('kernel32.dll', 'int', 'LocaleNameToLCID', 'wstr', $LocaleName, 'int', 0) If (@error) Or (Not $Ret[0]) Then Return SetError(1, 0, '') EndIf Return $Ret[0] EndFunc ;==>_WinAPI_LocaleNameToLCID
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now