Close Label File after print フォローする
My goal is to close my label file after the print ends.
Initial thought is to VB Scripting in the ObPrintJobEnd event (File -> BarTender Document Options -> Check VB Scripting option -> Select OnPrintJobEnd event -> Edit... button).
I'm new to VB scripting, but my thought is that i need to establish a handle to the BarTender application, then establish a handle to my label file and then execute a ".Close" command.
I've toyed around with various formats of the syntax but can't seem to get anything working:
Dim objBTApp, objBTLabelFile
Set objBTApp = GetObject(,"Application.Bartender")
after this point I've tried many iterations of syntax combinations. I could list a few but i'm sure they'd provide no benefit or further exemplify my 3rd sentence in this post; "I'm new to VB scripting".
Any help is appreciated!