This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dingus9
Recipients
Date 2007-04-14.08:27:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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
History
Date User Action Args
2007-08-23 14:53:06adminlinkissue1700507 messages
2007-08-23 14:53:06admincreate