Re: Telling FMP to...
Re: Telling FMP to...
- Subject: Re: Telling FMP to...
- From: SemiColon <email@hidden>
- Date: Wed, 22 Nov 2000 22:00:46 -0800
At 4:03 PM -0800 11/22/00, Jed Verity wrote:
>
Happy Thanksgiving's Eve to you US subscribers...
>
>
I was wondering if anyone has noticed significant time/performance
>
distinctions between actually telling FileMaker Pro to perform an
>
AppleScript from its own environment vs. omitting the tell blocks.
>
>
For example, you can use either of these successfully within the "Perform
>
AppleScript" script step:
>
>
1) set cellValue of cell "fieldName" to "teststring"
>
2) tell app "FileMaker Pro" to tell database "dbname" to set cellValue of
>
cell "fieldName" of current record to "teststring"
>
>
Obviously, the former is less cumbersome but I'm wondering if there are ever
>
targeting conflicts. (And is the latter significantly slower in any cases or
>
does it ever engender self-conflicts?)
Happy Thanksgiving's Eve to you too.
The only issue I ever had with leaving in the "tell "FMP"" lines was
in a database sent to me via email. It was created with FMP4. I
opened it in FMP5 and converted it. Later, when I used the script
embedded in the db, and despite running in FMP5, the script opened a
copy of FMP4 on my drive. Editing the script and removing the tell
lines fixed that.
I might* extrapolate from the experience that leaving in the "tell
FMP" lines will slow the script's execution. It did, after all, go
find my FMP4 copy, and it must take some* time to look for it.
;