Mime-Version: |
1.0 (Apple Message framework v926) |
Content-Type: |
text/plain; charset=US-ASCII; format=flowed; delsp=yes |
Date: |
Wed, 9 Jul 2008 13:25:40 -0400 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
<p06230906c49a9cfdce43@[128.253.187.23]> |
Content-Transfer-Encoding: |
7bit |
Sender: |
|
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
|
|
|