Sign in to follow this  
Followers 0
NewtonScripter

Update old scripts

5 posts in this topic

I need to update a script that is compiled against Release Version 3.2.4.9 of AutoIt

There are a lot of features/functions that have apparently been moved/renamed. Is there a list or easy way for me to update these functions? I did not write the script, it that matters at all.

Here is a list of functions I got an error for:

Functions:

_GUICtrlListAddItem

_GUICtrlListCount

_GUICtrlListSelItemRange

_GUICtrlListGetSelItemsText

_ListView_GetItemCount

_TreeView_FindNodeEx

_Toolbar_ClickIndex

_Menu_ClickPopup

_GUICtrlListViewGetItemCount

_ListView_GetItemText

_GUICtrlListGetText

_ListView_ClickItem

_Listbox_FindText

_Listbox_SetSel

Share this post


Link to post
Share on other sites



Many of these functions are from Auto3Library (A3L).

There is no simple solution. You must search appropriate function for each one.

You must look into sources of standard include files and search. 

At begin of standard include files is commented list of renamed standard UDF functions.

Share this post


Link to post
Share on other sites

Thanks for the tip

But I am having trouble finding the following functions:

_ListView_GetItemCount

_TreeView_FindNodeEx

_TreeView_GetSelection

_TreeView_Select

_Lib_ShowError

_ListView_ClickItem

_ListView_GetItemText

_Menu_ClickPopup

_Toolbar_ClickIndex

_Listbox_FindText

_Listbox_SetSel

Share this post


Link to post
Share on other sites

_GUICtrlListBox_FindString

_GUICtrlListBox_FindInText

_GUICtrlListBox_SetCurSel

_GUICtrlListView_GetItemCount

_GUICtrlListView_GetItemText

_GUICtrlListView_ClickItem

_GUICtrlTreeView_FindItemEx 

_GUICtrlTreeView_GetSelection

_GUICtrlTreeView_SelectItem

_GUICtrlToolbar_ClickIndex

Share this post


Link to post
Share on other sites

You won't find the click pop-up for any of the UDFs included with AutoIt.

Was to much trouble with the spaghetti code they consisted of.


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

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