Page 1 of 1

variable labelname in NiceWatch

Posted: Tue Jul 24, 2007 10:39 am
by ktroess
Hello, help please:

I try to print labels with NW5.0.1 (1446).
I have a triggerfile his called for example "ac.csv", his works.
If the trigger is started, it read the variable info from the ac.csv-file.
My problem: the labelname; the labelname is the same as the shorttriggerfilename with a different extension; the labelname is ac.lbl.
How can I set the variable labelname in the "open label" action?
I tried with visual basic script, the msgbox give me the correct name in a variable, but if I try to use this variable in the "open label" action, NW sayed: Labelfilename doesn't exist (or similar, I have a German NL5). What can I do?

Thanks.

Posted: Fri Jul 27, 2007 4:26 am
by lpatty
Is your label file located in the default label file folder? If not, try concatenating the path in front of the label name in your VB Script. Sounds like NiceWatch can't find the path to the label file.