예제 #1
0
파일: SystemUtil.py 프로젝트: klniu/xkeys
def getSelection():
    storedClipboard = SendToUi.beforeSetClipboard()
    text = ClipboardUtil.pasteFromClipboardXsel()
    SendToUi.afterSetClipboard(storedClipboard)
    return text
예제 #2
0
def getSelection():
    storedClipboard = SendToUi.beforeSetClipboard()
    text = ClipboardUtil.pasteFromClipboardXsel()
    SendToUi.afterSetClipboard(storedClipboard)
    return text