Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Perl on OSX > Proposed Mac::P...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 21 Topic 1034 of 1056
Post > Topic >>

Proposed Mac::Pasteboard

by harryfmudd@[EMAIL PROTECTED] Jan 21, 2008 at 03:15 AM

Dear All,

I don't know if I'm re-inventing the wheel here, so I thought I'd ask.

Is there a module that will let one manipulate a Mac OS X pasteboard?
There  does not seem to be anything on CPAN that strikes me as being for
that purpose. I kind of expected something in Mac::Carbon to do the job,
but if it's there I can't find it. Of course, I'm perfectly capable of not
seeing my nose in front of my face ...

I have been hacking around with a .xs module based on the Pasteboard
interface. This means it requires at least Mac OS 10.3 (Panther). So my
questions for the mailing list are:

Have I re-invented the wheel? If so, where should I have looked that I
didn't for this functionality?

Is there any interest in publication of this module? Putting data on and
taking data off the pasteboard appear to work now. I haven't looked into
promised data at all, and can't promise to sup****t it in the future. I
also don't anticipate the module being smart enough to figure out the
appropriate flavor for a given datum, or other "flavor-aware"
functionality. Also, I haven't yet figured out where to put everything to
sup****t Module::Build, so it's ExtUtils::MakeMaker for now. It's an o-o
interface, with an object representing a pasteboard. There are a couple
convenience routines ex****ted by default (should they be?) called pbcopy()
and pbpaste(), which instantiate an object to access the system clipboard,
access it, and then throw the object away. The flavor and synch flags
would be ex****table as constants.

If I end up publi****ng, what name should I use? It appears that most Mac
OS specific things have been dumped into the Mac:: name space, Dan Kogai's
MacOSX::Files being the exception. The proposal was Mac::Pasteboard because
that's the interface used (rather than the scrap manager).

And a meta-question: what other information do I need to supply for people
to be able to comment meaningfully?

Thank you very much,
Tom Wyant (mailing address to the contrary notwithstanding)
 




 21 Posts in Topic:
Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-21 03:15:23 
Re: Proposed Mac::Pasteboard
claes@[EMAIL PROTECTED]   2008-01-21 15:04:21 
Re: Proposed Mac::Pasteboard
brian.d.foy@[EMAIL PROTEC  2008-01-22 01:31:33 
Re: Proposed Mac::Pasteboard
douglist@[EMAIL PROTECTED  2008-01-25 22:45:31 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-26 18:06:16 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-26 19:46:30 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-26 20:05:29 
Re: Proposed Mac::Pasteboard
chas.owens@[EMAIL PROTECT  2008-01-27 10:49:58 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-27 10:53:31 
Re: Proposed Mac::Pasteboard
bva@[EMAIL PROTECTED] (B  2008-01-27 18:11:07 
Re: Proposed Mac::Pasteboard
brian.d.foy@[EMAIL PROTEC  2008-01-28 08:32:03 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-27 19:03:54 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-28 10:45:56 
Re: Proposed Mac::Pasteboard
david@[EMAIL PROTECTED]   2008-01-29 15:49:48 
Re: Proposed Mac::Pasteboard
chas.owens@[EMAIL PROTECT  2008-01-28 20:32:32 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-30 10:01:04 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-01-31 18:55:33 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-02-05 09:38:05 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-02-05 19:10:47 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-02-14 09:19:41 
Re: Proposed Mac::Pasteboard
harryfmudd@[EMAIL PROTECT  2008-02-18 07:53:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:42:08 CDT 2008.