I am guessing most of you have never used i Multi-Ad Creator but I am hoping someone can help. After doing a version update (rom 8.04 to 8.54) I started to have a script issue. (running os 10.4.11)
the script is functional (resides in my attached script folder)
but after it runs
i loose functionalty from the Creator application (ex: all the file functions are grayed out…key commands dont work) if i remove the script and restart the program the functionality returns (*i have attempted to isolate the issue with say “1”, say “2” etc etc at key points in the script. the script doesnt appear to exit cleanly …after “end if” the script will not respond with a “say #”)
below is the script …basically it is auto pdf proofer…upon save it allows the user to send a proof to specific destination folder
property PDFPath : “AD-GRAPHICS:PDF_Proofs:”
using terms from application “MultiAd Creator Pro”
on saved theDoc
set question to display dialog “Send Proof?” buttons {“Yes”, “No”} default button 2
set answer to button returned of question
if answer is “Yes” then
set fileName to name of theDoc
set destFolder to PDFPath
--Trim off .crtr extension if it has one:
if fileName ends with ".crtr" then
set sd to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"."}
set fileName to (text items 1 thru -2 of fileName) as text
set AppleScript's text item delimiters to sd
end if
tell application "MultiAd Creator Pro"
export PDF current spread of theDoc saving in (destFolder & fileName & ".pdf") print order user order export method composite resolution limiting 300 black and white compression use zip color image compression use JPEG quality 80 with embed no base 14 fonts, use doc size, binary encoding and compress text and line art without print as spreads, crop marks, registration marks, color bars, document notes, plate information, text blocks only and presentation mode
end tell
end if
end saved
end using terms from