Sign in to follow this  
Followers 0
magician13134

New functions/autoit/scite issues...

15 posts in this topic

Well I have the newest version of Autoit (beta) and Scite, but when I use commands like _ListView_* I just get an 'undefined function' error... anyone know what's wrong?

Share this post


Link to post
Share on other sites



_ListView_* is not a function, if you actually wrote it like that...

ListView()
is a function.


[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

He's most likely talking about PaulIA's Auto3Lib-functions.

Edit : Did you forget that and didn't remember to include the correct file ? Is that it ?

Edited by Helge

Share this post


Link to post
Share on other sites

Yeah, that was the problem (Helge), however, now I'm getting more errors than ever, about variables being used before being defined... even when I pull code straight from that help file...

(Is there any other way to search a listview? The _GUICtrlListViewFindItem(?) isn't recognized, even with the proper include...)

Share this post


Link to post
Share on other sites

Yeah, that was the problem (Helge), however, now I'm getting more errors than ever, about variables being used before being defined... even when I pull code straight from that help file...

(Is there any other way to search a listview? The _GUICtrlListViewFindItem(?) isn't recognized, even with the proper include...)

Post the code, and someone might help you define all your variables :shocked:

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

I don't think they're my variables... But yeah, I'll get the code, post all errors, etc...

Ok, so what I'm trying to do is remake one of my old programs, a task manager, but I'm running into some problems early... In the 'Windows' tab it lists all the open windows, but doesn't update. I want it to update every two seconds (using my adlib() function), but I don't want it to delete all of the entries and redraw them, that looks sloppy... I want it to use the window handle, and if it's new, add it, and if it's not, update the size/position, etc... can anyone figure this out for me? thanks...

(You may need that CPU include)

TTM_2.0.au3

CPU.au3

Edited by magician13134

Share this post


Link to post
Share on other sites

erm, I dont see any variable problems, I've click every button there, where was the error?


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

I took that part out... it was just whenever I used any of the Aut3Lib functions (even with the proper includes)... I'm just having trouble getting the window listview to update correctly/at all...

Share this post


Link to post
Share on other sites

I took that part out... it was just whenever I used any of the Aut3Lib functions (even with the proper includes)... I'm just having trouble getting the window listview to update correctly/at all...

It's probably because you tried to run the Auto3Lib installer without deleting all of the old Auto3Lib A3L*.* files first.

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

Hmmm.... I'm still having issues... I took the code straight from the help file, and depending on how my computer felt, I got one of two sets of errors, they're both in comments... any ideas?

test.au3

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

Hmmm.... I'm still having issues... I took the code straight from the help file, and depending on how my computer felt, I got one of two sets of errors, they're both in comments... any ideas?

It appears that AutoIt can't find the Auto3Lib include files. You probably don't have them in the AutoIt Include directory. Edited by PaulIA

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

I do... I installed them in both the Program Files/Autoit and the pf/autoit/beta directories, and they show up in the include folders...

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