• 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: A choose application question (and C'thulhu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A choose application question (and C'thulhu)


  • Subject: Re: A choose application question (and C'thulhu)
  • From: "Serge Belleudy-d'Espinose" <email@hidden>
  • Date: Fri, 30 Mar 2001 16:14:20 +0200

At 1:19 -0800 30/03/01, Paul Berkowitz wrote:

>property xAppFile : ""
>
>if xAppFile = "" then
> set xApp to choose application
> set xAppFile to (path to xApp) as string
>end if
>
>tell application xAppFile to launch

Ok, your answer was correct and helpful...
but I should have mentionned that I need to link to an app on a machine that only allows program linking, not file sharing. The 'path to' answer is then unusable (not to mention that it is boggus, lacking a ':' -> 'Mac OSSystem folder...')

>'choose application' is supposed to allow the result to be 'as alias' or 'as
>file' (AS 1.6) but it doesn't work: the result is always 'application
>"Something"' as a running application. Saving that result as a property
>errors if the application isn't running the next time you run your script.

Which would be useful anyway since the purpose is to allow the selection of an app on the fly. But I wasn't able to make it work like that.

I know of at least two applications written in AS that can remember chosen network apps between launches, so it _must_ be possible...


Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // // http://www.ijm.jussieu.fr/ Univ. Jussieu - Paris
//\//\//\\


References: 
 >Re: A choose application question (and C'thulhu) (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: osascript from the terminal: error?
  • Next by Date: Re: Upgraded to AS 1.6 now problems...
  • Previous by thread: Re: A choose application question (and C'thulhu)
  • Next by thread: Re: A choose application question
  • Index(es):
    • Date
    • Thread