Printing InDesign PostScript to Two Volumes with the Same Name
Printing InDesign PostScript to Two Volumes with the Same Name
- Subject: Printing InDesign PostScript to Two Volumes with the Same Name
- From: "Simon, Garry" <email@hidden>
- Date: Wed, 28 May 2008 21:48:54 -0500
- Thread-topic: Printing InDesign PostScript to Two Volumes with the Same Name
I've got an
interesting problem. I'm using a script to print a PostScript file out of
InDesign to a folder located on one of two mounted volumes. The script
allows the user to choose the destination folder. The problem is, both
volumes have the same name. The destination folders for my PostScript files
are not common between the two volumes, but the script will not find the
destination folder on one of the two volumes (the one that was mounted last).
Does this make sense? For example, if I have two mounted volumes named
"MyVolume", and destination folders "MyVolume:Folder_1" for the first volume and
"MyVolume:Folder_2" for the second volume, InDesign won't print to one of the
two folders. Here's part of the code:
-- UserChoice is a
destination folder chosen by the user
-- The current
application is "Adobe InDesign CS3"
set PostScriptPath to ("MyVolume:" & UserChoice & ":" & DocName & ".ps") as string
tell active
document
tell print
preferences
set
active printer preset to theStyle
set printer to postscript
file
set print file to PostScriptPath
end tell
print without print dialog
end tell
I guess what I
really need is a way to differentiate the two "MyVolumes" within the output path
name.
Thanks,
Garry
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden