You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Tool Palette Library > enablePaste

17.5 enablePaste

toolpalette.enablePaste(enable)

This routine enables or disables the Edit > Paste menu command. Parameter enable is a Boolean value that enables the command if true or disables the menu item if false.

Introduced in platform.apiLevel = '1.0'