PDA

View Full Version : dropdownlist please help with this :D


ecarter
02-01-2011, 03:19 PM
i want to take the current selection of one dropwdown A list to other dropdownlist B, but i want to replace all in the second dropdownlist B to with the selection of the dropdownlist A

pleaseeeeee help

at the moment every time i press the button to send the selection to the dropdown list B the selection is added and no replace all

patriculus
02-01-2011, 04:57 PM
can u post your complete script

ecarter
02-01-2011, 05:18 PM
can u post your complete script

well i update my script, i do it wrong trying to take the selection from one dropdownlist to another dropwdownlist and then save it to a txt file.


what i need is to save the current selection of the dropdownlist to a txt file with this format.

#("material name")

ecarter
02-01-2011, 05:21 PM
this is what i have:

newTXT = openfile fname mode:"wt"
material_name.items = append material_name.items (material_name.selection as string)
format (with printAllElements on material_name.items as string) to:newTXT
flush newTXT
close newTXT

Kameleon
02-01-2011, 06:17 PM
Sorry cant understand what you want, cant help, please try to explain it better, add images, script example.

CGTalk Moderation
02-01-2011, 06:17 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.