Re: is "tell" dead?
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