en:code:device:keyboard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:code:device:keyboard [2012/12/08 16:52] – [writeText] jmgr | en:code:device:keyboard [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 23: | Line 23: | ||
=== Arguments === | === Arguments === | ||
- | - key - (string) the key to press | + | - key - ([[en: |
=== Returns === | === Returns === | ||
Line 43: | Line 43: | ||
=== Arguments === | === Arguments === | ||
- | - key - (string) the key to release | + | - key - ([[en: |
=== Returns === | === Returns === | ||
Line 63: | Line 63: | ||
=== Arguments === | === Arguments === | ||
- | - key - (string) the key to trigger | + | - key - ([[en: |
=== Returns === | === Returns === | ||
Line 79: | Line 79: | ||
=== Syntax === | === Syntax === | ||
<code javascript> | <code javascript> | ||
- | myObject.writeText(text, delay); | + | myObject.writeText(text); |
</ | </ | ||
<code javascript> | <code javascript> | ||
- | myObject.writeText(text); | + | myObject.writeText(text, delay); |
</ | </ | ||
=== Arguments === | === Arguments === | ||
- text - (string) the text to write | - text - (string) the text to write | ||
- | - delay - (integer) the pause duration (milliseconds) between each character | + | - delay - (int) the pause duration (milliseconds) between each character |
=== Returns === | === Returns === |
en/code/device/keyboard.1354985579.txt.gz · Last modified: 2021/02/13 11:23 (external edit)