<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Бесконечный while]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16846&amp;type=atom" />
	<updated>2021-12-25T09:02:22Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16846</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151399#p151399" />
			<content type="html"><![CDATA[<p><strong>yakmuve</strong>, не забывайте ставить точки, в конце предложений.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-12-25T09:02:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151399#p151399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151397#p151397" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, спасибо, всё работает.</p>]]></content>
			<author>
				<name><![CDATA[yakmuve]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42183</uri>
			</author>
			<updated>2021-12-25T05:28:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151397#p151397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151395#p151395" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop, % BoxVarTrue</code></pre></div>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-12-24T22:09:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151395#p151395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151391#p151391" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, пользователь вводит число от 1 до 30, это записывается в переменную BoxVarTrue. Т.е. у меня идёт генерация окна, конкретно сколько &quot;строк&quot; в окне и какой он будет ширины я не знаю. Пользователь вводит кол-во &quot;строк&quot;, после чего работает уже данный цикл.</p>]]></content>
			<author>
				<name><![CDATA[yakmuve]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42183</uri>
			</author>
			<updated>2021-12-24T21:06:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151391#p151391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151389#p151389" />
			<content type="html"><![CDATA[<p>Корявый код. Что мешает сделать цикл по условию: &#039;while(HotkeyY&lt;200)&#039; ?</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-12-24T20:43:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151389#p151389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Бесконечный while]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151379#p151379" />
			<content type="html"><![CDATA[<p>Приветствую форумчане. Почему-то while идёт бесконечно:<br /></p><div class="codebox"><pre><code>BoxVarTrue = 15
Gui, 3:Font, s9 Bold, Segoe UI
Gui, 3:Add, Text, x32 y0 w75 h23 +0x200 +Center, Открыть чат
Gui, 3:Add, Text, x8 y0 w21 h23 +0x200 +Center, №
Gui, 3:Add, Text, x113 y0 w67 h23 +0x200, Отыгровка
Gui, 3:Add, DropDownList, x181 y0 w360 vDrop5, %ReplayingDownList%
Gui, 3:Add, Text, x656 y0 w75 h23 +0x200 +Center, Закрыть чат
Gui, 3:Add, Text, x560 y0 w90 h23 +0x200 +Center, Задержка (мс)
Gui, 3:Add, Text, x740 y0 w75 h23 +0x200, Скрин

	GuiBindsNumber = 1
	HotkeyY = 24
	Sleep 100

	while %A_Index% != %BoxVarTrue%
	{
		MsgBox % BoxVarTrue
		msgBox % A_Index
		Gui, 3:Add, Text, x7 y%HotkeyY% w21 h23 +0x200 +Center, %A_Index%

		Var := Bind%GuiBindsNumber%
		Gui, 3:Add, CheckBox, x60 y%HotkeyY% w14 h23 vBind%GuiBindsNumber%, %Var%
		GuiBindsNumber += 1

		Var := Bind%GuiBindsNumber%
		HotkeyY += 3
		Gui, 3:Add, Edit, x112 y%HotkeyY% w440 h21 vBind%GuiBindsNumber%, %Var%
		GuiBindsNumber += 1

		Var := Bind%GuiBindsNumber%
		HotkeyY -= 3
		Gui, 3:Add, CheckBox, x688 y%HotkeyY% w14 h23 vBind%GuiBindsNumber%,
		GuiBindsNumber += 1

		Var := Bind%GuiBindsNumber%
		HotkeyY += 3
		Gui, 3:Add, Edit, x561 y%HotkeyY% w90 h21 vBind%GuiBindsNumber%, %Var%
		GuiBindsNumber += 1

		Var := Bind%GuiBindsNumber%
		HotkeyY -= 3
		Gui, 3:Add, CheckBox, x751 y%HotkeyY% w14 h23 vBind%GuiBindsNumber%,
		GuiBindsNumber += 1

		HotkeyY += 30
		Sleep 50
	}
			MsgBox % GeneringGuiBinds
			HotkeyY += 30
	Gui, 3:Add, Text, x30 y0 w1 h%HotkeyY% +0x200 +Border
	Gui, 3:Add, Text, x109 y0 w1 h%HotkeyY% +0x200 +Border
	Gui, 3:Add, Text, x556 y0 w1 h%HotkeyY% +0x200 +Border
	Gui, 3:Add, Text, x655 y0 w1 h%HotkeyY% +0x200 +Border
	Gui, 3:Add, Text, x735 y0 w1 h%HotkeyY% +0x200 +Border
	Gui, 3:Add, Text, x0 y%HotkeyY% w822 h1 +0x200 +Border
	HotkeyY += 5
	Gui, 3:Add, Button, x600 y%HotkeyY% w109 h23, Сохранить
	Sleep 100
	SplashTextOff, , 60, Настройка, Генерируем окно.`nОжидайте..
	Sleep 300

	HotkeyY += 30
	Gui, 3:Show, w780 h%HotkeyY%, Редактор отыгровок</code></pre></div><p>P.s. В моей программе BoxVarTrue пользователь вводит в EditBox</p>]]></content>
			<author>
				<name><![CDATA[yakmuve]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42183</uri>
			</author>
			<updated>2021-12-24T18:19:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151379#p151379</id>
		</entry>
</feed>
