• 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: How does osascript decide which app to use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does osascript decide which app to use?


  • Subject: Re: How does osascript decide which app to use?
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 20 Nov 2002 09:32:18 -0500

John Delacour (email@hidden) wrote:

>>I have a 'complied script', type 'osas', and creator 'ToyS' (Script
>>Editor). If I do get Info with the Finder the file is set to 'open with'
>>"Script Editor". Yet 'osascript' insists on opening the script with
>>Script Debugger.
>>
>>How does osascript decide which app to use? And how can I change its mind?
>
>Do you mean osascript?

Yes. (Hence the subject :))

> osascript simply runs AppleScript (or other)
>scripts, so it will do whatever your script contains.

Exactly. But 'osascript' doesn't run the script by itself. it uses
Script Editor or Script Debugger. For example:

tell application Finder
activate
end tell

With Script Editor, save this as a compiled script, and run it with
'osascript'. On my machine, it opens Script Debugger (by Late Night
Software) and runs the script, but I would rather it use Script Debugger.
Dow do I influence this?

Thanks!
_______________________________________________
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.

  • Follow-Ups:
    • Re: How does osascript decide which app to use?
      • From: John Delacour <email@hidden>
References: 
 >Re: How does osascript decide which app to use? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: How does osascript decide which app to use?
  • Next by Date: RE: Dialogs (Open file (indesign) without dialog missing fonts & missing)
  • Previous by thread: Re: How does osascript decide which app to use?
  • Next by thread: Re: How does osascript decide which app to use?
  • Index(es):
    • Date
    • Thread