• 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: How to do a goto with Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a goto with Applescript?


  • Subject: Re: How to do a goto with Applescript?
  • From: Steve Thompson <email@hidden>
  • Date: Wed, 05 Jan 2011 10:18:06 +0000


On 5 Jan 2011, at 08:11, John Baltutis wrote:

Which is? AppleScript Editor.sdef shows open and stay open. It that's not its
internal directory, what exactly do you think it might be, especially since the
OP stated the Finder's dictionary showed nothing and I showed results?

A long time ago I had an Apple IIe. I discovered when I was learning BASIC that the BASIC interpreter was loaded into RAM at boot. You could locate the string "GOTO" in RAM and poke the ascii values of the characters in, for example, 'TREE' in its place and then your program, written as

10 PRINT "Hello"
20 TREE 10

would work.

The AppleScript Editor.sdef shows the commands that AppleScript Editor understands. What I think this conversation is about is, for example,

tell application "AppleScript Editor"
check syntax of document 1
end tell

we can see in the sdef what "check syntax" does. Question is (I think) what do "tell", "of" and "end" do? And since AppleScript is an interpreted language, there must be an interpreter like the BASIC interpreter on the Apple II that we can look inside and see the commands.

Anyway, I think that's what the question is. :-)

Steve
 _______________________________________________
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

References: 
 >Re: How to do a goto with Applescript? (From: John Baltutis <email@hidden>)

  • Prev by Date: Re: How to do a goto with Applescript?
  • Next by Date: Re: itunes plugins to get device plugin notification
  • Previous by thread: Re: How to do a goto with Applescript?
  • Next by thread: Re: How to do a goto with Applescript?
  • Index(es):
    • Date
    • Thread