Livecode Wiki

A livecode plugin is a normal stack located in:

  • Windows: My Documents/My LiveCode/Plugins
  • OS X: ~/Documents/My LiveCode/Plugins
  • Linux: ~/my_livecode/Plugins/

Plugins saved in these folders appear in Development-> Plugins menu.

Usually a plugin operate with controls of another stack, the stack that you are currently programming, so the plugin stack have to use special keyword to refer to the actual stack.

This keywords are:

  • Topstack
  • SelectedObject

The topstack is current used stack. Example

put the effective fileName of the TopStack

The selectedObject or selectedObjects returns the name(s) of the selected object(s). Example:

set the width of the selectedObject to 100