hey all,
i'm using the paste board such a way :
def initialize
[...]
@pbd = NSPasteboard.generalPasteboard
@pbd.declareTypes_owner( NSArray.arrayWithObject( NSStringPboardType ),
nil )
[...]
end
def set_clipboard( sender )
cb = '#ff0000' # default value
[...]
@pbd.setString_forType( cb, NSStringPboardType )
end
this works great under xcode but not at all after standaloneification ...
a suggestion ?
--
yvon
|