• 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: Interpretation of "An identifier can't go after this identifier"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interpretation of "An identifier can't go after this identifier"


  • Subject: Re: Interpretation of "An identifier can't go after this identifier"
  • From: Emmanuel LEVY <email@hidden>
  • Date: Sat, 12 Dec 2009 18:43:11 +0100

For me, your command is not (yet) recognized by your app. The message is exactly the same as you would have for whatever terms: AppleScript knows that two variable names can't be one next to each other, that makes no sense. Try:

someterm anotherterm yetanother andafinalone

This will select the two first words, and display the same error message as you say.

Emmanuel


On Dec 12, 2009, at 5:34 PM, Jerry Krinock wrote:

Although I've written a Cocoa application, this is more of a user- level question.

In my app's sdef file, I've defined a "BookMacster Suite", and in there a command 'view errors from worker'. When I view the app's dictionary in AppleScript Editor, I see, as expected, in the BookMacster suite:

view errors from worker v
view errors from worker

Wonderful.  However, when I execute the script

tell application "BookMacster" to view errors from worker

I get the very disappointing result that "An identifier can't go after this identifier", and what's weird is that only the first two words "view errors" are highlighted.

Could someone please explain how to interpret this. Or maybe, which identifier is "an identifier" and which identifier is "this identifier"?

Mac OS 10.6

Thanks,

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


This email sent to email@hidden

_______________________________________________ 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: Interpretation of "An identifier can't go after this identifier"
      • From: Jerry Krinock <email@hidden>
References: 
 >Interpretation of "An identifier can't go after this identifier" (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: SpeechRecognitionServer
  • Next by Date: if else loop
  • Previous by thread: Interpretation of "An identifier can't go after this identifier"
  • Next by thread: Re: Interpretation of "An identifier can't go after this identifier"
  • Index(es):
    • Date
    • Thread