Sign in to follow this  
Followers 0
MrCreatoR

_GUICtrlListView_GetItemID - With ...InsertItem()

8 posts in this topic

#1 ·  Posted (edited)

Hi,

I managed to build a little function to get LV ItemID by it's index (from other function in the last AutoIt version), but it works only on created items with native function (GUICtrlCreateListViewItem()).

I should mention right now, that i still use v3.2.8.1, and it's only because i have no time to port all my main scripts to new version :)

But in the example bellow i used last version, so anyone ho wants to help me will not have to change stuff for the last version.

Here is what i got:

#include <GuiConstantsEx.au3>
#include <GuiListView.au3>

;Global Const $tagLVITEM = "int Mask;int Item;int SubItem;int State;int StateMask;ptr Text;" & _
    ;"int TextMax;int Image;int Param;int Indent;int GroupID;int Columns;ptr pColumns"

;Global Const $LVIF_PARAM   = 0x00000004
;Global Const $LVM_GETITEMW     = $LVM_FIRST + 75

GUICreate("_GUICtrlListView_GetItemID - Get ItemID by Index!", 400, 300)

$hListView = GUICtrlCreateListView("Items|IDs", 2, 2, 394, 268)

$ItemID = $hListView + 1
$iInsertItems = False ;Change it to True to see that we can not get ItemID for inserted items :(

For $i = 1 To 10
    If $iInsertItems Then
        _GUICtrlListView_InsertItem($hListView, "Index " & $i-1)
        _GUICtrlListView_SetItemText($hListView, $i-1, "ItemID " & $ItemID, 1)
    Else
        GUICtrlCreateListViewItem("Index " & $i-1 & "|ItemID " & $ItemID, $hListView)
    EndIf
    
    $ItemID += 1
Next

$GetID_Button = GUICtrlCreateButton("Get ItemID", 10, 275, 70, 20)

$Status_Label = GUICtrlCreateLabel("", 90, 278, 200, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $GetID_Button
            $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView)
            $iItemID = _GUICtrlListView_GetItemID($hListView, $iItemIndex)
            
            GUICtrlSetData($Status_Label, StringFormat("Index %i = ItemID %i", $iItemIndex, $iItemID))
    EndSwitch
WEnd


Func _GUICtrlListView_GetItemID($hWnd, $iIndex)
    Local $tItem, $pItem, $iResult
    
    $tItem = DllStructCreate($tagLVITEM)
    
    DllStructSetData($tItem, "Mask", $LVIF_PARAM)
    DllStructSetData($tItem, "Item", $iIndex)
    
    $pItem = DllStructGetPtr($tItem)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMA, 0, $pItem)
    EndIf
    
    Return DllStructGetData($tItem, "Param")
EndFunc

If you set $iInsertItems to True (but first try it "as is"), you will see that my function always return 0 on any selected item.

P.S

Something telling me that items that inserted by way of «_GUICtrlListView_InsertItem()» function, just don't have an ID muttley , and they are like virtual elements that can be recognized only by index... i hope i wrong here...

Edited by MrCreatoR

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites



param = item id

That's what i use:

Func _GUICtrlListView_GetItemID($hWnd, $iIndex)
    Local $tItem, $pItem, $iResult
    
    $tItem = DllStructCreate($tagLVITEM)
    
    DllStructSetData($tItem, "Mask", $LVIF_PARAM)
    DllStructSetData($tItem, "Item", $iIndex)
    
    $pItem = DllStructGetPtr($tItem)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMA, 0, $pItem)
    EndIf
    
    Return DllStructGetData($tItem, "Param")
EndFunc

But it works only if i create the items with GUICtrlCreateListViewItem().


 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

I don't have v3.2.8.x anymore, but the current insert has param as last parameter.

The param is the same as the built-in control id of the listview items.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

I don't have v3.2.8.x anymore, but the current insert has param as last parameter.

The param is the same as the built-in control id of the listview items.

Thank you very much! It's work! I'll just port this function to 3.2.8.1 environment (with slight changes) muttley .

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

Hm, now i have problems set image for the inserted item muttley

#include <GuiConstantsEx.au3>
#include <GuiListView.au3>

;Global Const $tagLVITEM = "int Mask;int Item;int SubItem;int State;int StateMask;ptr Text;" & _
    ;"int TextMax;int Image;int Param;int Indent;int GroupID;int Columns;ptr pColumns"

;Global Const $LVIF_PARAM   = 0x00000004
;Global Const $LVM_GETITEMW     = $LVM_FIRST + 75

