![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FM 8.5 I am trying to automate my Invoicing such that I can script a button to create an email with a pdf of the current Invoice attached. This is what I did. table INVOICES 2008 (has relationship with CONTACTS) Print Setup Save Record As PDF specify output file = file:/Users/Matthew/Desktop/ Orders/ To be delivered/ Invoices specify options = Current Record Send Mail To: CONTACTS::Accounting_Contact_Email Attach file: filemac:/Users/Matthew/Desktop/ Orders/ To be delivered/ Invoices It returns the error "Invoices could not be created on this disk." Perhaps my file paths are written wrong? The PDF path I mean to save the pdf in a folder called Invoices. Attach file I mean to take me to the file where pdf was saved. Can you help? |
)
#3
| |||
| |||
|
|
"Smurf" <wearesmu... (AT) yahoo (DOT) ca> wrote in message news:3655970d-9277-40f9-bd7a-9f575f3b3822 (AT) l31g2000vbp (DOT) googlegroups.com... FM 8.5 I am trying to automate my Invoicing such that I can script a button to create an email with a pdf of the current Invoice attached. This is what I did. table INVOICES 2008 (has relationship with CONTACTS) Print Setup Save Record As PDF * * specify output file = file:/Users/Matthew/Desktop/ * Orders/ * *To be delivered/ *Invoices * * specify options = Current Record Send Mail To: CONTACTS::Accounting_Contact_Email Attach file: filemac:/Users/Matthew/Desktop/ * Orders/ *To be delivered/ *Invoices It returns the error "Invoices could not be created on this disk." Perhaps my file paths are written wrong? The PDF path I mean to save the pdf in a folder called Invoices. Attach file I mean to take me to the file where pdf was saved. Can you help? It could just be a typo in posting the Script here, but the two filepaths begin differently. The first output file one says: * * * file:/Users and the second says: * * * filemac:/Users Helpfull Harry * ) |
#4
| |||
| |||
|
|
"Smurf" <wearesmu... (AT) yahoo (DOT) ca> wrote in message news:3655970d-9277-40f9-bd7a-9f575f3b3822 (AT) l31g2000vbp (DOT) googlegroups.com... FM 8.5 I am trying to automate my Invoicing such that I can script a button to create an email with a pdf of the current Invoice attached. This is what I did. table INVOICES 2008 (has relationship with CONTACTS) Print Setup Save Record As PDF specify output file = file:/Users/Matthew/Desktop/ Orders/ To be delivered/ Invoices specify options = Current Record Send Mail To: CONTACTS::Accounting_Contact_Email Attach file: filemac:/Users/Matthew/Desktop/ Orders/ To be delivered/ Invoices It returns the error "Invoices could not be created on this disk." Perhaps my file paths are written wrong? The PDF path I mean to save the pdf in a folder called Invoices. Attach file I mean to take me to the file where pdf was saved. Can you help? It could just be a typo in posting the Script here, but the two filepaths begin differently. The first output file one says: file:/Users and the second says: filemac:/Users Yes, that is correct. When reading this scripting note on Filemaker I am unclear what they are saying. Are they saying if Mac (I am), write, filemac:/Users or file:/Users or /Users/... Perhaps you can clarify this much for me. Thanks |
)
#5
| |||
| |||
|
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |