• 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
OSA installed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSA installed?


  • Subject: OSA installed?
  • From: Oleg Lodygensky <email@hidden>
  • Date: Wed, 12 Sep 2001 17:40:55 +0200

sorry if the answer is obvious and/or has already benn posted...

how can a running script know if a scripting extension has been installed ?
I have installed Satimage scripting extension and written a script using
'path to application' but I would like the script to work even if that
scripting extension has not been installed

the problem is that 'path to application' from Satimage takes creator type
and the one from "Standard scripting extension" takes applicatin name

any idea?
thanks
Oleg.



-- ************************************************************
on getAppPath()
-- get CW appllication path
-- ************************************************************

try
-- this works if Satimage OsaXen provided with Smile is **NOT** installed
set cw_appFullPath to path to application "CodeWarrior IDE" as string
on error
try
-- this works if Satimage OsaXen provided with Smile is installed
set cw_appFullPath to path to application "CWIE" as string
on error
error "Can't find Codewarrior application" number 1
end try
end try

return cw_appFullPath
end getAppPath


  • Follow-Ups:
    • Re: OSA installed?
      • From: "Bob.Kalbaugh" <email@hidden>
  • Prev by Date: Re: Quark 5.0 Beta, layering
  • Next by Date: AppleScript and Web Pages
  • Previous by thread: Quark 5.0 Beta, layering
  • Next by thread: Re: OSA installed?
  • Index(es):
    • Date
    • Thread