Final Reality Check (Was... I lost count)
Final Reality Check (Was... I lost count)
- Subject: Final Reality Check (Was... I lost count)
- From: email@hidden
- Date: Fri, 07 Sep 2001 08:54:59 -0500
- Priority: normal
Thanks for everyone's responses... except for Jon's "Moron" crack. I
agree with him to a point, but that would mean I work with 100 morons!
Anyway, sorry to post in such a frustrating tone. I have till the end of
the year to singlehandedly develop, test & implement a digital document
delivery system for my company (a $200M heavy equipment manufacturer)
incorporating thousands of pages, manuals, CD's & possible web-delivery.
I have spent 8 to 10 days trying to "Teach" myself AS, and the deadline
keeps getting closer. I'm looking for information to script some of these
processes on a G3, OS9, 128MB using PageMaker 6.52 and Acrobat 4.05a.
I'm trying to script the batch conversion of 1000 PM Docs to PDF files. I
need to interrupt the process to enter metadata into several fields. I
realize this may have to be done using two scripts (printing PM docs to
.ps files and later distilling .ps files to .PDF is my current tactic).
So, in fear of everyone laughing, here's exactly what I've written:
=======================================================================
tell application "Finder"
activate
select every item of container window of folder "FilesToConvert"
open selection
tell application "PmScript" -- The app that runs scripts in PM
run script "PrintToPSFile"
end tell
end tell
-- This is my PageMaker Script "PrintToPSFile"
Print 1, 0, -2, "PubToDsk.ps"
to folder "FilesToConvert"
Exit
======================================================================
I'm running the Finder script from the OSA menu and the PM script is is
in the Scripts Folder with the PM App.
Current Problems:
1. File Naming of .ps file ends up being PubToDsk.ps. Tried "" first, but
this is PM way of ignoring the Print to File option in the Print Command.
File names need to be same as original except for extension (p65 to .ps).
2. I need to have the script(s) loop (I think) through the folder until
all files have been converted.
3. Finder script seems to find the PM script, but I get an error "Apple
Event Timed Out" with the line: run script "PrintToPSFile" hi-lited.
I haven't even touched Acrobat yet to look at scripting the distillation
and keying in the metadata. From some of the comments I've read here it
sounds like that could be a whole 'nother ballgame. And speaking of
ballgames, if Kevin is out there... ('clones or hawks). Your choice
determines how I view anything you have to say...
Jerry me