(Oct-29-2017, 05:02 AM)Larz60+ Wrote: If you will try the following, I think you will have what you want.
Using the code with my changes in it.
- fill out the form as follows
- set kabelnamn to save-this
- set Kabelnummer 1
- set Parter 1
- press Make
- press Spara
- fill out the form as follows
- set kabelnamn to save-this
- set Kabelnummer 2
- set Parter 2
- press Make
- press Spara
- Click X (upper right of form)
- Look at your file
You should have two lines because you entered two items
You don't need to buffer for this
The problem with this is it would take ages to make all the kabel markings we got some times kabels with like 100 parts in them it would require ages to do them all if im going to do it like in your description. But with some tinkering i think i solved it in a diffrent way i dont know if its a stupid solution or not. But here how i did it. I added a big text entry where the generated lines say 100 lines of kabel markings get stored and when i press save all those lines gets saved to a text file. I have no idea how to do it any other way.