schotja Posted April 15, 2004 Posted April 15, 2004 Any idea how to email a pdf in a container using scripts or a plugin? FileMaker Version: 7 Platform: Windows 2000
Charles Delfs Posted April 15, 2004 Posted April 15, 2004 try this: export field contents [To a predicted path and filename] Send Mail [attach file:your saved path and pdf file] you can send anything as an attachment like this Charles
schotja Posted April 15, 2004 Author Posted April 15, 2004 Charles, Finally found that after hours of playing but Is there a way to maintain the filename of container or a link to it rather than having to specify a generic one? Thanks for the tip.
Charles Delfs Posted April 15, 2004 Posted April 15, 2004 yeah save the filename to a text field when you first import it. Charles
schotja Posted April 15, 2004 Author Posted April 15, 2004 So when i'm importing it into the container I can somehow strip the filename off the file and put it into a regular text field? I guess thats the question of how to strip that filename?? I'm reviewing the scripts and hopefully i'll see how to do that.
Charles Delfs Posted April 16, 2004 Posted April 16, 2004 What you can do is import the container from a folder that only contains the file you want, then the import fuction can parse out the filename and other attributes into the fields you want. ( this is done on the import fild mapping screen) Does that help? if not post me back Charles
dmaxj Posted April 26, 2004 Posted April 26, 2004 Charles, I tried the above steps. FM6 only gives me the option to import picture/movie files OR text files after I SPECIFY the folder. Am I on the wrong track? Thanks
Newbies intelink Posted June 7, 2004 Newbies Posted June 7, 2004 sorry for asking in here, but is there anyway you know of to email the current record you are looking at? 1 record say which is the customers reciept, report. Many many thanks, and sorry again. Coops
ESpringer Posted June 7, 2004 Posted June 7, 2004 intelink, Please don't post the same question in two places... We all usually read all the questions. Thx!
the Otter Posted October 8, 2004 Posted October 8, 2004 Sounds like a great idea, but how do you go about exporting a container field? FMD7 won
Fenton Posted October 8, 2004 Posted October 8, 2004 We seem to bouncing around between importing, exporting, Windows, Mac...each of which may require a slightly different method, each of which has its own built-in limitations. As far as the dmaxj's question/problem, that you can only import from a specified folder, yes, that's true. What you can do is to either put the image/pdf IN the folder to start with, then Import Folder. Or you can handle it behind the scenes with a plug-in, such as Troi File, or AppleScript, to choose the file, move it to the folder, then (optionally) move it back where it came from. You can use "update matching records," if that helps, keeps you from importing the same file twice; but is basically slow to real slow; requires Show All Records. To Otter's last question, you can export a container field. ExportFieldContents. What's difficult is to do it automatically; ie., without a dialog, especially on hosted files.
Recommended Posts
This topic is 7343 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now