Help with viewlist

Recommended Posts

Tsimo 0

Tsimo 0

Hello, i want to create a Gui where, i want to write names of tv series (e.x. Game of Thrones) and update my progress on each series(episodes watched) and each time i exit the program i want that too be saved(haven't searched that part yet. I am a newbie in autoit, and i m trying to do it by watching other posts, or the help files but im stuck

i've wrote some things this far but its nowhere close yet, and i need some help

Share this post

Link to post

Share on other sites

Tsimo 0

Tsimo 0

im quite new.. i know autoit a long time, but i dont use it a lot. i ve only made some autoclicker, some easy bot for games and some small stuff... anyway, so i've done this so far, but i get an error at guictrlsetdata when i use variables and |. If you can help me with that or recommend an other solution. And second i want to be able to save my list and my changes each time i exit the program. and mass spamer i ve used the include its just that copy paste doesnt copy them dont know why

Share this post

Link to post

Share on other sites

BrewManNH 1,099

BrewManNH 1,099

Here is how I would do it, forget the INI file because it's going to cause issues later down the road if you don't know what you're doing with it. This creates what is called a flat file database instead of using the INI. I have commented the saving section, and the reading sections that I modified, if you have any questions, please ask.

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.

And another question, i made another program and turned to exe and gave it to a friend but he couldn't see the picture that i used in the program... i used the commands:

FileInstall("C:UsersTsimoPicturesPhotoshopReadyBored of Tags4567.jpg","C:UsersTsimoDocumentsTsimoAutoit ProgrammsCodingBored of Tags4567.jpg")$bk=GUICtrlCreatePic("C:UsersTsimoPicturesPhotoshopReadyBored of Tags4567.jpg",0,0,700,500)

Share this post

Link to post

Share on other sites

Zedna 177

Zedna 177

And another question, i made another program and turned to exe and gave it to a friend but he couldn't see the picture that i used in the program... i used the commands:

FileInstall("C:UsersTsimoPicturesPhotoshopReadyBored of Tags4567.jpg","C:UsersTsimoDocumentsTsimoAutoit ProgrammsCodingBored of Tags4567.jpg")$bk=GUICtrlCreatePic("C:UsersTsimoPicturesPhotoshopReadyBored of Tags4567.jpg",0,0,700,500)