<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Разноцветный текст в GUI]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17611&amp;type=atom" />
	<updated>2023-02-22T12:14:13Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17611</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156878#p156878" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Хорошо, спасибо!</p>]]></content>
			<author>
				<name><![CDATA[jbn238]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42492</uri>
			</author>
			<updated>2023-02-22T12:14:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156878#p156878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156877#p156877" />
			<content type="html"><![CDATA[<p>Можно только с новой строки. Икс в этом случае остаётся прежним, а игрек прибавляется: <em>xp y+5</em>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-02-22T12:11:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156877#p156877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156876#p156876" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />А если многострочный текст)? Как его правильно разместить?</p>]]></content>
			<author>
				<name><![CDATA[jbn238]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42492</uri>
			</author>
			<updated>2023-02-22T11:56:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156876#p156876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156862#p156862" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>text := &quot;Смущает меня то, что нужно выставлять позицию самому.&quot;

Gui, Color, Black
Gui, Font, s16, Calibri
Loop,parse,% text
{
  random,r,0,0xffffff
  Gui, Add, Text, c%r% yp x+1, % a_loopfield
}
Gui, Show

GuiClose() {
   ExitApp
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2023-02-20T14:50:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156862#p156862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156861#p156861" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>text1 := &quot;Смущает меня то,&quot;
text2 := &quot;что нужно выставлять позицию самому.&quot;

Gui, Color, Black
Gui, Font, s16, Calibri
Gui, Add, Text, cRed, % text1
Gui, Add, Text, cLime yp x+5, % text2
Gui, Show

GuiClose() {
   ExitApp
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-02-20T12:47:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156861#p156861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156860#p156860" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Смущает меня то, что нужно выставлять позицию самому, у меня каждый раз предложение имеет разную длину, и половина предложения должна быть одним цветом, а другая, другим цветов, и как выставить позицию этих двух предложений, чтобы смотрелось как одна строка, мне не совсем понятно.</p>]]></content>
			<author>
				<name><![CDATA[jbn238]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42492</uri>
			</author>
			<updated>2023-02-20T12:35:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156860#p156860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156859#p156859" />
			<content type="html"><![CDATA[<p>Да, а что вас смущает? Во-всяком случае, это самый простой вариант.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-02-20T12:29:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156859#p156859</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156858#p156858" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />То есть мне нужно каждую букву отдельно создавать? <br /></p><div class="codebox"><pre><code>
Gui, Add, Text, x10 y10 w50 h50 cblue vone, П
Gui, Add, Text, x20 y10 w50 h50 cwhite vtwo, Р
Gui, Add, Text, x30 y10 w50 h50 cgreen vthree, И
</code></pre></div><p>По типу такого?</p>]]></content>
			<author>
				<name><![CDATA[jbn238]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42492</uri>
			</author>
			<updated>2023-02-20T10:55:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156858#p156858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156857#p156857" />
			<content type="html"><![CDATA[<p>Используйте для каждой буквы отдельный текстовый контрол.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-02-20T09:23:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156857#p156857</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Разноцветный текст в GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156854#p156854" />
			<content type="html"><![CDATA[<p>Здравствуйте!<br />Можно ли как нибудь сделать текст, но чтобы каждая буква была разного цвета, допустим слово &quot;ПРИВЕТ&quot; и вот буква П красная, буква Р синяя и т.д.</p>]]></content>
			<author>
				<name><![CDATA[jbn238]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42492</uri>
			</author>
			<updated>2023-02-20T01:30:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156854#p156854</id>
		</entry>
</feed>
