Hi Peter,

You can copy a selection using the Accessibility API:
> First get the UIElement for the application's "Copy" menu item.
> Then invoke "AXPress" on it.
> Drawback is that you will have to ask the user to enable Accessibility if
> it is not enabled.
>
> To get an idea about Accessibility, look at Apple's "Accessibility
> Inspector" app, which also contains a bunch of interesting code samples.
>

I'll take a look at the inspector.

Thanks,

Peter W
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to