• 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: Disappearing applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disappearing applescript


  • Subject: Re: Disappearing applescript
  • From: John W Baxter <email@hidden>
  • Date: Mon, 8 Jan 2001 13:08:05 -0800

At 8:36 -0800 1/8/01, MoneyMan wrote:
>I too am having trouble using Applescript lately. I'm using a beige
>G3 w/ OS 9.04, OSA Menu 1.22 and Applescript 1.4 (automatically
>updated by Software Update). My scripts aren't disappearing but I've
>been having trouble running some URL Access scripts (for uploading to
>ftp server), especially when launched by OSA Menu. I've been getting
>error messages and sometimes my finder will crash. Also, I'm not sure
>if it's related but I've noticed when I open some of my scripts in
>Script Editor some of the syntax changes. Example:
>
>tell application "BBEdit 6.0"
> set the_list to ""
> +event R*chGoto; 1
> repeat while (find "<a href.*<br>" with +class Grep;)
> set found_text to +class stxt; of window 1
> set the_list to the_list & found_text & return
> end repeat
>
>Notice all the NEW syntax in double chevrons like +event R*chGoto;.
>
>Do I have a bad version of Applescript or could it be some other
>system component? Where can I get a new version of Applescript or URL
>Access Scripting if they're bad or damaged?

It would appear that you don't have the same BBEdit version on the machine
as was used to compile the script when it didn't use the chevron notation.
The BBEdit you do have (else you would get other complaints) doesn't define
the class: R*ch code:Goto event, whereas clearly some version did. It's
not surprising they BBEdit use the R*ch event class: R*ch is the creator
code for BBEdit.

--John
--
John Baxter email@hidden Port Ludlow, WA, USA


References: 
 >Re: Disappearing applescript (From: MoneyMan <email@hidden>)

  • Prev by Date: Circumventing non-scriptable apps
  • Next by Date: Re: Forcing an applet to quit
  • Previous by thread: Re: Disappearing applescript
  • Next by thread: Re: Internet Explorer (GetSource) R23 consistently Returns Rants
  • Index(es):
    • Date
    • Thread