<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://uopilot.uokit.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Clipboard_%28Lua%29</id>
	<title>Clipboard (Lua) - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://uopilot.uokit.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Clipboard_%28Lua%29"/>
	<link rel="alternate" type="text/html" href="https://uopilot.uokit.com/wiki/index.php?title=Clipboard_(Lua)&amp;action=history"/>
	<updated>2026-05-24T00:58:38Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://uopilot.uokit.com/wiki/index.php?title=Clipboard_(Lua)&amp;diff=487&amp;oldid=prev</id>
		<title>Tatikoma в 10:18, 28 августа 2019</title>
		<link rel="alternate" type="text/html" href="https://uopilot.uokit.com/wiki/index.php?title=Clipboard_(Lua)&amp;diff=487&amp;oldid=prev"/>
		<updated>2019-08-28T10:18:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Версия 10:18, 28 августа 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Строка 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Синтаксис ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Синтаксис ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Привязка к окну: нет.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Привязка к окну: нет.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;lt;&lt;/del&gt;br&amp;gt;Работа со свернутым окном: да.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;&lt;/ins&gt;br&amp;gt;Работа со свернутым окном: да.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  clipboard (&amp;quot;текст&amp;quot;) -- записать текст в буфера обмена&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  clipboard (&amp;quot;текст&amp;quot;) -- записать текст в буфера обмена&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  s = clipboard() - без параметров, чтение из буфера в одну строку&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  s = clipboard() - без параметров, чтение из буфера в одну строку&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot; &gt;Строка 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Смотрите также ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Смотрите также ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Left (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Left (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;lt;&lt;/del&gt;br&amp;gt;[[Kleft (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;&lt;/ins&gt;br&amp;gt;[[Kleft (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;lt;&lt;/del&gt;br&amp;gt;[[Wait (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;&lt;/ins&gt;br&amp;gt;[[Wait (Lua)]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tatikoma</name></author>
		
	</entry>
	<entry>
		<id>https://uopilot.uokit.com/wiki/index.php?title=Clipboard_(Lua)&amp;diff=32&amp;oldid=prev</id>
		<title>Tatikoma: Новая страница: «== Описание == '''clipboard''' - в зависимости от синтаксиса чтение или запись в буфера обмена.   ==...»</title>
		<link rel="alternate" type="text/html" href="https://uopilot.uokit.com/wiki/index.php?title=Clipboard_(Lua)&amp;diff=32&amp;oldid=prev"/>
		<updated>2019-08-27T20:37:43Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «== Описание == &amp;#039;&amp;#039;&amp;#039;clipboard&amp;#039;&amp;#039;&amp;#039; - в зависимости от синтаксиса чтение или запись в буфера обмена.   ==...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Описание ==&lt;br /&gt;
'''clipboard''' - в зависимости от синтаксиса чтение или запись в буфера обмена. &lt;br /&gt;
&lt;br /&gt;
== Синтаксис ==&lt;br /&gt;
Привязка к окну: нет.&lt;br /&gt;
&amp;amp;lt;br&amp;gt;Работа со свернутым окном: да.&lt;br /&gt;
 clipboard (&amp;quot;текст&amp;quot;) -- записать текст в буфера обмена&lt;br /&gt;
 s = clipboard() - без параметров, чтение из буфера в одну строку&lt;br /&gt;
 array = clipboard(0, [&amp;quot;string&amp;quot;],[&amp;quot;word&amp;quot;])' - больше одного параметра, разбивка в массив по словам, или по строкам, или по словам и по строкам.&lt;br /&gt;
&lt;br /&gt;
== Примеры ==&lt;br /&gt;
 --lua&lt;br /&gt;
 clipboard (&amp;quot;проверка связи&amp;quot;)   -- записать в буфер обмена фразу&lt;br /&gt;
 wait (300)                     -- пауза 300 мсек&lt;br /&gt;
 local text = clipboard ()      -- получить из буфера обмена текст в переменную text&lt;br /&gt;
 log (text)                     -- отобразить в логе значение переменной text&lt;br /&gt;
&lt;br /&gt;
 --lua&lt;br /&gt;
 log &amp;quot;clear&amp;quot;  log &amp;quot;mode compact&amp;quot;&lt;br /&gt;
 local s=&amp;quot;раз два три&amp;quot;&lt;br /&gt;
 clipboard (s)   -- записать в буфер обмена&lt;br /&gt;
 wait (300)                 -- пауза 300 мсек&lt;br /&gt;
 local array = {}             -- объявить массив&lt;br /&gt;
 array = clipboard (0, &amp;quot;word&amp;quot;)    -- получить из буфера обмена текст в массив с разбивкой по словам&lt;br /&gt;
 &lt;br /&gt;
 for i=1, #array[1] do   -- цикл для всех элементов массива&lt;br /&gt;
     log (array[1][i])   -- отобразить в окне значение переменной text&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 -- или так можно&lt;br /&gt;
 log (table.concat(array[1], &amp;quot;\r\n&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
 --lua&lt;br /&gt;
 -- получение текста из буфера в массив с разбивкой по строкам&lt;br /&gt;
 log &amp;quot;clear&amp;quot;  log &amp;quot;mode compact&amp;quot;&lt;br /&gt;
 local s=&amp;quot;раз два три \r\nчетыре пять шесть \r\nсемь восемь девять &amp;quot;&lt;br /&gt;
 clipboard (s)   -- записать в буфер обмена&lt;br /&gt;
 wait (300)&lt;br /&gt;
 local arr = clipboard (0, &amp;quot;string&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 for i=1, #arr do   -- цикл для всех строк массива&lt;br /&gt;
     log (table.concat(arr[i], &amp;quot; &amp;quot;))   -- вывести в лог содержимое всех строк массива&lt;br /&gt;
 end&lt;br /&gt;
 -- arr[1][1] - это первая строка&lt;br /&gt;
 -- arr[2][1] - вторая строка и т.д.&lt;br /&gt;
&lt;br /&gt;
 --lua&lt;br /&gt;
 -- получение текста из буфера в массив с разбивкой по строкам и словам&lt;br /&gt;
 log &amp;quot;clear&amp;quot;  log &amp;quot;mode compact&amp;quot;&lt;br /&gt;
 local s=&amp;quot;раз два три \r\nчетыре пять шесть \r\nсемь восемь девять &amp;quot;   -- строка&lt;br /&gt;
 clipboard (s)   -- скопировать строку в буфер&lt;br /&gt;
 log(s)          -- показать строку в логе&lt;br /&gt;
 wait (300)&lt;br /&gt;
 local arr = clipboard (0, &amp;quot;string&amp;quot;, &amp;quot;word&amp;quot;) -- получить из буфера обмена текст в массив с разбивкой по строкам словам&lt;br /&gt;
 log()&lt;br /&gt;
 log(&amp;quot;Первая строка, первое слово:    &amp;quot; .. arr[1][1])&lt;br /&gt;
 log(&amp;quot;Третья строка, второе слово:    &amp;quot; .. arr[3][2])&lt;br /&gt;
&lt;br /&gt;
== Смотрите также ==&lt;br /&gt;
[[Left (Lua)]]&lt;br /&gt;
&amp;amp;lt;br&amp;gt;[[Kleft (Lua)]]&lt;br /&gt;
&amp;amp;lt;br&amp;gt;[[Wait (Lua)]]&lt;/div&gt;</summary>
		<author><name>Tatikoma</name></author>
		
	</entry>
</feed>