• 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
Testing for the presence of an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing for the presence of an application


  • Subject: Testing for the presence of an application
  • From: Robert DeLaurentis <email@hidden>
  • Date: Thu, 27 Jan 2005 16:23:52 -0800

Hi all,

Is there a way to test for the presence of an application? I need to set up a block of conditional code that seeks an email client, then creates a new message in that client.

I tried XMail, as suggested by others here (Thanks!) and it is very cool, but it appears to have a bug that causes problems with long domain names as senders or destinations. So, now I'm proceeding on the assumption that I have to use a client instead.

I have Mail working, but this script (which is part of a Studio app) has to work on several other machines, which use different email clients. The code for talking to each client I have, but I do not know how to create a conditional test that finds an application and opens it. The other wrinkle in here is that some machines may have more than one client, so I may have that condition to contend with as well.

Thank everyone for your help. I've built a fairly decent Studio application, and learned more than I ever thought possible with Applescript this week, but I'm not bumping my head against a ceiling, and would appreciate any advice anyone cares to offer.

Thank you!
b

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Testing for the presence of an application
      • From: Robert DeLaurentis <email@hidden>
  • Prev by Date: Re: definition list recommendations?
  • Next by Date: Re: Testing for the presence of an application
  • Previous by thread: Re: Move Document Window to Front Quark6.5
  • Next by thread: Re: Testing for the presence of an application
  • Index(es):
    • Date
    • Thread