Automator attachment-pdf-save-archive
Can anybody recommend an Automator OS Application that could do the following:
1) Once the email is received => it opens the attachment usually MS Words or Pages
2) Exports the attachment as PDF
3) Save PDF file in a specific folder
4) Archives the email in a specific On My Mac Mailbox
Thank you all in advance
Open up Automator & get stuck in, learn by doing
This screenshot shows a "service" for Mail.
Create a new service, set it to receive no input.
Add the actions shown (you will need to filter the list using the search near the top left - above the list).
Configure the locations to save the message attachment files.
Configure the locations to save the PDF files.
Save the service (Call it 'Get attachments as PDF' or something memorable).
In Mail select a message & use the Service by opening the 'Mail menu > Services > Get Attachments as PDF'.
The attachments for the selected message(s) should appear in the folders you selected, some files will not convert to PDF's, but the originals should also be saved for you.
NOTE: This doesn't work with Mail rules, there are limits to what Automator can process, I can't see an option to process Mail messages as input.
You could make an Automator Application that uses a specific mailbox for the input, still not automatic, but it can be quick to run when you need the PDF's.
Similar Messages
-
Automator attaching PDF to email twice
I need to set up an Automator action to automatically attach PDF files to an email and send.
I've tried using a Folder Action, but the action is triggered twice and sends two copies of the email.
I've tried creating a Workflow to be triggered by a Hazel rule, but this time one email is sent with two copies of the PDF attached!
Any suggestions very welcome!Folder Action approach:
-
Unable to attach PDF to email (Outlook for Mac 2011)
We are pushing out software upgrades for CS5 and MS Office 2011 for Mac. We've discoverd that we can't use the Attach to email feature in Acrobat. The spinning rainbow wheel pops up for about a minute, and then Acrobat is non-responsive and we have to force quit. We can still drag and drop an attachment so we have a viable workaround but obviously we'd like to be able to use the automated feature.
All software is up-to-date.
In the preferences panel of Outlook, we have selected Outlook to be the default mail application.
As a sidenote, this feature doesn't work with Acobat X beta either. However, in the beta version of Acrobat X, if we declare Apple's mail application to be the default, it works fine. Unfortunately we use the Office suite as part of our enterprise system, so that's what we need to work with.
Has anyone else experienced this? I've logged a ticket with Adobe but I haven't heard back from them yet.
Thanks for any advise.Take the bhama way
figured out how to make it work. I am using Adobe Acrobat X Pro (mac)
and MS Outlook for Mac 2011.
For those who are interested, this is what I did:
1. Create a folder on desktop to save your pdf¹s files you want to email
to. Mine is named, "PDF to Email"
2. Open Automator, create a "Folder Action"
3. At the top, "Choose Folder", choose your newly created folder on the
desktop
4. Choose the "Rename Finder Items" action from the action list. I chose,
"Don¹t Add" on the add a Copy Finder Items Action menu.
5. On the "Add Date or Time to Finder Item Names" I chose, "Name Single
Item" from the first drop down menu.
6. Click on "Options" at the bottom of that window to select the "Show
this action when the workflow runs" so you can rename your file
something other than the Acrobat default.
7. Choose the "Create New Outlook Mail Message" from the action list and
add it below the "Name Single Item in Finder Item Names"
8. Choose "File>Save As" and give your file a name. Mine is, "PDF to
Email".
9. Close Automator
10. Open Acrobat X Pro.
11. Go to "File>Action Wizard>Create New Action"
12. Here you choose, "Save to>A Folder on my computer"
13. Choose the folder on the desktop that we saved earlier
14. Save the file, with the action name you will remember.
Now when you are in Acrobat X Pro and you want to send that .pdf file via
Outlook for Mac 2011, follow the steps below.
With the file you want to email open, go to "File>Action Wizard>(Action
you created) Mine is "PDF to Email". It will take a few seconds, but you
will get an "Action Completed". You will get a pop up that allows you to
name/rename the file. Then it should open your Outlook with your .pdf
attached and ready for sending.
You might need to tweak the actions to suit your needs, but this should
work for you.
De: DaveGrif <[email protected]>
Responder a: <[email protected]>
Fecha: Mon, 05 Dec 2011 15:56:02 -0700
Para: Eugenio Soberon <[email protected]>
Asunto: unable to attach PDF to email (Outlook for Mac
2011)
Re: unable to attach PDF to email (Outlook for Mac 2011)
created by DaveGrif <http://forums.adobe.com/people/DaveGrif> in Acrobat
Macintosh - View the full discussion
<http://forums.adobe.com/message/4065409#4065409>
It's supposed to work now? I've made sure I'm on latest (check for update)
and it says I am. Still get an error. It does bring Outlook to the
forground, but same error when I hide Outlook - An error occurred while
trying to create a mail document. Suggestions?
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either reply
to this email or visit the message page:
http://forums.adobe.com/message/4065409#4065409 To unsubscribe from this
thread, please visit the message page at
http://forums.adobe.com/message/4065409#4065409. In the Actions box on the
right, click the Stop Email Notifications link. Start a new discussion in
Acrobat Macintosh by email
<mailto:[email protected].co
m> or at Adobe Forums
<http://forums.adobe.com/choose-container!input.jspa?contentType=1&container
Type=14&container=3399> For more information about maintaining your forum
email notifications please go to
http://forums.adobe.com/message/2936746#2936746. -
Automator for PDF merge with variable
Hi - very new to automator, but now very motivated to find a solution to this annoying problem.
I have to scan expense receipts each week and upload them 1 by 1 into a client time & expense system. I don't think Automator can help me with this one.
A second system requires all the expense receipts to be merged into a PDF and a 3rd copy emailed to an approver.
This is what I would like automator to do:
From my Expenses folder, where all my individual PDF's are located
I select all my distinct PDF's for a particular week
Using an automator service, right click style
Using 'Ask for Text', I would enter the "Week of"
My selected PDF's are merged into 1 PDF, with the name = "Week of <VAR>"
Mail starts (can't figure out how to use Gmail in a browser in Automator)
Creates a message to the approver guy with the merged attachment from #5 above
Sends the message
Quits Mail
I can get the automator to run without the variables trick...but it really would save a lot of time if I could just key it in once (instead of #filename, #email subject, #body of the message).
I also tried looking up the UUID for the variable and inserting it into the email body and subject line - but it didn't take.
Can anyone help with this?
Many thanks
bforesteCan't help you with automator, but you can create an app with the applescript below that will do what you want.
Procedure:
1. Open the Applescript Editor by typing Apples in the spotlight search field and hitting 'return' on your keyboard.
2. Copy the entire script below and paste it into the Editor window.
3. Hit 'Command-K' on the keyboard and ensure there are no compiler errors. If there are, please look at the script and see if one part of it was highlighted. Report back what part of the script was highlighted and any error messages.
If the compile didn't produce an error, then:
4. Hit 'Command-S' on the keyboard, choose a snazzy name ("PDF merger" or something...) and a location to save it in (your Apps or Desktop folders). Be sure to change the 'File Format:' to Application at the bottom of the Save screen before hitting 'Save'.
5. The first time you run the app (you run it by double-clicking on it, like any other App), you'll be asked to put in the details manually. On subsequent runs, it will fill in the defaults for you. I haven't set up the default locations for looking and searching for the files as I'm not sure where they would be on your system. I can do that if you tell me the path from your 'home' or user directory.
Also note, I've written the script so that it doesn't send the message until you've reviewed it. i.e., you might want to double check you've attached the correct file, or add a message. If you want it to send automatically without review change the following lines near the end of the script:
change the line 'set visible to true' to 'set visible to false'
change the line 'save' to 'send'
property defaultFolder : ""
property msgSubject : ""
property theRecipient : ""
property theWeeklyname : ""
property outputFile : ""
getInfo()
mergePDFS()
sendMail()
on getInfo()
display dialog "Type the recipient's email address: " default answer theRecipient
set theRecipient to the text returned of the result
delay 0.25
display dialog "Set the subject of the message: " default answer msgSubject
set msgSubject to the text returned of the result
end getInfo
on mergePDFS()
display dialog "Please choose the files to merge…" default button "OK"
set inputFiles to choose file of type "PDF" with multiple selections allowed without invisibles
delay 0.25
display dialog "Please choose a folder to save the merged PDF…" default button "OK"
set outputFolder to choose folder
delay 0.25
display dialog "Type the name of the combined pdf (without the .pdf extension): " default answer theWeeklyname
set theWeeklyname to text returned of the result
set outputFile to (outputFolder as text) & theWeeklyname & "(" & (count of inputFiles) & ").pdf"
set pdfFiles to ""
repeat with p in inputFiles
set pdfFiles to pdfFiles & " " & quoted form of POSIX path of p
end repeat
do shell script "/System/Library/Automator/Combine\\ PDF\\ Pages.action/Contents/Resources/join.py " & "-o " & quoted form of POSIX path of outputFile & pdfFiles
return outputFile as alias
end mergePDFS
on sendMail()
tell application "Finder"
set theAttachment to outputFile as alias
end tell
tell application "Mail"
set newMessage to make new outgoing message with properties {subject:msgSubject, content:"" & return & return}
tell newMessage
set visible to true
make new to recipient at end of to recipients with properties {address:theRecipient}
tell content
make new attachment with properties {file name:theAttachment} at after the last paragraph
end tell
save
end tell
end tell
end sendMail -
InDesign Crashes on export of automated generation - PDF
Hi,
I'm currently developing script (JS) for automated generating PDFs from templates filled with data from transformed XML.
I've prepared tagged and styled templates so it should be enough to import xml file and place it in the right way..
Everything is okay until I try to export PDF. At this point InDesign crashes and nothing is exported. I tested this issue on OSX 10.6.2.; OSX 10.5.8. Win XP. All machines have InDesign from legal CS4 Master Collection with all available updates. All machines have strong enough processor and RAM.
In case of automated import and manual export from InDesign it works. Automated export fails.
I enclose log from console:
12.11.09 12:40:53 com.apple.launchd.peruser.501[121] ([0x0-0x74074].com.adobe.InDesign[2391]) Job appears to have crashed: Segmentation fault
12.11.09 12:40:53 ReportCrash[2418] Saved crash report for Adobe InDesign CS4[2391] version 6.0.4.578 (6040) to /Users/Virus31/Library/Logs/DiagnosticReports/Adobe InDesign CS4_2009-11-12-124053_ASIANSTAR-3.crash
And also the script generating PDF
var myDocument = app.open(File("DocumentTemplate.indd"), true);
//Set import prefs
var myXMLImportPreferences = myDocument.xmlImportPreferences;
myXMLImportPreferences.allowTransform = true;
myXMLImportPreferences.createLinkToXML = false;
myXMLImportPreferences.ignoreUnmatchedIncoming = true;
myXMLImportPreferences.ignoreWhitespace = false;
myXMLImportPreferences.importCALSTables = false;
myXMLImportPreferences.importStyle = XMLImportStyles.mergeImport;
myXMLImportPreferences.importTextIntoTables = false;
myXMLImportPreferences.importToSelected = true;
myXMLImportPreferences.removeUnmatchedExisting = false;
myXMLImportPreferences.repeatTextElements = false;
//Import and apply data (xml)
with(myDocument)
myDocument.importXML(File("Fake-Content.xml"));
myDocument.xmlElements.item(0).placeXML(pages.item(0).pageItems.itemByName("Page1"));
//Export and quit
app.activeDocument.exportFile(ExportFormat.pdfType, File("TestDocument.pdf"),false);
app.activeDocument.close(SaveOptions.no);
There are 2 more attached files (archive with source files + crash report) so you can try it on your own. I can't get what I'm doing wrong and I'm getting mad.
If you ever had this trouble let me know. Thank you.
Lukas
Added crashreport.rtfHi
It may not be relevant, but you have not set a path for the PDF. Put ~/ before the doc name for the PDF to be created in the top level of your home folder. Otherwise the PDF will be put inside the actual InDesign app (Right click app, show Package Contents - contents - MacOS)
This is the case with CS3 anyway. Not checked on CS4.
Cheers
Roy -
Cannot send email. When I click Write the window does not open properly. Does not have the "send, spelling, attach, security, save line there. Then when I click File, then Send now it will not send. A message comes up saying my SMTP server failed. Have check and everything appears to be o.k.
Hi Stephen,
What version of MS Office are you using?
Are you facing the issue similar to that mentioned here: Acrobat/Reader: Attach to Email button not working for PDFs referenced from long URLs
Open Acrobat. Use the click-path Edit - Preferences - select the Category "Email Accounts". In the dialog there is the "Add Account" drop-down. Select "Add Other". The "Add Webmail Account" dialog presents. You'll fill out the dialog's fields with Outlook.com settings. (don't forget the "Advance Settings" button)
From a look-see on the web it appears that the following are the needed settings. BUT, you'll be wanting to validate.
The Outlook.com SMTP server settings for sending outgoing messages from an email program on desktop, cell phone or mobile device are:
• Outlook.com SMTP server address: smtp.live.com
• Outlook.com SMTP user name: Your full Outlook.com email address (not an alias)
• Outlook.com SMTP password': Your Outlook.com password
• Outlook.com SMTP port: 587
• Outlook.com SMTP TLS/SSL encryption required: yes
For incoming messages from an Outlook.com account to an email program using POP, use the Windows Live Hotmail POP3 server settings.
The Outlook.com POP server settings for downloading new incoming messages to email program, cell phone or mobile device are:
• Outlook.com POP server address: pop3.live.com
• Outlook.com POP user name: Your full Outlook.com email address (not an alias)
• Outlook.com POP password: Your Outlook.com password
• Outlook.com POP port: 995
• Outlook.com POP TLS/SSL encryption required: yes
Regards,
Rave -
Script on parent pdf opens attached pdf, but attached is no longer Reader-enabled
Hello everyone,
I have a fill-in pdf that uses the following JS to auto open an attached pdf:
this.exportDataObject({cName: "mypdf.pdf", nLaunch: 2});
Now, the problem is that the user (if using Adobe Reader) cannot save data entered into the attached document. Using Acrobat, I reader-enabled the attached file "mypdf" before attaching it to the parent pdf. Somehow, when it becomes attached, it just loses this functionality. Even when I reader-enable the parent pdf, it warns me that it cannot reader-enable attached files.
This seems like a huge flaw, so I imagine there's a solution. Any ideas? Anyone face this problem before?That's extremely helpful. Thanks. Works fine now. David
-
Hello, I was wondering if you would be able to help me out?
I am having trouble with my attached PDF fill-able form, I am creating a form that has a limit of one page so in order for more room in a certain field I have added a Hyperlink to an additional fill-able(secondary) form within the Parent document (primary fill-able form. The secondary form is inserted as an attachment into the Primary form. My problem is when I open this document up in Adobe Reader, the Primary fill-able form is savable but the attached Secondary form for which the hyperlink leads to is non-savable and is a must print only. Is there a way to make the Secondary form savable as well within the same document? or is there another way I could execute what it is I am trying to achieve?
Trying to save other as extended reader has not worked, also if I save the attachment file as an extended reader first I am unable to attach a return hyperlink back to the Parent document,
Help would be greatly appreciated please and thank you!I can't say for certain without looking at the actual PDF but it does appear that they created one large text box over multiple lines. For a fillable form it may have been smarter to remove the lines and create a box with smaller text that supports multiple lines.
At any rate, nothing you can do about it with the free Reader (and depending on the security, maybe nothing with Acrobat either.) -
How to store adobe Interactive form PDF in archive link?
Hi everybody,
I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
There is one mode to save also these datas or I can store only data that I load at the initialization event?
I hope in your fast help.
Regards.
Davide.
To follow the code that I use for Archive my Interactive form like PDF document.
Salvataggio nell'ArchLink ********************************************
Ricavo il PDF Source
DATA: elem_context TYPE REF TO if_wd_context_element,
stru_context TYPE wd_this->element_context ,
item_pdf_source LIKE stru_context-pdf_source.
get element via lead selection
elem_context = wd_context->get_element( ).
get single attribute
elem_context->get_attribute(
EXPORTING
name = `PDF_SOURCE`
IMPORTING
value = item_pdf_source ).
DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_zcentral_person( ).
IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
l_ref_cmp_usage->create_component( ).
ENDIF.
DATA: l_ref_interfacecontroller TYPE REF TO
ziwci__wdr_ess_central_person.
l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
l_ref_interfacecontroller->store_adobe_document(
ar_object = 'ZHRDETRAZ' " Toaom-ar_Object
doc_type = 'PDF' " Toadv-doc_Type
object_id = objid " Sapb-sapobjid
pdf_source = item_pdf_source " Xstring
sap_object = 'PREL' " Toaom-sap_Object ).
METHOD store_adobe_document. ***********************************************
Converto la XSTRING del PDF in tabella binaria
DATA: l_tab TYPE TABLE OF tbl1024,
lenght TYPE i.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = pdf_source
IMPORTING
output_length = lenght
TABLES
binary_tab = l_tab.
Calcolo la dimensione del documento
DATA: doc_id TYPE saeardoid,
size TYPE i,
lineno TYPE i,
length TYPE i.
DESCRIBE TABLE l_tab LINES lineno.
size = lineno * 1024.
DATA toaom_fkt TYPE TABLE OF toaom.
CALL FUNCTION 'ARCHIV_METAINFO_GET'
EXPORTING
ar_object = ar_object
sap_object = sap_object
TABLES
toaom_fkt = toaom_fkt.
CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
EXPORTING
arc_id = 'ZP'
doc_type = doc_type
length = size
IMPORTING
doc_id = doc_id
TABLES
data = l_tab.
Create link to business object
CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
EXPORTING
archiv_id = 'ZP'
arc_doc_id = doc_id
ar_object = ar_object
mandant = sy-mandt
object_id = object_id
sap_object = sap_object
doc_type = doc_type
EXCEPTIONS
error_connectiontable = 1
OTHERS = 2.
ENDMETHOD. ********************************************************************Hi Davide,
I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
Since you are using the archiveLink functionality.
Can you please help me how you did?? What configurations need to be maintained for this?
I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
But I have no clue how to do it?
Can you please help me? -
Display the size of attached PDF form
Hi
I created a form and allow the user to attach an file.No probs with tat.Now i want to dispaly the size of an attached pdf and also want to save a form in local machine.Could anyone help me to come out of this.Hi Prabu,
you can use the pdf viewer or any other (freeware) pdf installed on your client (PC) for display. There is no way to display a pdf inside the smartform.
Regards,
Clemens -
How to Make Link Open an Attached PDF?
I see in "Link Properties" and "Actions" that there is an option to "Open a file"; but when I select this, and click "Add"--I am not given the opportunity to link to the other PDF file that is already attached to the PDF file that I'm working on.
I know this can be done, just don't see how right now.
Thanks.Have the Attachments pane open so that you can see the attached PDF(s).
Using Acrobat's Link tool lay down the link annotation (the 'box' you create) over the text string of interest.
In the Create Link dialog use "Go to a page view".
Click "Next".
The "Create Go to View" dialog presents itself.
Leave it for the time being.
Go to the open Attachments pane. Select the desired PDF. Right click and select "Open Attachment".
Back to the "Create Go to View". Now, click "Set Link".
The "Create Go to View" dialog removes itself.
You're now observing the PDF that has the attached PDF(s).
Note that the PDF to which you linked is also still open.
This will be the case for each attached PDF you link to.
So, as part of the clean up ---
Do a Save As to the PDF having the attached PDFs.
Close the other PDFs.
Good to know.
The default for the link(s) will open the target, attached PDF while closing the "source" PDF that contains the attached PDF(s).
You can edit each link in the "source" PDF to configure "Open in" --
--| Window set by user preference
--| New window
--| Existing window
Open a link's properties. Select the Actions tab. Click the Edit button that is under the Actions 'window'.
Be well... -
PDF email archives: How to selectively re-export to new archive/.pst?
A while back, I made PDF email archives of a variety of Outlook folders, and eventually deleted the Outlook messages in question.
Now, unfortunately, I am wishing I had not. So, a few "save the day" type of questions:
1) Can I convert an entire PDF email archive, or portions of an archive, back into Outlook format? How? (If you know the answer to this, ignore the rest!)
2) Can I selectively search a PDF email archive, and then group-export the messages displayed in the search results into a separate PDF email archive? How? I can manage to use the filters to select a group of messages, but I can't manage to re-export them to a new archive or a PDF portfolio.
thanks,
ErikIt cannot be done in InDesign, but, as you surmised in Acrobat.
You'll need to ask in the Acrobat forums. I don't know of any changes like that in Acrobat DC but because I don't program in JavaScript, I might have overlooked it. Try one of these forums:
Creating, Editing & Exporting PDFs
Rich Media & 3D -
Hi Experts,
I have a requirement where I have developed an Adobe interactive form for notification screen QM02 in the ACTION BOX.
After the PDF preview, the PDF document has to be saved in the attachments tab of the notification.
Can anybody help me in the same?
Since the PDF is just the output preview, does that get saved somewhere in SAP database?
Since the PDF is just the output preview, how shall I capture the PDF and save it in the attachment tab of QM02?Abap help is not required for DMS.
DMS- Document management System is a module which deals with Storing of documents on different server.
Refer :
http://wiki.scn.sap.com/wiki/display/HTGSD/SAP+DMS?original_fqdn=wiki.sdn.sap.com
As suggested in above u can use service object also for attaching PDF.In notification creation/change tcode, left side top u will find the icon.
Note: If you a going to attach documents frequently and the size of doc are heavy then it is not recommendable to use service object. -
how do i convert an attached pdf file in an email?
Good day,
You'll need to save the PDF file to your hard drive first. Then you can submit it to the ExportPDF service. To use the ExportPDF service, simply visit http://exportpdf.acrobat.com and click 'Sign in' at the top right corner. Enter your Adobe ID (email address) credentials to log into the service. As ExportPDF is web-based, you simply utilize the tool through your web browser. After you're logged in, you should see the ExportPDF interface, with a button saying 'Select PDF file..' to get the process started.
Please let us know if you have any questions.
Kind regards,
David -
Cannot directly open attached PDF
Always before I was given the choice between directly opening and viewing an attached PDF document or saving it to file. Now, when I click on the PDF icon, it takes me directly to the save mode with no option to open the file.
Thank you.Windows 7
Firefox
Using AT&T Yahoo! Mail
thank you
John Chalik
[personal info removed by moderator]
Maybe you are looking for
-
How do I make my computer recognize my ipod?
Help anybody, I've been an iPod user two years now, I own a 4G 40 gig iPod I use my iPod as a hard drive for all my files, it was fine until two days ago when I noticed a folder icon when I turned it on, from then on I can't get my computer/itunes to
-
How to back up Home folder to Time Capsule using Backup in OS 10.4.11
I'm new to Time Capsule, but just set up one that I was given, which does 802.11n wireless. No problem connecting to my Intel MacBook and Time Machine. HOWEVER, using Backup v 3.2 on a Dual G4 running OS 10.4.11 was not seamless. The Backup app (need
-
Oracle driver error [-22] : rollback failed
Hi friends Often this message is appearing in my application, without apparent reason: Oracle driver error [-22] : rollback failed Someone has some idea of what can be? Oracle 8i Thanks
-
Customer Forecast Management vs. Collaborative Demand Planning
Hello, Currently my client is trying to replace 40-50 raw excel format forecast which they receive from multiple customers with SAP APO. They use a consolidated format and upload it into another 3rd party tool currently. My question is which best sui
-
this started as soon as I upgraded to 5.0. at first I thought I clicked the icon but I don't have to touch anything. as soon as Firefox starts up completely, it goes to full screen. the window does not have the double rectangle maximized button, just