Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Using ComboToolbarControl to name files
Reply to topic
Author Message
Keith



Joined: Jun 1, 2008
Posts: 24

PostPosted: Jun 21, 2008 6:32 PM    Post subject: Using ComboToolbarControl to name files

Jarek, or any other Bioera gurus,

I am using a combination of ComboToolbarControl and PropertySetter piped into EDFFileWriter to name files. But of course, since this combination sends exactly what is in the \"Fileds\" property of the Toobar, I have to use menu labels such as archivedatasetFile B.edf. Is there any way to be able to use \"File B\" as my menu label, but to be able to send \"archivedatasetFile B.edf\" to the FileWriter? As-is, if I use \"File B\" in the fields property, then naturally it saves the file as \"File B\" in the main Bioera folder, with no file extension!

Any ideas would be greatly appreciated!

-Keith Payne
Keith



Joined: Jun 1, 2008
Posts: 24

PostPosted: Jun 21, 2008 6:34 PM    Post subject:

By the way, the path in the above should read \"archive [backslash] dataset [backslash] File B.edf\"
jarek



Joined: Oct 22, 2007
Posts: 1075

PostPosted: Jun 22, 2008 2:03 AM    Post subject:

Keith,

yes, there is a way. Use TextTransform, betweeb ComboToolbarControl and FileWriter. It will allow to add constant prefix, and in the toolbar you will then have only the name of the file.

Jarek
Keith



Joined: Jun 1, 2008
Posts: 24

PostPosted: Jun 22, 2008 3:20 AM    Post subject:

Fantastic! It worked exactly as I needed it to.

Thanks, Jarek!

-Keith
Reply to topic