I Have the following AppleScript which I run and which works fine
tell application "Preview"
print POSIX file
"/Volumes/SnapServer/Test_Invoices/Checon_Invoices/2019/04 -
April/224747_04_12.PDF" with print dialog
end tell
I have the code I use to create it and will share should someone else have a
need. I am posting for a few reasons. Someone posted about printing
PDFs and I found the windows solution but none for a MAC. This one works.
Can you print more than one document? if so do I need a second tell application
or is there some other way. I do not want to muck around to
much as this has taken quite a bit to make work
How would I bring Preview to the front
Thanks and regards
Chuck
------------------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306
Informed Solutions, Inc. Fax: (617) 232-1064
mailto:cjmiller<AT SIGN>informed-solutions.com
Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D and Sybase connectivity
http://www.informed-solutions.com
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under applicable
law. These materials are intended only for the use of the intended recipient.
If you are not the intended recipient of this transmission, you are hereby
notified that any distribution, disclosure, printing, copying, storage,
modification or the taking of any action in reliance upon this transmission is
strictly prohibited. Delivery of this message to any person other than the
intended recipient shall not compromise or waive such confidentiality,
privilege or exemption from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************