Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / May 2006



Tip: Looking for answers? Try searching our database.

PerlTK's ->clipboardAppend in OSX...?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael - 03 May 2006 19:07 GMT
Hello,

Anyone have trouble copying things to the clipboard using PerlTK's
->clipboardAppend...?  When I use it to put things in the clipboard, I
cannot paste the contents into other OSX apps like Textedit.  The
"Paste" option is available in the application, however no data appears
when one pastes.

Additionally, I get the same results when I use the context menus for
->Scrolled to copy text to the clipboard?

Apologies if this has been discussed before.

Regards,
Jay Savage - 04 May 2006 17:49 GMT
> Hello,
>
[quoted text clipped - 3 lines]
> "Paste" option is available in the application, however no data appears
> when one pastes.

Correct. Quartz and X11 have different (actually, at least 3)
clipboard systems that aren't shared. You can get around this by using
"copy" in the X11.app munbar at the top of the screen. but in order to
manage this clipboards entirely from within X11 (TK), you're going to
need help. See the xcutsel application that's part of the standard X11
build, or autocutsel from Fink. Alternatively, you can use XDarwin
instead of the Apple X11 port. Recent versions of XDarwin synchronize
the clipboards...most of the time. Note that Quartz does a good job of
reading the X11 clipboard. Items cut in X11 should be available to
Quartz apps. It's just doesn't work the other way around.

HTH,

-- jay
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.dpguru.com  http://www.engatiki.org

values of β will give rise to dom!
Michael - 05 May 2006 01:31 GMT
>> Hello,
>>
[quoted text clipped - 26 lines]
>
> values of β will give rise to dom!

if it is possible to synchronize the clipboards...  perhaps this can be
done when the PerlTK methods which add or retrieve data from the
clipboard are called?  Perhaps the developers of PerlTK can address this
issue...?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.