scCreatePlugin

Typecommand
Dictionarylibrary.smartcrumbsvcw
LibrarySmartCrumbsVCW
Syntax
scCreatePlugin[<pName>, <pFolder>]
Associationscom.livecode.library.smartcrumbsvcw
Summary

Generates a template to create a plugin for the SmartCrumbsVCW library

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Parameters
NameTypeDescription
pName

Neme of the new plugin

pFolder

Path of the folder where the new plugin will be stored

Example
# In this case the library will ask you for the name of the new plugin and will tell you to choose a folder to store it.
scCreatePlugin
scCreatePlugin "minScript", "../path/folder"
RelatedCommand: scExportObject, scImportMainStack, scIgnoreProperty, scIgnoreAllProperties, scStopIgnoreProperty, scStopIgnoreAllProperties, scCreatePlugin, scInstallPlugin, scUninstallPlugin, scEnabledPlugin, scDisabledPlugin, scSetPluginSetting, scCleanTrash, scResetObjectCache
Function: scIgnoreProperties, scListPlugins, scGetPluginSetting, scGetGUIDForObject, scGetPathLog
Description

Use the scCreatePlugin command to create a new plugin for the SmartCrumbsVCW library. This command will create a code - only stack with the basic structure for your new plugin. In the code that will be created, you will see a comment that explains what each of the manipulators present in it is for.

Important  The SmartCrumbsVCW library only interacts with the startupPlugin, savingProperties, savingScript, restoreProperties, restoreScript handlers and with the cMetadata property.

The SmartCrumbsVCW library will fire the events in the plugins according to the process the library is in and if the plugin has the correct handle. Events are triggered in the following way: * startupPlugin: When starting the plugin * savingProperties: When saving the properties of the objects * savingScript: When saving the script of the objects * restoreProperties: When restoring object properties * restoreScript: When restoring the script of the objects. * Whereas when obtaining the cMetadata property of the plugin we can see information such as the creator and etc.

Tagsversion control