Message31786
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 |
|
Date |
User |
Action |
Args |
2007-08-23 14:53:06 | admin | link | issue1700507 messages |
2007-08-23 14:53:06 | admin | create | |
|