Jump to content

Recommended Posts

  • Administrators
Posted

File Name: AutoIt v3.3.11.6 Beta

File Submitter: Jon

File Submitted: 30 May 2014

File Category: Beta



3.3.11.6 (30th May, 2014) (Beta)

AutoIt:
- Changed #2718: SplashOff doc example.

- Fixed #2717: Appendix constants page precision about Inet Constants.

UDFs:
- Added: _Array1DToHistogram(). (thanks jchd)
- Added #2702: _ArrayTranspose() set @error to 2 if not Array.
- Added #2726: Group ID to return array for _GUICtrlListView_GetGroupInfoByIndex().

- Fixed #2701: _ArrayTranspose() doc for 1D Array.
- Fixed #2706: $tagWINDOWINFO bad struct.
- Fixed #2718: SplashOff doc example.

Au3Check:
- Fixed: Undetected errors.

Others:
- Fixed #2725: AutoIt3.chm printing example.



Click here to download this file

Posted

Uh? Wasn't aware this kind of joke of mine could ever make it into the toolbox!

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted
  On 5/30/2014 at 4:21 PM, jchd said:

Uh? Wasn't aware this kind of joke of mine could ever make it into the toolbox!

I just help the process ...

Posted

Problem is: I'm not 100% sure it's bullet-proof. I'll have a second look shortly.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

_FileCreate

Does not create the file if the path does not exist.

 

My proposal

; Parameters:
;       $sPath - The path to the folder
;       $sData - The data to be written to the file
;       $flag - If not 0, it overwrites the existing file
; Return values ....:
;                   |Success -  Returns 1 - file exists or is created
;                   |Failed - Returns 0 - the file does not exist and is not created
Func _FileCreate($sPath, $sData = '', $flag = 0)
    If Not FileExists($sPath) Or $flag Then
        Local $hFile = FileOpen($sPath, 10)
        Local $iRet = FileWrite($hFile, $sData)
        FileClose($hFile)
        Return $iRet
    EndIf
    Return 1
EndFunc   ;==>_FileCreate
 

 

- Added: _Array1DToHistogram()

I >similar did. The character isn't displayed.

9beb2a9e41adt.jpg

Posted

I have added $FO_CREATEPATH to _FileCreate(). As for _Array1DToHistogram(), well I will let jchd decide.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

not sure to understand why the _Array1dToHistogram() example is not working under WinXP

everything fine with Win7/8

Perhaps related with Unicode ?

Posted

The following snippet woks with 3.3.10.2 and 3.3.11.5, but not with 3.3.11.6.

#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiMenu.au3>

GUICreate("")
GUIRegisterMsg($WM_CONTEXTMENU, WM_CONTEXTMENU)
GUISetState()

Do
Until (GUIGetMsg() = -3)

Func WM_CONTEXTMENU($hWnd, $uMsg, $wParam, $lParam)
    Local $hMenu = _GUICtrlMenu_CreatePopup()
    _GUICtrlMenu_AddMenuItem($hMenu, "test", 1000)
    _GUICtrlMenu_AddMenuItem($hMenu, "")
    _GUICtrlMenu_AddMenuItem($hMenu, "test", 1001)

    _GUICtrlMenu_TrackPopupMenu($hMenu, $hWnd, -1, -1, 1, 1, 3, 1)
    _GUICtrlMenu_DestroyMenu($hMenu)

    Return $GUI_RUNDEFMSG
EndFunc 

Right click on the window and check the menu items, they just don't get selected when mouse cursor is over them.

  • Moderators
Posted

D4RKON3,

Thanks - we already know and are looking into it. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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:

  Reveal hidden contents

 

Posted

  On 5/31/2014 at 11:13 AM, Melba23 said:

D4RKON3,

Thanks - we already know and are looking into it. :)

M23

It's fixed as far as I'm concerned, unless someone says otherwise.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

AZJIO,

Unfortunately partial-width black blocks are not all present in every font. Using this character subset allows 8 times more visual precision, so it was tempting to use. Also it seems that with the default font used with Win7 full-width blocks are non-joining horizontally, which is unfortunate.

I'm afraid there is not much we can do against these issues, lest making _ArrayDisplay even more complex, which doesn't seem to be a mainstream idea (especially for "fixing" such an anecdotic function).

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

AutoIt 3.3.12.0 is coming :)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

Hi,

And has now arrived. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...