GUICreate("_GUICtrlListView_GetItemID - Get ItemID by Index!", 400, 300)

$hListView = GUICtrlCreateListView("Items|IDs", 2, 2, 394, 268)

$GetID_Button = GUICtrlCreateButton("Get ItemID", 10, 275, 70, 20)

$Status_Label = GUICtrlCreateLabel("", 90, 278, 200, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")

$iINSERTITEMS = True ;Change it to True to see that we can not set image for inserted items :(

$ItemID = $Status_Label + 1

For $i = 1 To 10
    If $iINSERTITEMS Then
        _GUICtrlListView_InsertItemEx($hListView, "Index " & $i-1, $i-1, $ItemID)
        _GUICtrlListView_SetItemText($hListView, $i-1, "ItemID " & $ItemID, 1)
    Else
        GUICtrlCreateListViewItem("Index " & $i-1 & "|ItemID " & $ItemID, $hListView)
    EndIf
    
    ;This not working on the inserted items :(, even if they have ID
    GUICtrlSetImage($ItemID, "shell32.dll", Random(1, 50, 1))
    
    $ItemID += 1
Next

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $GetID_Button
            $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView)
            $iItemID = _GUICtrlListView_GetItemID($hListView, $iItemIndex)
            
            GUICtrlSetData($Status_Label, StringFormat("Index %i = ItemID %i", $iItemIndex, $iItemID))
    EndSwitch
WEnd

Func _GUICtrlListView_InsertItemEx($hWnd, $sText, $iIndex = -1, $iParam = 0)
    Local $iBuffer, $pBuffer, $tBuffer, $iItem, $tItem, $iMask, $iResult
    If $iIndex = -1 Then $iIndex = 999999999
    
    $tItem = DllStructCreate($tagLVITEM)
    $pItem = DllStructGetPtr($tItem)
    
    DllStructSetData($tItem, "Param", $iParam)
    
    If $sText <> -1 Then
        $iBuffer = StringLen($sText) + 1
        
        If @AutoItUnicode Then
            $tBuffer = DllStructCreate("wchar Text[" & $iBuffer & "]")
        Else
            $tBuffer = DllStructCreate("char Text[" & $iBuffer & "]")
        EndIf
        
        $pBuffer = DllStructGetPtr($tBuffer)
        
        DllStructSetData($tBuffer, "Text", $sText)
        DllStructSetData($tItem, "Text", $pBuffer)
        DllStructSetData($tItem, "TextMax", $iBuffer)
    Else
        DllStructSetData($tItem, "Text", -1)
    EndIf
    
    $iMask = BitOR($LVIF_TEXT, $LVIF_PARAM)
    
    DllStructSetData($tItem, "Mask", $iMask)
    DllStructSetData($tItem, "Item", $iIndex)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_INSERTITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_INSERTITEMA, 0, $pItem)
    EndIf
    
    Return $iResult
EndFunc

Func _GUICtrlListView_GetItemID($hWnd, $iIndex)
    Local $tItem, $pItem, $iResult
    
    $tItem = DllStructCreate($tagLVITEM)
    
    DllStructSetData($tItem, "Mask", $LVIF_PARAM)
    DllStructSetData($tItem, "Item", $iIndex)
    
    $pItem = DllStructGetPtr($tItem)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMA, 0, $pItem)
    EndIf
    
    Return DllStructGetData($tItem, "Param")
EndFunc

I know i can(?) port the whole stuff of «ImageList...» to the v3.2.8.1 environment also, but it will force me to change a lot of stuff in my script, i hope there is some way to set image (from file, with index) easily?

I thought that if the item have an ID, then it should act the same as item created with GUICtrlCreateListViewItem()...


 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

Hm, now i have problems set image for the inserted item muttley

#include <GuiConstantsEx.au3>
#include <GuiListView.au3>

;Global Const $tagLVITEM = "int Mask;int Item;int SubItem;int State;int StateMask;ptr Text;" & _
    ;"int TextMax;int Image;int Param;int Indent;int GroupID;int Columns;ptr pColumns"

;Global Const $LVIF_PARAM   = 0x00000004
;Global Const $LVM_GETITEMW     = $LVM_FIRST + 75

GUICreate("_GUICtrlListView_GetItemID - Get ItemID by Index!", 400, 300)

$hListView = GUICtrlCreateListView("Items|IDs", 2, 2, 394, 268)

