Subject: | |
From: | |
Reply To: | |
Date: | Wed, 9 Jul 2008 13:25:40 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Jul 9, 2008, at 1:07 PM, Bill Steele wrote:
>
> Inside a Filemaker script you don't tell Filemaker things, so that
> becomes
>
> set foo to cell "whatever"
> tell app "something"
> (do some stuff with foo)
> if stuffworked
> set itworked to false
> end tell
> if not itworked
> do script "something else"
> end if
> end tell
>
> But if I put that inside a "Perform Applescript" step in a Filemaker
> script I get an "object not found" error. It seems the object not
> found is the Filemaker script "something else." Didn't give me an
> error message on saving the script, though, so it seems to accept
> the "do script" command.
>
> How do I call a Filemaker script from an Applescript that's inside a
> Filemaker script?
What version of Filemaker are you using? The following works for me
with 9. Another question is Are you addressing 1 file or 2?
I set up a minimalist example.
script "1"
Perform AppleScript["do script "2""]
script "2"
New Record/Request
|
|
|