• 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: Sending an AE to select all
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending an AE to select all


  • Subject: Re: Sending an AE to select all
  • From: Brian Webster <email@hidden>
  • Date: Sat, 2 Nov 2002 10:14:18 -0600

On Saturday, November 2, 2002, at 12:00 AM, email@hidden wrote:

I'm trying to send an AppleEvent to the currently active app to do a
"Select All" type of action. I'm currently using the below, but there
is something wrong with it. It gets all the way through to the end of
the method but doesn't seem to do anything.

It looks to me like you're trying to send an Apple event using Carbon event constants. Sorry, but this just isn't going to work. Apple events and Carbon events have some similarities, but the mechanisms for the two are entirely different, and there's no way to send a Carbon event to an application other than your own. You could probably alter the selection in some apps that have support for it in their scripting dictionary, but there's no magic event that can be sent to a remote app that says "select all".

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: What's the retain-release convention in this scenario
  • Next by Date: Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
  • Previous by thread: Sending an AE to select all
  • Next by thread: Are polymorphic objects possible?
  • Index(es):
    • Date
    • Thread