• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]


  • Subject: Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
  • From: Deivy Petrescu <email@hidden>
  • Date: Sat, 29 Dec 2001 10:38:53 -0500

On Saturday, December 29, 2001, at 03:35 , Paul Berkowitz wrote:

On 12/29/01 12:02 AM, I wrote:

On 12/28/01 11:00 PM, "Donald S. Hall" <email@hidden> wrote:

Is there any way to ensure that the correct version of an app is selected
without having to resort to 'choose application'?

The one sure way is to to use the path to the application file.


Actually, as you can see further down the discussion, that's not actually
true, which is what's fascinating. I shouldn't have said so above, and had
forgotten the whole story. If neither version of the application is open,
even having the full path to the application file and saying

tell application "OS X HD:Applications:Microsoft Entourage"

will still open the Classic version if that's the one the system remembers
as 'application "Microsoft Entourage"', or vice versa.

Paul, I believe the correct path would include "...Entourage.app"


That can be very
annoying and puzzling. Something in the system just interprets the 'tell
application' construct as 'tell application "Microsoft Entourage" and opens
the one it likes, no matter if you put in the path to the other one!

What if you include ".app" in all your apps, will *it* still do that?
May be the .app could be a life saver.

,,,,
Sorry I got that bit wrong above, but it's so counter-intuitive and against
what we always found before these OS X apps that I really had to go over the
ground again to recall everything.

--
Paul Berkowitz

Agreed. It is !

By the way two things I've noticed:
a. The script: open application "OS X HD:Applications:Microsoft Entourage.app" -- the full correct path
will open the dictionary of an scriptable app.
b. Using System Events instead of Finder (when possible) saves some time, since it does its job without "Finder" calling it do it.

Regards

Deivy Petrescu
http://www.dicas.com


  • Follow-Ups:
    • Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?] (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Re: URL Access Scripting completion
  • Next by Date: Re: Post Data
  • Previous by thread: Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
  • Next by thread: Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
  • Index(es):
    • Date
    • Thread