Re: How to make scripts reference multiple revs of an app
Re: How to make scripts reference multiple revs of an app
- Subject: Re: How to make scripts reference multiple revs of an app
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 02 Mar 2004 23:31:15 -0800
On 3/2/04 10:45 PM, "Michael Terry" <email@hidden> wrote:
>
On Mar 2, 2004, at 10:28 AM, Richard 23 wrote:
>
> To find out the default version of an application that would be
>
> run before using "tell",
>
>
>
> tell application "Finder" to get application file id "XPR3"
>
> set {theName, theVersion} to result's {name, version}
>
>
>
> then you could roll out your version-specific script
>
The problem is that if you include app "Whatever"'s then anyone who
>
doesn't have the application can't recompile the script, right? As far
>
as I know, it's safe until then, but that's annoying enough as it is.
>
>
If the app terminology is just aeut stuff, then you can confuse the
>
matter with:
>
>
set appName to "Smile"
>
tell app named appName
>
>
or what-have-you, but that won't work for me this time.
>
>
Then there's just putting in the raw codes, but who wants to do that?
>
>
So what have you got?
But for the past several years you've been able to compile using
using terms from application "Each App"
end
and don't need the raw codes. It just works as long as you compile on a
computer (OS 9.0 or later) with all the right apps, and use a variable for
the app name as Richard23 has above. You can even use it on older OS's and
it works.
Is there something I'm missing here?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.