• 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: Finder Tell Blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Tell Blocks


  • Subject: Re: Finder Tell Blocks
  • From: John W Baxter <email@hidden>
  • Date: Mon, 4 Mar 2002 08:13:31 -0800

At 8:10 -0600 3/4/2002, JollyRoger wrote:
>On 3/4/2002 7:29 AM, "Mr Tea" <email@hidden> wrote:
>
>> This from JollyRoger - dated 4/3/02 01:01 pm:
>>
>>> application "Finder"'s execution state
>>
>> "Ohh!", I think. "That looks interesting, I wonder what it does?"
>>
>> And the answer is, it generates an error message when I try to compile it.
>> "A identifier can't go after this identifier."
>>
>> How is this property accessed, and what does it mean? Is it terminology from
>> an addition that I don't have installed, or some sort of piratical jest?
>>
>> Hmm?
>
>Serves me right! I wrote that without running it to test it. ;)
>
>Not sure why that fails to compile. :/

It depends. Alone in a script (no Finder tell blocks), the answer is simple:
"execution state" is unknown, as are "execution" and "state". It's like
writing
a b
without having defined the variables.

After a Finder tell block, there is a different error:

tell application "Finder"
end tell
application "Finder"'s execution state

Now the error is "Expected end of line but found property". (Script
Debugger highlights the "state".)

I think that means that AppleScript does now know the term "execution
state" because of the prior tell, but doesn't know what to do with it.
(Same result if one puts the usually-optional "get" in front of the line,
and/or the usually optional "the" in front of "execution state".)

--John


--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
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: Finder Tell Blocks (From: JollyRoger <email@hidden>)

  • Prev by Date: Re: Damn send button / Wind chill (nesting more efficient shock)
  • Next by Date: Re: Now is: Finder tell block
  • Previous by thread: Re: Finder Tell Blocks
  • Next by thread: Re: Finder Tell Blocks
  • Index(es):
    • Date
    • Thread