<?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=15780&amp;type=atom" />
	<updated>2020-10-30T22:32:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15780</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Рандомные числа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143028#p143028" />
			<content type="html"><![CDATA[<p><a href="https://www.autohotkey.com/docs/commands/InputBox.htm">https://www.autohotkey.com/docs/commands/InputBox.htm</a><br /><a href="https://www.autohotkey.com/docs/commands/Input.htm">https://www.autohotkey.com/docs/commands/Input.htm</a></p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2020-10-30T22:32:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143028#p143028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Рандомные числа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143026#p143026" />
			<content type="html"><![CDATA[<p>Здравствуйте.<br />Мне нужно сделать так что бы при нажати на f10 у пользователя скрипта спрашивалось от сколько&nbsp; до скольки символов сгенерируется.<br />Пробовал сам сделать - не смог. Теперь решил обратится на форум для помощи.&nbsp; </p><div class="codebox"><pre><code> F10::

Send, % GenerateRandomString()
sleep, 300


GenerateRandomString(length = 15 ) 
{

characters := &quot;qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM0123456789&quot; 
StringSplit, chars, characters

Loop, %length%
{
	Random, rand, 1, 68
	password .= chars%rand%
}
return password
}


return 
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pedroosancces]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41143</uri>
			</author>
			<updated>2020-10-30T20:59:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143026#p143026</id>
		</entry>
</feed>
