• 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: "Expected class name but found application constant or consideration"...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Expected class name but found application constant or consideration"...


  • Subject: Re: "Expected class name but found application constant or consideration"...
  • From: Chris Page <email@hidden>
  • Date: Wed, 29 Apr 2015 04:38:45 -0700

As Axel Luttgens said, try to produce a minimal script that reproduces the problem and post that here--or perhaps that will make it clear to you what the issue is.

> On Apr 21, 2015, at 3:52 PM, Jean-Christophe Helary <email@hidden> wrote:
>
> Now, when I copy that function from "on ConvertApplescriptDatetoString:ArbitraryCurrentDate" to "end ConvertApplescriptDatetoString:" and paste that bit at the end of a bigger script so that I have all my functions together, an attempt to save the new version of the script gives me:
>
> "Expected class name but found application constant or consideration"
>
> and highlights "string" as the culprit...

In general, it sounds like you have a terminology conflict: something in the other script is using "use" or "tell" or "using terms from" in a way that makes some term (or terms) visible that conflicts with something in the code you're pasting.

--
Chris Page
The other, other AppleScript Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: "Expected class name but found application constant or consideration"...
      • From: Jean-Christophe Helary <email@hidden>
References: 
 > "Expected class name but found application constant or consideration"... (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: big hole in Terminal?
  • Next by Date: Re: Why does opening any script editor open many other apps?
  • Previous by thread: Re: "Expected class name but found application constant or consideration"...
  • Next by thread: Re: "Expected class name but found application constant or consideration"...
  • Index(es):
    • Date
    • Thread