• 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
AppleScript Error with FM8A
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript Error with FM8A


  • Subject: AppleScript Error with FM8A
  • From: Ted <email@hidden>
  • Date: Thu, 5 Jan 2006 19:52:57 -0800

Hello All,

We just switch our database over to FileMaker Pro 8 Advanced and the AppleScript that worked fine before with FMP6 no longer works with 8. Nothing else has changed. Here's the script:

set homePath to (path to home folder as text)
set theFilePath to homePath & cell "PDFLocation_TempPO_c" of current record
tell app "FileMaker Pro" to set the newName to cell "Invoice_ID" of current record
tell app "Finder" to set the name of file theFilePath to newName & ".pdf"


	I keep getting the following error message:

Can't make <<class ccel>> "PDFLocation_TempPO_c" of <<class pCRW>> of <<script>> into type string.

	Which is followed by:

Unknown Error:-1700.

I'm sorry, but I can't make heads or tails out of these errors. Could someone please tell me what I need to change to make this work again?

Thank you,
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How do I delete the 1st three characters from a variable
  • Next by Date: Re: AppleScript Error with FM8A
  • Previous by thread: Re: Save text to file (Applescript-users Digest, Vol 3, Issue 10)
  • Next by thread: Re: AppleScript Error with FM8A
  • Index(es):
    • Date
    • Thread