• 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: Setting default editor for when scripts go belly-up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting default editor for when scripts go belly-up


  • Subject: Re: Setting default editor for when scripts go belly-up
  • From: JJ <email@hidden>
  • Date: Mon, 22 Apr 2002 03:52:30 +0200

> I recently joined the happy community of Script Debugger users. In OS X,
> it's easy to make it my default script editor when I open up a compiled
> script, but what about those moments when an applet is running and things go
> wrong. An untrapped error puts up a dialog with an edit button that opens
> the applet in Script Editor if I click it. Is there a way to have the applet
> open in Script Debugger instead? (Without adding extra error-trapping code
> to my scripts, that is.)
>
> TIA

It doesn't mark-up the errors, but a workarround is:
- compress/delete Script Editor
- make-save an applet which will handle the open command:

on open this_file
tell app "Finder" to open this_file... -using your preferred app
end open

- set its creator type to "ToyS"

JJ
_______________________________________________
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.

  • Prev by Date: Re: Apple: Please deal with basics
  • Next by Date: Re: Apple: Please deal with basics
  • Previous by thread: Re: Read RTF in OS X?
  • Next by thread: MacOS: Making 6,000 barcodes
  • Index(es):
    • Date
    • Thread