• 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: scripts revert to <<class foobar>>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripts revert to <<class foobar>>


  • Subject: Re: scripts revert to <<class foobar>>
  • From: Jon Pugh <email@hidden>
  • Date: Wed, 13 Aug 2003 14:57:22 -0700

At 1:11 PM -0700 8/13/03, Matthew Galaher wrote:
>While I would still be interested to know why any script would change elements to chavrons followed by 'class' foobar where actual working code was before hand, My script now completes syntax checking with out error.

A couple of ways to get into a mess are:

1) When opening the first script which references an application, such as the Finder, AppleScript asks the Finder for its terminologies. If the Finder is busy this can timeout, and you will get <<the chevrons>>. This only happens the first time per script editor session, so reopening the script won't help. You need to quit your script editor and then reopen the script. Preferably while the scripted application isn't busy.

2) Having an incorrect version of the application running. AppleScript will automatically prefer running versions of applications to the one stored in the script. Normally this is a good thing, unless you are running an old version. This is hard to do with the Finder, but easier for other applications.

So, I'd guess the first is what is biting you.

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

References: 
 >Re: scripts revert to <<class foobar>> (From: Matthew Galaher <email@hidden>)

  • Prev by Date: Re: scripts revert to +AKs-class foob+ALs-
  • Next by Date: Mail - making a new rule
  • Previous by thread: Re: scripts revert to +AKs-class foob+ALs-
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread