Code: Select all
Function p_CheckPaste()
Local type, data = GetClipboard()
If type = #CLIPBOARD_TEXT
mui.Set("bar-opt7","disabled",False)
Else
mui.Set("bar-opt7","disabled",True)
EndIf
EndFunction
InstallEventHandler({MUIRoyale = p_MuiRoyale, ClipboardChange = p_CheckPaste})
A TextEditor.PasteAvailable would be really useful.