Pandha Posted October 27, 2019 Posted October 27, 2019 Hello. I am a total newbie in AutoIt and I would need some help. I am working on a project where I want to automate the insertion of measurement results. So I have a list which looks something like that: specimen1,results1 specimen2,results2 specimen3,results3 ... I need to insert is date, specimen name and results. I already mad GUI with an input box for date and an edit box for a list of specimens and measurement results(which i wanted to seperate with StringSplit). I managed to write a code that automatically fills the date input box (it was easy because it is a constant value for the whole day but I stumbled when I had to write a code that would cycle through all arrays and write each one in an input box). So let's make it short. The end product should look something like this: I insert the date into the input box and string of specimen name and measurement results into the edit box The program then inserts each piece of data in a separate box (the form that I need to fill consists out of there input boxes. One for date one for specimen name and one for the results). so that it goes something like this: Date. 27.10.2019 Sp.name: specimen1 Results: results1 Date. 27.10.2019 Sp.name: specimen2 Results: results2 Date. 27.10.2019 Sp.name: specimen3 Results: results3 3. When all arrays have been inserted the cycle stops. I hope i made it clear, huuh😅 Thank you
Developers Jos Posted October 27, 2019 Developers Posted October 27, 2019 Welcome, What exactly is your AutoIt3 question or are you looking for somebody to code it for you? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Pandha Posted October 28, 2019 Author Posted October 28, 2019 I am just looking for some guidelines that i can use to start from there. Or if anyone has ever done smoething similar that could show me how he did it :D
mikell Posted October 28, 2019 Posted October 28, 2019 (edited) Here is something to start with, then you will have to deal with a For/Next loop and GuiCtrlSetData Happy coding #Include <Array.au3> $txt = "specimen1,results1" $a = StringSplit($txt, ",") $a[0] = "27.10.2019" _ArrayDisplay($a) Edit Next time please post some code. A short snippet is often of better meaning than long explanations Edited October 28, 2019 by mikell
Zedna Posted October 29, 2019 Posted October 29, 2019 Look here at almost the same question and (all) replies: Resources UDF ResourcesEx UDF AutoIt Forum Search
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