[ python-Bugs-1700507 ] Carbon.Scrap.PutScrapFlavor
SourceForge.net
noreply at sourceforge.net
Sun Apr 15 11:41:55 CEST 2007
Bugs item #1700507, was opened at 2007-04-14 01:27
Message generated for change (Comment added) made by dingus9
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1700507&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: dingus9 (dingus9)
Assigned to: Jack Jansen (jackjansen)
Summary: Carbon.Scrap.PutScrapFlavor
Initial Comment:
The GetScrapFlavor(), and ClearCurrentScrap() functions work fine, however the PutScrapFlavor, is not putting th e text into my clipboard. The function does not return an error nor exception from my code, as far as I can tell.
sample of code:
import Carbon.Scrap as scrap
import MacOS
text = 'the test text'
scrap.ClearCurrentScrap()
item = scrap.GetCurrentScrap()
item.PutScrapFlavor(type, 0, text)
Result is: Previous text is cleard, and nothing is put in its place.
I am continuing to research this, as well as try it in C, and install python2.5.
Environment
Python 2.4
Mac OSX 10.4.9
Intel
----------------------------------------------------------------------
>Comment By: dingus9 (dingus9)
Date: 2007-04-15 02:41
Message:
Logged In: YES
user_id=1769255
Originator: YES
Tested with python25, function calls GetScrapFlavorData, and
PutScrapFlavorData now result in a bus error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1700507&group_id=5470
More information about the Python-bugs-list
mailing list