How To - LiveCode Sample Scripts
-
Text
- Hello World
- Link text rollover effect
- Combining Random Text Strings
- Repeating a text string
- Show or hide a scrollbar automatically
- Limiting the number of characters during data entry
- Shifting Selected Text to the right or left
- Accepting only digit characters during data entry
- Inserting line breaks to hard wrap text
- Inserting some text before each line in a field
- Listing all the unique words in a piece of text
- Reversing text
- Sorting a list
- Truncating text to a specific pixel width
- Text search box
- Scrolling a LiveCode text field on Web using JavaScript
- Finding Common Lines in Two Containers
-
Numbers
-
Graphics and Objects
-
Menus
- Placing a check next to a menu item
- Placing a font list into a menu
- Text menu: populating with content
- Text menu: handling choices
- Text menu: updating check marks
- Dynamic card creation navigation menu
- Update a menu with a list of open windows
- Responding to a choice in a Window menu
- Popping up a menu after a delay timer
-
User Interface
-
Printing
-
Applications
-
Miscellaneous
- Check whether a directory is drive or write-protected
- Converting a relative path to an absolute path
- Converting an absolute path to a relative path
- Storing a modification timestamp
- Converting between characters and numerical (ASCII) values
- Listing all the handlers in a script
- Simple Login System
- Retrieve file list from web directory
- How do I use the OAuth2 library?
- How do I use the Speech library on Mac,iOS and Android?