Re: Sending an AE to select all
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.