$GetID_Button = GUICtrlCreateButton("Get ItemID", 10, 275, 70, 20)

$Status_Label = GUICtrlCreateLabel("", 90, 278, 200, 25)
GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")

$iINSERTITEMS = True ;Change it to True to see that we can not set image for inserted items :(

$ItemID = $Status_Label + 1

For $i = 1 To 10
    If $iINSERTITEMS Then
        _GUICtrlListView_InsertItemEx($hListView, "Index " & $i-1, $i-1, $ItemID)
        _GUICtrlListView_SetItemText($hListView, $i-1, "ItemID " & $ItemID, 1)
    Else
        GUICtrlCreateListViewItem("Index " & $i-1 & "|ItemID " & $ItemID, $hListView)
    EndIf
    
    ;This not working on the inserted items :(, even if they have ID
    GUICtrlSetImage($ItemID, "shell32.dll", Random(1, 50, 1))
    
    $ItemID += 1
Next

GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $GetID_Button
            $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView)
            $iItemID = _GUICtrlListView_GetItemID($hListView, $iItemIndex)
            
            GUICtrlSetData($Status_Label, StringFormat("Index %i = ItemID %i", $iItemIndex, $iItemID))
    EndSwitch
WEnd

Func _GUICtrlListView_InsertItemEx($hWnd, $sText, $iIndex = -1, $iParam = 0)
    Local $iBuffer, $pBuffer, $tBuffer, $iItem, $tItem, $iMask, $iResult
    If $iIndex = -1 Then $iIndex = 999999999
    
    $tItem = DllStructCreate($tagLVITEM)
    $pItem = DllStructGetPtr($tItem)
    
    DllStructSetData($tItem, "Param", $iParam)
    
    If $sText <> -1 Then
        $iBuffer = StringLen($sText) + 1
        
        If @AutoItUnicode Then
            $tBuffer = DllStructCreate("wchar Text[" & $iBuffer & "]")
        Else
            $tBuffer = DllStructCreate("char Text[" & $iBuffer & "]")
        EndIf
        
        $pBuffer = DllStructGetPtr($tBuffer)
        
        DllStructSetData($tBuffer, "Text", $sText)
        DllStructSetData($tItem, "Text", $pBuffer)
        DllStructSetData($tItem, "TextMax", $iBuffer)
    Else
        DllStructSetData($tItem, "Text", -1)
    EndIf
    
    $iMask = BitOR($LVIF_TEXT, $LVIF_PARAM)
    
    DllStructSetData($tItem, "Mask", $iMask)
    DllStructSetData($tItem, "Item", $iIndex)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_INSERTITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_INSERTITEMA, 0, $pItem)
    EndIf
    
    Return $iResult
EndFunc

Func _GUICtrlListView_GetItemID($hWnd, $iIndex)
    Local $tItem, $pItem, $iResult
    
    $tItem = DllStructCreate($tagLVITEM)
    
    DllStructSetData($tItem, "Mask", $LVIF_PARAM)
    DllStructSetData($tItem, "Item", $iIndex)
    
    $pItem = DllStructGetPtr($tItem)
    
    If @AutoItUnicode Then
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMW, 0, $pItem)
    Else
        $iResult = GUICtrlSendMsg($hWnd, $LVM_GETITEMA, 0, $pItem)
    EndIf
    
    Return DllStructGetData($tItem, "Param")
EndFunc

I know i can(?) port the whole stuff of «ImageList...» to the v3.2.8.1 environment also, but it will force me to change a lot of stuff in my script, i hope there is some way to set image (from file, with index) easily?

I thought that if the item have an ID, then it should act the same as item created with GUICtrlCreateListViewItem()...

Even tho the item has an id it is not an id created by the internal function(s), therefore AutoIt can't handle it with internal function(s).

It would be quicker to install the beta and start converting scripts.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Even tho the item has an id it is not an id created by the internal function(s), therefore AutoIt can't handle it with internal function(s).

It would be quicker to install the beta and start converting scripts.

Thanks for the advice, but i already have 3 vesrions simultaneously installed (unpacked to be true): v3.2.8.1 (on this version based most of my scripts), 3.2.10.0, and 3.2.12.0.

And i can run any of those version at any time, i wrote a small script to switch between versions (i think i already have post it somewhere here on forum), but the main problem for me is that i have no time to rewrite all the scripts, some of them too complicate, and solutions in new environment (new AutoIt version) can take many of my "resources", and not sure that i can find those solutions that easy.


 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0