Jump to content

George from Pittsburgh

Members
  • Posts

    36
  • Joined

  • Last visited

George from Pittsburgh's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Old Hand, Thanks for your response; however I can't quite get it. Go to Record [First] Set Variable [$FieldValue; Value: GetField (GetScriptParameter)] Set Variable [$Where;Value:Get(TemporaryPath) & "my.pdf"] Export Field Contents[ What do I put here as a field or how do I make the container field, the active field? ; "$Where"; Automatically Open] I can also get the field contents with; Set Variable [$FieldContents; Value: GetNthRecord ($FieldValue; 1)] I can't see how to pass the ScriptParameter to the Export Contents portion of the script. Further help will be appreciated. George
  2. Thank You Oldhand; it works wonderfully. In an effort to make the script dynamic, I created a field "gContainer" and set it = Get(Scriptparameter). I then set the Field Contents to "gContainer". However, the export step gives me a file error - Couldn't open the file. Any thoughts?
  3. My question is very simple. How, (step by step), do I embed a file into a container field. I don't wish a reference since the reference is dropped if I move the files. Thank you in advance. Perhaps I am not being clear. After the insert with no reference I can see an icon of the file, but how does the user open the file?
  4. I'm so close. Using the following file paths, with Content Area List.pdf on the desktop and $$ScriptParameter = Content Area List; the attachment works for the second option, but not the first. file:$$ScriptParameter &."pdf" file:Content Area List.pdf It must be syntax, but I can't seem to get it right. None of theses work. file:& Get(DesktopPath) & ($$ScriptParameter) & ".pdf" file: & ($$ScriptParameter) & ".pdf" file: & $$ScriptParameter & ".pdf" file:& Get(DesktopPath) & $$ScriptParameter & ".pdf"
  5. Addendum: I placed the pdf file on the desktop and then ran the email portion to no avail.
  6. sd, Thanks; I made the correction. file: Get(ScriptParameter) & ".pdf" However, it still won't make the attachment I want. Is it because at that point in the script a file - file: Get(ScriptParameter) & ".pdf" does not exist on the desk top. Should I have the script place the file on the desktop first and then let the mail portion execute? Or am I totally misunderstanding the mailing function?
  7. It worked wonderfully! Thank you. My problem now comes when I try to declare the path to attach the pdf file for emailing. I tried file:"Get (ScriptParameter) & .pdf" but this is not a path to an existing file. Any thoughts? A solution will make my script fully dynamic.
  8. Set Variable [$path; Value "file;" & Get(DesktopPath) & "Name.pdf" Save Records as PDF [Restore; Append: No dialog; "$path"; Records being browsed] I would like to replace "Name" with a Parameter or calculated expression. Any thoughts?
  9. For some reason a "Go to Object" script step when the object is a named portal does not execute. I can move to other objects on the layout, i.e. tabs. What am I missing? Thanks for any help
  10. What specific improvements are in DDR in FMP 9? Is is approaching BaseElements, i.e., identifying unreferenced elements?
  11. Thanks for your note. I have found the solution. See attached.
  12. Fenton, Sorry about sending a double of the layout. The global field that you pointed out is a remnant from an earlier attempted solution. The "Constrain Find" did the trick. See attached. Thanks for your help.
  13. I need a workaround for GTRR. I begin in a layout showing courses in a portal. I click on a course button and execute a script which sets local variables for the Content Area ID and Course ID. I then go to a Course layout which shows objectives in a portal, find the selected course, find the rest of the courses in the content area of the course and although I have the desired subset of courses showing in the course portal and the selected course highlighted, I do not have the related objectives in the objectives portal. To get them I must click on the highlighted course which executes a script to find the related records. The problem is although I see the desired course highlighted, the second "find" defaulted the filtered portal to the first record in the set. See attached and see subsequent posts. Thank you for any help
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.