type | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Simulates typing on the keyboard. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Keyword: field, character Property: typingRate, blindTyping Message: rawKeyUp, keyDown, rawKeyDown, keyUp Command: put, select, click Object: stack Glossary: property, current card, insertion point, command, event | |||||||||
Description | Use the type command to show text appearing in a field at typing pace or to send keyboard events to a stack. The type command sends a rawKeyDown and rawKeyUp message to the current card for each character typed. The type command does not automatically place an insertion point in a field, so if you want to simulate typing into a field, you must first use the select command to place the insertion point:
The speed at which characters are typed is controlled by the typingRate property. To quickly put text into a field without delay, use the put command instead.
| |||||||||
Tags | ui |