>>>>Hi,
>>>>I am creating label files (for various size lables) and thinking about including in the file name the label size. For example, label_1.1x4.lbx and label_1.1x4.lbt. Then in the program I will use this name with parentheses as for example:
>>>>
>>>>cLabelName = 'label_1.1x4'
>>>>label form (cLabelName) noconsole to printer
>>>>
>>>>
>>>>Is there a possible problem with this approach of having periods in the file name?
>>>
>>>Not that I am aware of. As long as the file name is legal, it should work provided that you use name expression, in other words parentheses.
>>
>>Thank you. This is helpful. Otherwise, instead of periods I would have to use some other characters. And keeping period as period is easier.
>
>Just in case... I'd rather do
>
>cLabelName = 'label_1.1x4.lbx'
>
>So that it can see the extension.
You are right. Yesterday when I tried to use the file name (with periods in it) without the extension .LBX the program could not find the file. So the LABEL FORM (cLabelName) failed. And I had to use the full file name (with the extension). Hence I am thinking that maybe I could find a way to replace periods with something different. One idea I had was to use a letter 'd' as in
'label_1d1x4d0' Kind of looks weird but it is all a matter of getting used to.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham