• 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: my 1st applescript - how to get value from record?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: my 1st applescript - how to get value from record?


  • Subject: Re: my 1st applescript - how to get value from record?
  • From: Matthew Smith <email@hidden>
  • Date: Thu, 12 Oct 2006 09:16:14 +1000
  • Thread-topic: my 1st applescript - how to get value from record?

On 12/10/2006 09:08, "Ben Dougall" <email@hidden> wrote:

> tell application "Internet Connect"
> get connect
> end tell
> set L to the result
> set s to speed of L       <<<<< how to do this line so it works?
> display dialog s

Applescript doesn't know what speed of L is. It has no context. You need to
wrap it in a tell block for Internet Connect.

tell application "Internet Connect"
    set L to (get connect)
    set s to speed of L
end tell
display dialog s

--
Matthew Smith


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: my 1st applescript - how to get value from record?
      • From: Ben Dougall <email@hidden>
References: 
 >my 1st applescript - how to get value from record? (From: Ben Dougall <email@hidden>)

  • Prev by Date: my 1st applescript - how to get value from record?
  • Next by Date: Re: my 1st applescript - how to get value from record?
  • Previous by thread: my 1st applescript - how to get value from record?
  • Next by thread: Re: my 1st applescript - how to get value from record?
  • Index(es):
    • Date
    • Thread