<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14166&amp;type=atom" />
	<updated>2018-09-17T07:52:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14166</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128738#p128738" />
			<content type="html"><![CDATA[<p><strong>Sandslash</strong>&nbsp; Попробуйте Return писать после каждого действия.</p><div class="codebox"><pre><code>f1::
Random, rand, 1, 50000
FileReadLine, read, emal.txt,rand
Send, % read
Return 

1::
FileRead, Out, login.txt
Sendraw, %Out% 
Return 

F3::Send ^{c}
Return 
F7::Send ^{a}
Return 
F4::Send ^{v}
Return 

F2::
FileRead, OutputVar, lol.txt
Sendraw, %OutputVar% 
Exit
Return 

F11::Send ^+{j}
Return 
f10::Send !{Left}
Return </code></pre></div>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2018-09-17T07:52:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128738#p128738</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128728#p128728" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>f1::
Random, rand, 1, 50000
FileReadLine, read, emal.txt,rand
Send, % read


1::
FileRead, Out, login.txt
Sendraw, %Out% 



F3::Send ^{c}
F7::Send ^{a}
F4::Send ^{v}

F2::
FileRead, OutputVar, lol.txt
Sendraw, %OutputVar% 
Exit


F11::Send ^+{j}
f10::Send !{Left}
</code></pre></div><p>Подскажите, почему при нажатие &quot;f2&quot;. Вставляется и текст с хоткея &quot;1&quot;, как это исправить?</p>]]></content>
			<author>
				<name><![CDATA[Sandslash]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39526</uri>
			</author>
			<updated>2018-09-16T18:15:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128728#p128728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128719#p128719" />
			<content type="html"><![CDATA[<p><strong>Sandslash</strong>,<br /></p><div class="codebox"><pre><code>
f2::
FileRead, OutputVar, love.txt
Send, %OutputVar%
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gutalin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39002</uri>
			</author>
			<updated>2018-09-16T14:00:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128719#p128719</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128718#p128718" />
			<content type="html"><![CDATA[<p>А тут как? Чтобы вставить содержимое файла<br /></p><div class="codebox"><pre><code>f2::
FileRead, OutputVar, love.txt
Send, ???</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Sandslash]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39526</uri>
			</author>
			<updated>2018-09-16T13:34:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128718#p128718</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128710#p128710" />
			<content type="html"><![CDATA[<p>Логично будет так:<br /></p><div class="codebox"><pre><code>
^V::
Random, rand, 1, 1000
FileReadLine, read, file.txt, % rand
Send, % read
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[slavafedora]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34221</uri>
			</author>
			<updated>2018-09-16T05:44:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128710#p128710</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128692#p128692" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Send, ^{sc2F} ; Нажать Ctrl + V на любой раскладке</code></pre></div>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-09-15T11:28:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128692#p128692</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128689#p128689" />
			<content type="html"><![CDATA[<p><strong>qqlexa</strong></p><p>Как сделать, чтобы вместо отображение в месседж боксе, просто вставляло текст, как команда &quot;Сtrl+V&quot; ?</p><br /><br /><p>//////////////////////////</p><p>Вроде дошло,&nbsp; send же</p>]]></content>
			<author>
				<name><![CDATA[Sandslash]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39526</uri>
			</author>
			<updated>2018-09-14T20:45:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128689#p128689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128688#p128688" />
			<content type="html"><![CDATA[<p>Создаем рандомное число от 1 до 1000 и читаем строку с этим числом.<br /></p><div class="codebox"><pre><code>^V::
Random, rand, 1, 1000
FileReadLine, read, file.txt,rand
MsgBox, % read
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-09-14T20:28:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128688#p128688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Вставка случайной строки(слова) из заданного текстового файла.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128687#p128687" />
			<content type="html"><![CDATA[<p>Например есть текстовый файл, с 1000 имейлами. Как сделать так, чтобы при нажатии клавиш(и) (например Контрл+V) вставлялась случайная строка(имейл) из данного текстового файла.</p>]]></content>
			<author>
				<name><![CDATA[Sandslash]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39526</uri>
			</author>
			<updated>2018-09-14T19:54:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128687#p128687</id>
		</entry>
</feed>
