Re: Event to trigger writeSelectionToPasteboard
Re: Event to trigger writeSelectionToPasteboard
- Subject: Re: Event to trigger writeSelectionToPasteboard
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 06 Jan 2011 10:40:17 -0800
- Thread-topic: Event to trigger writeSelectionToPasteboard
Have you thought of changing your mouse's System Preferences settings to
execute a script that does what you want? It appears you should be able
to use the side-buttons on a Mighty Mouse to do what you want. Otherwise,
I'd contact the manufacturer of your three-button mouse and let them know
of your need. Trying to do this in the manner you're describing sounds
rife with headaches.
On 01/06/2011 9:00 AM, "Peter Watkins" <email@hidden> wrote:
>Hi Graham,
>
>On Tue, Jan 4, 2011 at 2:43 PM, Graham Cox <email@hidden> wrote:
>
>>
>> On 05/01/2011, at 3:04 AM, Peter Watkins wrote:
>>
>> This is what I'm really trying to achieve, "I'm writing an app that lets
>> the user select text in one program and paste it into another by
>> middle-clicking the mouse button."
>>
>>
>>
>> But why?
>>
> A couple reasons:
>1) It's actually faster than Cmd-C, Cmd-V: You can do the entire
>copy-paste
>without using the keyboard.
>2) Most UNIX users are used to copying and pasting this way (using the
>selection buffer). The copy-paste buffer still exists on UNIX, but most
>users don't use it.
>
>There is a perfectly reasonable standard way to cut and paste in a way
>that
>> works in virtually all apps that users are well used to. This is
>> non-standard, non-intuitive and difficult to implement 'solution' to a
>> problem that doesn't appear to exist. That's why it's hard to implement,
>> because it's not (on the face of it) very sensible.
>>
>This is correct for almost every Mac user. However there's a small segment
>of Mac users that come from a Linux/Sun/BSD background, and they really
>like
>the middle-click paste. They like it so much, in fact, that I've heard of
>some users switching to a Mac and then switching back to *NIX because the
>Mac doesn't have middle-click paste.
>
>
>> Also, not all mouses (mice?) have a middle button. The standard current
>> Apple Wireless Mouse for example, does not.
>>
>True, and it drives me up the wall. I got an Apple Magic Mouse and used it
>for awhile, but I switched back to my old Mighty Mouse because the Magic
>Mouse doesn't have a middle-click. I use the middle-click paste all the
>time
>when I log into work (my company's software only runs on *NIX) from my
>Mac.
>
>So, I still think a separate program that provides a selection buffer with
>middle-click paste is just the thing for *NIX users switching to a Mac.
>
>-Peter
>_______________________________________________
>
>Cocoa-dev mailing list (email@hidden)
>
>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:
>s.com
>
>This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden