• 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: <<ascrut>>? Scripting Additions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <<ascrut>>? Scripting Additions?


  • Subject: Re: <<ascrut>>? Scripting Additions?
  • From: Rob Jorgensen <email@hidden>
  • Date: Wed, 4 Jul 2001 21:25:45 -0400

On 7/4/01, Stephen Swift (aka Burnum) commented:

About a month ago, this was discussing the underhanded way of loading SAs, I
believe. It had something to do with a cryptic command like <<ascrut>> or
something like that. Does this refresh anyone's memory? TIA

Here's the part of the thread that I assume you are interested in:

At 11:34 AM -0700 6/14/01, Christopher Nebel wrote:
AppleScript scans for scripting additions at three times: when the system starts up, when someone opens a connection to AppleScript (most applications that run scripts do this when they launch), and whenever a script is compiled.

The easiest way to do the latter is to call "run script" with something trivial, e.g., "1+1". A faster but somewhat underhanded way to do it is to tell yourself to <<event ascrgdut>>. That's the internal event that AppleScript uses to update scripting additions.

And in a follow-up message:

At 12:47 PM -0700 6/15/01, Christopher Nebel wrote:
No, but I did forget something. For arcane and possibly bogus reasons,
the hander will always report failure, so you have to stick it in a
"try" block and ignore the error.


Later,

Rob Jorgensen
Ohio, USA


References: 
 ><<ascrut>>? Scripting Additions? (From: "Stephen Swift (aka Burnum)" <email@hidden>)

  • Prev by Date: Re: Find All (Scriptable) Applications
  • Next by Date: Re: Find All (Scriptable) Applications
  • Previous by thread: <<ascrut>>? Scripting Additions?
  • Next by thread: Script Editor corrupt? ÉXÉNÉäÉvÉgï"èWÉvÉçÉOÉâÉÄ
  • Index(es):
    • Date
    • Thread