<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK v2: SplashImage/Gui]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=18435&amp;type=atom" />
	<updated>2025-04-25T13:15:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=18435</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162395#p162395" />
			<content type="html"><![CDATA[<p>Ну, скормите ему справку. <img src="//forum.script-coding.com/img/smilies/lol.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2025-04-25T13:15:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162395#p162395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162394#p162394" />
			<content type="html"><![CDATA[<p>Это ИИ составил.</p>]]></content>
			<author>
				<name><![CDATA[1srafel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43566</uri>
			</author>
			<updated>2025-04-25T12:51:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162394#p162394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162393#p162393" />
			<content type="html"><![CDATA[<p>Нельзя Gui сохранять в переменную Gui, просто выберите другую. Потом читайте справку по Gui().<br /></p><div class="quotebox"><cite>1srafel пишет:</cite><blockquote><div class="codebox"><pre><code>Gui.Color := &quot;0FFf0f&quot;
Gui.Font(&quot;s&quot;, 20, &quot;Arial&quot;)</code></pre></div></blockquote></div><p>Откуда эти <em>Color</em> и <em>Font</em> взялись? Нельзя тупо копировать команды из v1, в v2 большая часть отличается, читайте справку.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2025-04-25T05:20:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162393#p162393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162392#p162392" />
			<content type="html"><![CDATA[<p>Не сохранились примеры ИИ. Но даже самые простые варианты без опций не работали. то же самое с GUI:</p><div class="codebox"><pre><code>Gui := Gui(&quot;+AlwaysOnTop -Caption +Border&quot;)
Gui.Color := &quot;0FFf0f&quot; ; Background color
Gui.Font(&quot;s&quot;, 20, &quot;Arial&quot;) ; Set font size and style
Gui.Add(&quot;Text&quot;, &quot;Center&quot;, &quot;F1 — чтобы разблокировать`nклавиатуру и мышь&quot;) ; Add text
Gui.Show(&quot;w500 h100 Center&quot;) ; Set window size and display it in the center of the screen
Sleep(3000) ; Keep the splash screen for 3 seconds
Gui.Destroy() ; Close the splash screen</code></pre></div>]]></content>
			<author>
				<name><![CDATA[1srafel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43566</uri>
			</author>
			<updated>2025-04-25T01:15:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162392#p162392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162391#p162391" />
			<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>2025-04-24T20:35:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162391#p162391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162389#p162389" />
			<content type="html"><![CDATA[<p>Не вышло, прочитайте правила про заголовки для v2.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2025-04-24T16:34:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162389#p162389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162388#p162388" />
			<content type="html"><![CDATA[<p>AHK: ?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2025-04-24T01:51:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162388#p162388</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK v2: SplashImage/Gui]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162387#p162387" />
			<content type="html"><![CDATA[<p>Как переделать ToolTip на SplashImage/Gui, поддерживаемый в v2? Задача оказалась неочевидной после обращения к справке и двум ИИ. Сам код переключает блокировку мыши и клавиатуры по хоткею <strong>Ctrl+6</strong>.</p><div class="codebox"><pre><code>
#Requires AutoHotkey v2.0
#UseHook

^6:: {
    static toggle := false
    toggle := !toggle

    BlockInput(toggle)

    if (toggle) {
        ToolTip(&quot;BlockInput включен&quot;)
    } else {
        ToolTip(&quot;BlockInput выключен&quot;)
        Sleep(1000)
        ToolTip(&quot;&quot;)
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[1srafel]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43566</uri>
			</author>
			<updated>2025-04-24T00:51:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162387#p162387</id>
		</entry>
</feed>
