recuperer listing dans money
Posté : sam. 09 juin 2018 12:23
bonjour j'ai trouver ce script sur internet :
ce code me permets de recuperer la liste des operations sur le logiciel money, mais il y a un defaut c'est que ca fait apparaitre uniquement la premiere lettre, comment en afficher plus ?
Merci
#include <GuiListBox.au3>
__GetAllListBoxText()
Func __GetAllListBoxText()
Local $hListBox, $iItemCount, $sText
$hListBox = ControlGetHandle("money 2006 - Microsoft Money", "", "[CLASS:ListBox; INSTANCE:1]")
$iItemCount = _GUICtrlListBox_GetCount($hListBox)
For $i = 0 To $iItemCount - 1
$sText = _GUICtrlListBox_GetText($hListBox,$i)
ConsoleWrite("Index: " & $i & @TAB & "Text String: " & $sText & @CRLF)
Next
EndFunc ;==>__GetAllListBoxText
__GetAllListBoxText()
Func __GetAllListBoxText()
Local $hListBox, $iItemCount, $sText
$hListBox = ControlGetHandle("money 2006 - Microsoft Money", "", "[CLASS:ListBox; INSTANCE:1]")
$iItemCount = _GUICtrlListBox_GetCount($hListBox)
For $i = 0 To $iItemCount - 1
$sText = _GUICtrlListBox_GetText($hListBox,$i)
ConsoleWrite("Index: " & $i & @TAB & "Text String: " & $sText & @CRLF)
Next
EndFunc ;==>__GetAllListBoxText
Merci