This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function generateUUID | |
local theError, theUUID | |
switch the platform | |
case "macos" | |
case "linux" | |
put shell("uuidgen") into theUUID | |
put word 1 to -1 of theUUID into theUUID | |
put the result into theError | |
break |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \brief Converts a styledText array to Markdown. | |
* | |
* \param pTextA The styledText array to convert. | |
* | |
* Test while typing in a field: | |
* on textChanged | |
* put StyledTextToMarkdown(the styledText of me) | |
* pass textChanged | |
* end textChanged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \brief Converts a styled text array to XHTML. | |
* | |
* \param pStyledTextA The array to convert. | |
* | |
* \return XHTML | |
*/ | |
function ConvertStyledTextToXHTML pStyledTextA | |
local theXHTML, theRun, theString | |
local theListKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- declaring extension as widget, followed by identifier | |
widget com.livecode.extensions.devore.rotatingfont | |
-- | |
-- adding metadata to ensure the extension displays correctly in livecode | |
metadata title is "Rotating Font" | |
metadata author is "Trevor DeVore" | |
metadata version is "1.0.1" | |
-- |
NewerOlder