nspasteboard
NSPasteboard setString:forType: returns NO under Leopard, fine in Snow Leopard
The following code is from a NSTableViewDataSource where I\'m trying to impliement drag and drop. Can someone tell me why the setString:forTypes: method in the following code returns NO under Leopard[详细]
2023-01-13 00:16 分类:问答How can I check that the NSPasteboard is updated?
I\'m automating a copy command to place some text on the pasteboard every second or so - unfortunately this is my only way of accessing the text, which is in another application.After copying, I acces[详细]
2022-12-31 10:25 分类:问答Crashing the OS X Pasteboard
I have an application that reads in text by emulating CMD-C copy commands and reading the pasteboard - unfortunately this the only way to achieve what I need.Occasionally, as this is under development[详细]
2022-12-29 11:07 分类:问答Override paste: to format text
I would like to capture a string being pasted into a control and apply some custom formattingto the string开发者_StackOverflow社区 before being pasted.[详细]
2022-12-20 20:46 分类:问答How do I handle multiple file drag/drop from Finder in Mac OS X 10.5?
I need to get the URLs of all files dragged/dropped into my application from Finder. I have a Cocoa app running on 10.6 which does this by using the new 10.6 NSPasteboard APIs which handle multiple i[详细]
2022-12-15 04:23 分类:问答