Verssuss Posted February 10, 2019 Posted February 10, 2019 hello i find listview udf but it have so many errors. there is a way to use it ?? i have all udf needed to use https://github.com/forcedotcom/dataloader/blob/master/windows-dependencies/autoit/Include/GuiListView.au3
TheXman Posted February 10, 2019 Posted February 10, 2019 What's wrong with the GuiListView.au3 UDF that comes with AutoIt? CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Verssuss Posted February 10, 2019 Author Posted February 10, 2019 in that udf u have like 200 function ready to use what orgin dont have ???
TheXman Posted February 10, 2019 Posted February 10, 2019 25 minutes ago, Verssuss said: in that udf u have like 200 function ready to use what orgin dont have ??? You OBVIOUSLY haven't even looked at the one that comes with the current version of AutoIt. They both have exactly the same number (158) of current functions. They both have the exact same function names. The only difference is the one that comes with AutoIt works and the old one that you referred to hasn't been updated in over 7 years and was written using v3.3.7.20. CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Verssuss Posted February 10, 2019 Author Posted February 10, 2019 ok so show me funstion where u have 10 lines u select 1 3 and 5 press copy then select 3 4 5 and move it on top on list...
TheXman Posted February 10, 2019 Posted February 10, 2019 (edited) I just told you that the UDFs are the same except the one in the current AutoIt has been updated. Edited February 10, 2019 by TheXman CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
Verssuss Posted February 10, 2019 Author Posted February 10, 2019 (edited) select 3 random items an drag move it on end of the list or do it by button then edit it... save to file....... exit program............ load it......................... with udf i want its 2 minutes of work for me expandcollapse popup#include <GuiConstantsEx.au3> #include <WindowsConstants.au3> #include <GUIListView.au3> HotKeySet("{ESC}", "_quit") $GUI = GUICreate("gui", 300, 300,500,600) GUISetState() $menu_file = GUICtrlCreateMenu("File") $menu_file_save = GUICtrlCreateMenuItem("Save Settings", $menu_file) $menu_file_load = GUICtrlCreateMenuItem("Load Settings", $menu_file) $button_copy = GUICtrlCreateButton("COPY", 220, 0, 50, 25) $button_up = GUICtrlCreateButton("UP", 220, 40, 50, 25) $button_down = GUICtrlCreateButton("DOWN", 220, 80, 50, 25) $ListView = GUICtrlCreateListView("Name", 10, 10, 200, 250, $LVS_SHOWSELALWAYS) _GUICtrlListView_SetExtendedListViewStyle($ListView, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES)) For $i = 0 To 9 _GUICtrlListView_InsertItem($Listview, "Item " & $i, $i) Next While 1 Sleep(10) Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $button_up Case $button_down Case $button_copy _GUICtrlListView_CopyItems($ListView, $ListView) EndSwitch WEnd Func _quit() Exit EndFunc Edited February 10, 2019 by Verssuss
BrewManNH Posted February 11, 2019 Posted February 11, 2019 Every function in your script is in the included listview UDF, so I'm not seeing the problem. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
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