• 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: Slightly OT: simulating a dock icon click via an AppleEvent (or otherwise)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slightly OT: simulating a dock icon click via an AppleEvent (or otherwise)


  • Subject: Re: Slightly OT: simulating a dock icon click via an AppleEvent (or otherwise)
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 10 Dec 2005 07:15:18 -0800
  • Thread-topic: Slightly OT: simulating a dock icon click via an AppleEvent (or otherwise)

On Mon, 05 Dec 2005 21:54:57 -0800, John Stiles <email@hidden> said:
>A 'rapp' (reopen) AppleEvent does this.
>I don't know how to write it in full-on AppleScript

It's easy. You simply tell the target app to reopen. m.

>Mark Aufflick wrote:
>
>> Hi everyone,
>>
>> I have a system menu that does things with skype. One of the menu
>> options brings skype to the foreground (using obvious applescript)
>> but what I want it to do is to bring the main skype window to the
>> foreground even if the user has closed it.
>>
>> The skype cocoa api has no method to do that and it's applescript
>> dictionary doesn't offer any hints either.
>>
>> BUT, when you click on the dock icon, skype reacts with exactly the
>> behaviour I want which got me wondering if there is any system
>> standard way to send a "dock icon click" event to an application?


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



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

This email sent to email@hidden

  • Prev by Date: Re: CoreData document based app with single source
  • Next by Date: Re: NSObject Exercise comments?
  • Previous by thread: Re: Audio & Video Capture
  • Next by thread: Making a panel show
  • Index(es):
    • Date
    • Thread