• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting FMP to print to .ps via AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting FMP to print to .ps via AppleScript


  • Subject: Re: Getting FMP to print to .ps via AppleScript
  • From: David Crowe <email@hidden>
  • Date: Mon, 10 Feb 2003 11:11:31 -0700

Oz;

What error are you getting? Is it from FileMaker or the Finder. I
modified it for my purposes, and it seemed to work fine.

set theKnownPath to "+In Basket+:NewName.pdf"
tell application "FileMaker Pro" to set the newName to cell "Source
Filename" of current record
tell application "Finder" to set the name of file theKnownPath to
newName & ".pdf"


I'm a little suspicious of the "-1" inside the name of the cell...

- David Crowe

At 4:54 PM +0000 2/10/03, email@hidden wrote:
>>If you can't get the filename exactly what you want, why don't you
>>go with the flow, let FMP create the wrong file name and then just
>>copy or move the file to the name and place that you want it to be?
>>
>>- David Crowe
>
>Amazingly, I am working on that aspect just now - but again I can't
>get this to work either as Applescript called from FMP or from
>AppleScript Editor. My script is, from FMP :
>
>Set theKnownPath to "PDF:Tool Bar Dock.pdf"
>(--ie FMP's usual generic name; also saves as "Untitled")
>tell application "FileMaker Developer" to set the newName to cell
>"Applescript Name Annual Extract-1" of current record
>tell application "Finder" to set the name of file theKnownPath to
>newName & ".pdf"
>
>What am I doing wrong?
>
>Thanks for any help
>
>
>
>Oz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting FMP to print to .ps via AppleScript
      • From: email@hidden
References: 
 >Re: Getting FMP to print to .ps via AppleScript (From: email@hidden)

  • Prev by Date: Path to me broken?
  • Next by Date: Re: Getting FMP to print to .ps via AppleScript
  • Previous by thread: Re: Getting FMP to print to .ps via AppleScript
  • Next by thread: Re: Getting FMP to print to .ps via AppleScript
  • Index(es):
    • Date
    • Thread