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 > Re: Proposed Ma...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 21 Topic 1034 of 1076
Post > Topic >>

Re: Proposed Mac::Pasteboard

by harryfmudd@[EMAIL PROTECTED] Jan 27, 2008 at 07:03 PM

On Jan 27, 9:11 pm, b...@[EMAIL PROTECTED]
 (Bruce Van Allen) wrote:
> On Jan 27, 2008, at 10:53 AM, harryfm...@[EMAIL PROTECTED]
 wrote:
>
>
>
> > On Jan 27, 10:49 am, chas.ow...@[EMAIL PROTECTED]
 (Chas. Owens) wrote:

<snip />

> >> Why choose?  Write Mac::Pasteboard with all of the bells and whistles
> >> and then write Mac::Clipboard using Mac::Pasteboard to expose only
> >> the
> >> clipboard.  In the SEE ALSO section you can reference Mac::Pasteboard
> >> and people who need the advanced functionality can find it.
>
> > Interesting thought. The straightforward implementation would be to
> > have Mac::Clipboard depend on Mac::Pasteboard (since there's no
> > simplified clipboard interface that I have found). But it seems un-
> > parsimonious to me to use namespace for maybe a dozen lines of Perl,
>
> [snip]
>
> Maybe that's not a bad thing. And it wouldn't really limit the
> potential of the namespace. Starting with your Mac::Clipboard (which
> would inherit from Mac::Pasteboard) we might see:
>         Mac::Clipboard::Persistent - provide the ability to cache the
> clipboard;
>         M::C::History - store clipboard values ***ulatively with
meta-data
> (time-stamp, ...);
>         M::C::Multiple - provide multiple clipboards a la some GUI apps
>         M::C::Calculate - provide a stack for calculations with multiple
> copied values
>         ...
> All of these would work in the "functionality-space" of "The
> Clipboard", which isn't quite the same as accessing other features of
> the Pasteboard, from the user's POV.

Persistent? I hadn't thought of that one. Though it seems to me that
YAML and friends could handle most of the functionality there. Or
Storable, or ...

***ulative? It seems to me that you can get that with multiple
pasteboard items, though you'd have to provide your own metadata.

Multiple I think is already in the pasteboard functionality.

Calculations? Another that I hadn't thought of. Clipboard/pasteboard
management would be interesting, since you can put things on readily
enough, but the only way to remove them is to clear the sucker, and
then repopulate it minus the stuff you don't want.

>
> Regardless of the name, thanks for alerting me and others to the
> interesting capabilities of the OS X Pasteboard.
>

Well, to be honest I went to this forum for two purposes:

1) Make sure I wasn't re-inventing the wheel, and
2) See what people thought about the name.

I've gotten a lot more feedback than I expected, and I'm not sure what
I'm going to do with it all, but better this than nothing.

Thanks,
Tom Wyant
 




 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 Fri Dec 5 0:31:54 CST 2008.