Re: Scripting more than one version of an app?
Re: Scripting more than one version of an app?
- Subject: Re: Scripting more than one version of an app?
- From: Craig Sutherland <email@hidden>
- Date: Fri, 24 Nov 2000 08:27:12 -0600
At 10:05 AM +0000 11/24/00, Pitcher, George wrote:
>
Hi,
>
>
I am gradually moving over from Frontier to Applescript.
>
>
I run two versions of Filemaker on a mac. One is used to deliver stats to
>
our users, with Frontier handling authentication and web-page building. I
>
can only get Frontier to do this with FMP3. However the database from which
>
the stats data is taken from is FMP5. They both run happily side by side.
>
>
I set up a script which would open the FMP5 files along with a password and
>
that worked fine. I then added steps to open the FMP3 files which worked
>
fine the first time executed. I had called FMP 5: 'Filemaker 5' as an
>
application name and 'Filemaker 3' for the other version. When checking
>
syntax, ScriptEditor asked me to find the two applications, which I did, and
>
as I have already said, it then executed OK.
->snip<-
George-
Good background on this can be found at Bill Cheeseman's <
http://www.applescriptsourcebook.com/> in the Tips area. The technique until recently was to use the Tell by Variable or Double-Tell technique. It took me quite a few reads and tries with the concepts involved, but got it.
Now there is a an expression "using terms from" that can accomplish the same thing. I belive it is in AppleScript 1.4 and later, but check the
AppleScript area at Apple's site for details. There is also a help module in Network scripting you can install in your Mac's help system that has useful examples of this.
Craig