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 5 of 21 Topic 1034 of 1076
Post > Topic >>

Re: Proposed Mac::Pasteboard

by harryfmudd@[EMAIL PROTECTED] Jan 26, 2008 at 06:06 PM

On Jan 21, 9:04 am, cl...@[EMAIL PROTECTED]
 (Claes Jakobsson) wrote:
> Hi,

Hi. My apologies for taking so long to get back to you. After fiddling
with going through my ISP and not having anything show up in the
newsgroup (the original post was mailed to macosx@[EMAIL PROTECTED]
), I decided
to try Google Groups.

> I assume with pasteboard you mean the clipboard?

Well, I include the clipboard, which isn't quite the same thing. Mac
OS X allows multiple pasteboards, one of which is the system clipboard
(a.k.a. 'com.apple.pasteboard.clipboard'). You can create your own,
which go away when the last accessor does.

Each pasteboard can contain multiple items, and each item multiple
"flavors" (Apple's technical term) of data. Yes, I expect most users
to be popping text on and off the system clipboard, but there's more
to it than that.

> There seems to be an attempt of a generic cliboard interface on CPAN
(http://search.cpan.org/dist/Clipboard/
> ) which according to the readme says it works on OS X. I suppose it
> just uses the 'pbcopy' and 'pbpaste' command line tools.
>

Yes, it just shells out to pbcopy and pbpaste, which means you can
only access plain text -- specifically, flavor 'com.apple.traditional-
mac-plain-text'. I was planning to access any flavor of data, though
the only testing I have done other than with text is to copy a graphic
to the clipboard with Graphic Converter, pull it back off with my
code, open the output file, and see if it looked like the same
picture.

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:51:58 CST 2008.