AppleScript Error with FM8A
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