• 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: Scripting Additions Calls in Tell Blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Additions Calls in Tell Blocks


  • Subject: Re: Scripting Additions Calls in Tell Blocks
  • From: Gary Lists <email@hidden>
  • Date: Tue, 10 Feb 2004 00:40:06 -0500

Gary Lists wrote [2/9/04 11:32 PM]:

> Michael Terry wrote [2/9/04 7:34 PM]:
>
>> However, now it seems to me that calling additions in tell blocks isn't
>> as harmless has been made out. I didn't know that scripting additions
>> could be aware of their context, but note:

>> open location "http://www.google.com/";
>> --> ".014 secs"
>>
>> tell application "Safari"
>> open location "http://www.google.com/";
>> end tell
>> --> ".405 secs"

From another list, here is an example of a problem stemming from the use of
the same command 'open location' inside a tell block. (Although I didn't see
the specific problem noted...an error?)

I just thought it was an interesting and relevant coincidence.

> On 2/8/04 2:51 PM, "ANSWERER" <REMOVED> wrote:
>
>>> Can somebody please help me with the appropriate Panther syntax for:
>>>
>>> tell application "Finder"
>>> open location "http://SOMEDOMAIN/~somedirectory/Digests/DBI-Users/";
>>> end tell
>>
>> ASKER,
>>
>> "open location" is part of Standard Additions, not part of the Finder's
>> dictionary. Try taking it out of the Finder tell block and see what happens:
>>
>> open location "http://SOMEDOMAIN/~somedirectory/Digests/DBI-Users/";
>>
>> HTH,
>>
>> ANSWERER
>>
>
> Thanks ANSWERER, that did it!!

--
Gary
_______________________________________________
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: Scripting Additions Calls in Tell Blocks (From: Gary Lists <email@hidden>)

  • Prev by Date: RE: Scripting Additions Calls in Tell Blocks
  • Next by Date: Sed replace oneline nogo in Applescript
  • Previous by thread: Re: Scripting Additions Calls in Tell Blocks
  • Next by thread: Re: Scripting Additions Calls in Tell Blocks
  • Index(es):
    • Date
    • Thread