Read items from file and add them to the optionMenu
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting
 
zeev  -  Sun Mar 25, 2012 1:41 pm Reply with quote
Hi,

I'm planning a TCL script to perform the following tasks:
1. Run various sets of system tests and write their result titles into a file.
2. Display on the optionMenu the titles, and to display the particular information for the selected title.

Reading the file's contents into a string, creates an optionMenu of a single option with all titles within the single line ...
Reading the file's contents into a list, doesn't provide any result, since I failed to convert this list into an optionMenu.
I didn't try with an array yet, but I suspect quite a similar effect.

Is there a feasible solution for this problem ?

Thanks

Zeev
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.