• 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: Cut copy paste without menu.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cut copy paste without menu.


  • Subject: Re: Cut copy paste without menu.
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 17 Jun 2005 17:05:11 -0700

On Jun 17, 2005, at 3:22 AM, Harmanpreet Bachal wrote:
Hi all,
Can someone please tell me how to implement Cut Copy Paste options in a NSTextView or NSTextField WITHOUT having them in the menu of the application. I want to Command-C in the NSTextView. Though the control click of the mouse works but i want to do it through Command-C of the keyboard.


I second Joar's curiosity about why you want to do it, especially given the seemingly arbitrary qualification on your other post about "not using any Carbon."

But if you need to do it for some good reason, I have had success with putting buttons outside the visible bounds of the window with keyboard shortcuts and actions that match the standard edit menu.

The explanation for my use of this trick was that I needed edit menu functionality from a faceless utility app, but somebody later told me that if I had left my menu bar and edit menu in, then I would have gotten the keyboard access to them without it being visible. I never verified this.

Daniel

_______________________________________________
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


References: 
 >Cut copy paste without menu. (From: Harmanpreet Bachal <email@hidden>)

  • Prev by Date: "Default" Value In Object
  • Next by Date: NSManagedObject setValue:forKey: slow
  • Previous by thread: Re: Cut copy paste without menu.
  • Next by thread: Re: Wrong type of button in IB? (solved + followup)
  • Index(es):
    • Date
    • Thread