• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Bar Code Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Bar Code Pro


  • Subject: Scripting Bar Code Pro
  • From: "Chris Nitz" <email@hidden>
  • Date: Tue, 20 Mar 2001 10:20:21 -0800

HELP! This doesn't work!
The Application "Bar Code Pro. with Veribar." quits after/during the
"save" step.
Then the AppleScript gets stuck.

AFAIK: BarCodePro is supposed to (?) know the filename, based on the data
entered.

Sometimes (half the time?), the first Document (00000000000.eps) saves
OK...
...but then (always) the application just disappears -- no error = KnoW
nothin'.


The Variables (a,b,c,d,e,f,g,h,i,j,k) are just numbers from 0-9, inside a
loop.
This script is supposed to generate every numerical combination for some
11 digit barcodes, built off of a "template" file that has most of the
settings already correct.

-- START SCRIPT --
set TheTemplate to choose file with prompt "Select the BarCode Template."

tell application "Bar Code Pro. with Veribar."
open TheTemplate
tell document 1
set TheNumber to (a & b & c & d & e & f & g & h & i & j & k) as text
set main input to (TheNumber as text)
set add_on input to ""
Do Menu (save) -- ERROR HERE -- WHY????
Do Menu (close)
end tell
end tell
-- END SCRIPT --



(Mac OS 9.1 -- AppleScript 1.5.5 -- Bar Code Pro. 3.55 Veribar -- G4 w/512
meg ram)


Please respond to email@hidden.
Thanks.

Chris Nitz
Senior Prepress Systems Analyst
Wizards of the Coast Production Dept.

E-mail: email@hidden  Desk: 425 204-8044  Cellular: 206 604-0357


  • Prev by Date: Re: help
  • Next by Date: Looking for Marionet
  • Previous by thread: [OFF] Re: upgrade issues: 8.1 --> X
  • Next by thread: RE: Scripting Bar Code Pro
  • Index(es):
    • Date
    • Thread