• 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: Make an object the "focus" of AppleEvents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make an object the "focus" of AppleEvents


  • Subject: Re: Make an object the "focus" of AppleEvents
  • From: Emmanuel <email@hidden>
  • Date: Fri, 16 May 2003 21:19:57 +0200

At 7:12 PM +0100 15/05/03, John Clark wrote:
>Could someone explain how I make an object the 3focus2 of AppleEvents.
>
>I have an image browser which has a command -
>
>SetTellTarget
> [to reference] -- reference to new focus of AppleEvents

I don't any more about the topic than what you wrote, but I would bet that you're supposed to pass an application, or an object of an application (such as "window 1 of application "Finder""), and that subsequent lines (in the same script), if not encapsulated in any "tell" wrapper, will be sent to that object.

-----------------
SetTellTarget to application "Finder"
set theFile to selection
-----------------

I suppose that the "to" parameter is optional because you just say "SetTellTarget" in order to cancel the previous "SetTellTarget to application blahblah".

Emmanuel
_______________________________________________
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: 
 >Make an object the ³focus² of AppleEvents (From: John Clark <email@hidden>)

  • Prev by Date: Re: Automatic Sound Player
  • Next by Date: RE: Set Window Bounds Parameter Error?
  • Previous by thread: Make an object the ³focus² of AppleEvents
  • Next by thread: Printing from FileMaker as an attachment using Apple Script...Sound Interesting?
  • Index(es):
    • Date
    • Thread