Files
LNXSDK/leenkx/blender/lnx/logicnode/krom/LN_copy_to_clipboard.py
2026-07-13 15:44:52 -07:00

17 lines
496 B
Python

from lnx.logicnode.lnx_nodes import *
class KromCopyToClipboardNode(LnxLogicTreeNode):
"""Copies the given text to the system clipboard"""
bl_idname = 'LNKromCopyToClipboardNode'
bl_label = 'Copy To Clipboard'
lnx_category = 'Krom Runtime'
lnx_section = 'system'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxStringSocket', 'Text')
self.add_output('LnxNodeSocketAction', 'Out')