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: Rob Jorgensen <email@hidden>
- Date: Fri, 24 Nov 2000 08:21:38 -0500
On 11/24/2000, George Pitcher commented on "Scripting more than one
version of an app?":
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.
So I saved the script as an application and dropped it into my startup
folder.
I restarted and Applescript threw a wobbly. When I looked again at the
script, it had renamed both application names as 'Filemaker pro'.
Does anyone have any suggested workrounds for this or am I wasting my time?
FMP 4 has a creator code of FMP3 while FMP 5 has a creator code of
FMP5. I can't tell you how to do it, but I suspect that you'll need
to use these creator codes to keep things straight.
Later,
Rob Jorgensen
Ohio, USA