|
|
Not impressed!
I tried their example for making an email attachment, but it just crashes whichever application I was printing from!
Not impressed!
Unfortunately - Apple has doen its usual "lets release a great technology and offer no support or docs for it" routine. The PDF crowd is REALLY excited about this though and many are furiously whipping up AS for use. Be on the lookout...
Not impressed!
Frogmella, where do you see these scripts being discussed? I'd like to see what others are doing before I duplicate their efforts...
Not impressed!
worked fine for me. Make sure you check the script (in script editor: click on the "check syntax") for typos. If you copy/paste from the HTML page, you might get a few formatting problems (I did :) like missing spaces, etc...
use alias of email program instead
There is no need to use the example script. Juat make an alias of your email program and put that in the PDF Services folder. You can name the alias whatever you want. This works for Entourage as well as Mail.app.
use alias of email program instead [not necessarily]
It is probably worth it to cut and paste the applescripts from the Apple Web site, and to correct the spacing errors that are somehow introduced int eh process, since you get the side benefit of having the new email message window pop up on your screen, as opposed to sitting in the background (although some may see that as a feature).
By the way, does anyone know how to have the "To:" field selected in the window? Sometimes it is (for example if you just drag a file to the Mail icon in the dock) but other times it isn't (for example if you ask Safari to email a selection using the services menu item). If you're frustrated with the code that apple has posted and can't figure out how to get the spaces to work where you want them to, paste this into the Script Editor's "new script" window, and save as "Send via Mail" or something in the ~/Library/PDF Services folder:
on open these_items
tell application "Mail"
set the new_message to (make new outgoing message with properties {visible:true})
tell the new_message
tell content
repeat with i from 1 to the count of these_items
set this_file to item i of these_items
make new attachment with properties {file name:this_file} at before the first character
end repeat
end tell
end tell
end tell
end open
Am impressed! File naming
I'm impressed.
REVISED! File naming for Entourage
Oops, I should have read the original script, it has this option.
REVISED AGAIN! File naming for Entourage
I'm afraid I have a mental block against AS
REVISED AGAIN! File naming for Entourage
Entourage? That looks like the mail script. ;-)
REVISED AGAIN! File naming for Entourage
I couldn't get the script above to work in Entourage. Here's a script that seems to work for me:
A few notes:
Hope this helps someone. -->Steve
Shell Script with a slightly better file name
Here is a shell script I wrote to send the PDF via Mail.app with a less cryptic filename (attachment.pdf). The script creates a copy of the PDF file with the new name and uses osascript to tell Mail.app to create a new message with the attachment. I bet that there is a better way to do this, though. (Maybe someone will post it here!)
Shell Script with a slightly better file name
It looks like I forgot to remove a line that I commented testing out the script posted above. You can omit the following line in the script posted above.
Shell Script with a slightly better file name
Why not using the document title? The PDF Services provide you with
almost all the CUPS options, when working in the shell, so it's an easy one. I wrote a small CUPS backend to directly save into PS or PDF files and use the CUPS options to redefine them into environment variables. Maybe it's worth a look: http://user s.phg-online.de/tk/MOSXS/postscriptfile.gz Regards, Thomas
Am impressed! File naming IT WORKS!!
initial apple script work fine and lets you enter a file name for |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.10 seconds |
|