• 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: is "tell" dead?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is "tell" dead?


  • Subject: Re: is "tell" dead?
  • From: "John C. Welch" <email@hidden>
  • Date: Wed, 23 Oct 2013 10:08:21 -0400
  • Thread-topic: is "tell" dead?

On 10/23/13, 1:47 AM, "Shane Stanley" <email@hidden> wrote:

>On 23 Oct 2013, at 4:35 PM, 2551 <email@hidden> wrote:
>
>> Since we can now create scripts like this
>>
>> use Safari : application "Safari"
>> use Finder : application "Finder"
>> use Mail : application "Mail"
>> use scripting additions
>>
>> open location "http://www.apple.com";
>> delay 5
>> set x to (list disks) as text
>> display dialog x
>> activate Mail
>>
>> which compile and run without explicit targeting, is the ³tell²
>>statement effectively redundant now
>> (aside from the exception of Œusing¹ an app without importing it)?
>
>I wouldn't say redundant -- more largely avoidable.
>
>--
>Shane Stanley <email@hidden>
><www.macosxautomation.com/applescript/apps/>


"use" is really handy unless you have several sources with different uses
for the same terminology. In that case, you probably still want to use
"tell". But I do really like "use".

--
"By filing this PCR you have challenged the honor of my family.  Prepare
to die!"

- 3rd most commonly uttered Klingon programmer phrase




 _______________________________________________
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: is "tell" dead?
      • From: Rick Gordon <email@hidden>
References: 
 >Re: is "tell" dead? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: is "tell" dead?
  • Next by Date: Re: Preferences are cached
  • Previous by thread: Re: is "tell" dead?
  • Next by thread: Re: is "tell" dead?
  • Index(es):
    • Date
    • Thread