Getting a picture path 追蹤
I am trying to get build a script which is able to change the picture depending on the name of a text. This is the script I have at the moment:
Set image = Format.Objects("Image")
Set brand = Format.NamedSubStrings("Marca")
Set oPic = LoadPicture("C:\Etiquetas\GP.bmp")
Set oPicA = LoadPicture("C:\Etiquetas\CV.bmp")
If brand.Value = "GP" Then
image.PicturePath = oPic
ElseIf brand.Value = "CV" Then
image.PicturePath = oPicA
This is not working because it does not find the path and gives me the BarTender error message 3608.
Do you have any idea I could I solve this?