User Tools

Site Tools


en:objects:interface:full_keyboard:input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:objects:interface:full_keyboard:input [2020/10/13 18:36]
sales created
en:objects:interface:full_keyboard:input [2026/08/05 22:44] (current)
Line 1: Line 1:
-<html><h2>input</h2> <strong>input($string,$timeout=0);</strong> - this function is used for full emulation of keyboard input <i>(available from version 4.6.31)</i><br><br>the input Function accepts parameters:<br><br><li><font color=green>$string</font> – string to be emulated. (string)<br><li><font color=green>$timeout</font> – the time in milliseconds that the system waits between entering individual letters of the string (by default, do not wait) (int).<br><br>If you press Ctrl while this function is running (or emulate pressing via the set_ctrl_prefix commands), the sent string will be interpreted as a set of hot keys for human.<br><br>After testing, the function returns the result of its work to the script :<br><li><font color=blue>true</font> – successfully entered the specified string(boolean)<li><font color=blue>false</font> – operation failed (boolean)<br><br></html>+<html><h2>input</h2> <strong>input($string,$timeout=0,$inFlash=false,$auto_change=true);</strong> - this function is used for full emulation of keyboard input <i>(available from version 4.6.31)</i><br><br>the input Function accepts parameters:<br><br><li><font color=green>$string</font> – string to be emulated. (string)<br><li><font color=green>$timeout</font> – the time in milliseconds that the system waits between entering individual letters of the string (by default, do not wait) (int).<li> <font color = green> $inFlash </font> - input is performed for the flash element. 
 +<li> <font color = green> $auto_change </font> - auto change language when entering characters <br> <br>If you press Ctrl while this function is running (or emulate pressing via the set_ctrl_prefix commands), the sent string will be interpreted as a set of hot keys for human.<br><br>After testing, the function returns the result of its work to the script :<br><li><font color=blue>true</font> – successfully entered the specified string(boolean)<li><font color=blue>false</font> – operation failed (boolean)<br><br></html>
  
 PHP example: <code php><?php $xhe_host = "127.0.0.1:7014"; PHP example: <code php><?php $xhe_host = "127.0.0.1:7014";
en/objects/interface/full_keyboard/input.1602603411.txt.gz · Last modified: 2020/10/13 18:36 by sales