<?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=11624&amp;type=atom" />
	<updated>2016-05-26T11:44:47Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11624</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104279#p104279" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо, это то, что нужно, действительно удобней так. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-26T11:44:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104279#p104279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104275#p104275" />
			<content type="html"><![CDATA[<p>Также есть команда FileInstall, при использовании которой во время компиляции добавляется в ресурсы указанный файл, а при запуске скомпилированного файла распаковывается из ресурсов в указанную директорию.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-26T11:27:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104275#p104275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104274#p104274" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо, я не учёл, что для разных типов графики есть отличия, попробую поэкспериментировать.</p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-26T11:23:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104274#p104274</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104253#p104253" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Waveshaper пишет:</cite><blockquote><p>Я думал в самом коде нужно прописать вместо D:\Загрузки\disk2.ico</p></blockquote></div><p>Путь в данном случае будет <em>A_ScriptFullPath</em> — путь к файлу самого скрипта.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-26T01:08:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104253#p104253</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104252#p104252" />
			<content type="html"><![CDATA[<p>Для начала, я никак не могу понять, о каком изображении идёт речь, об иконке, или каком-то другом типе. В каждом случае образ действий будет разный, с иконкой проще.<br />Иконка, добавляемая в файл, имеет порядковый номер, нужно его заранее прикинуть и прописать в коде, потом уже добавить ResHacker&#039;ом.<br />Например, в AutoHotkey.exe есть в ресурсах пять файлов с иконками. Чтобы показать любую из них в качестве картинки, нужно просто указать её номер:<br /></p><div class="codebox"><pre><code>Gui, Add, Pic, Icon1, % A_AhkPath
Gui, Show, w200 h100</code></pre></div><p>Если мы добавим туда ещё иконку, её номер будет 6.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-26T00:56:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104252#p104252</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104251#p104251" />
			<content type="html"><![CDATA[<p>А как? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Я думал в самом коде нужно прописать вместо D:\Загрузки\disk2.ico, какой-то переменный путь? Или ResHacker-ом добавить?</p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-26T00:40:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104251#p104251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104250#p104250" />
			<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>2016-05-26T00:36:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104250#p104250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104248#p104248" />
			<content type="html"><![CDATA[<p>Нет, вопрос в том, можно ли упаковать дополнительные ресурсы (в данном случае изображение) в exe, чтобы была полноценная портативность. Хотя ответ на Ваш вопрос тоже бы хотелось услышать. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-26T00:33:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104248#p104248</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104247#p104247" />
			<content type="html"><![CDATA[<p>В смысле, вопрос в том, можно ли показывать иконку из exe, как картинку?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-26T00:13:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104247#p104247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104246#p104246" />
			<content type="html"><![CDATA[<p>Иконка, да, но я о изображении, которое показывается в окне GUI. Т.е. если я его удаляю, в GUI останется просто ссылка D:\Загрузки\disk2.ico</p><p>Вот например:<br /></p><div class="codebox"><pre><code>Gui, Add, Text,, Диск (W:) в работе
Gui, Show, Restore w450 h300
Gui, Add, Picture, x0 y0 h350 w450, D:\Загрузки\disk2.ico
return ; Окончание секции авто-выполнения. Скрипт ожидает каких-нибудь действий пользователя.

GuiClose:
ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-26T00:08:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104246#p104246</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104244#p104244" />
			<content type="html"><![CDATA[<p>Честно говоря, не совсем понял, в чём проблема. Любую иконку можно упаковать в exe.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-25T22:44:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104244#p104244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104243#p104243" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Дело немного в другом, в скрипте в GUI используется изображение (Gui, Add, Picture,, D:\hdd.ico), вот хотелось бы его упаковать в сам exe или нельзя так?</p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-25T22:25:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104243#p104243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104241#p104241" />
			<content type="html"><![CDATA[<p>В exe-файлах можно менять иконки с помощью инструментов для работы с ресурсами (ResHacker или Restorator например). Можно и программно, конечно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-25T21:41:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104241#p104241</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104238#p104238" />
			<content type="html"><![CDATA[<p>Чтобы не создавать новую тему, спрошу здесь, а возможно ли в скомпилированный .exe закинуть иконку, используемую в GUI?</p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-25T21:08:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104238#p104238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменение иконки окна GUI на панели задач (не в трее)]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104145#p104145" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо, буду использовать. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Waveshaper]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33899</uri>
			</author>
			<updated>2016-05-23T21:37:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104145#p104145</id>
		</entry>
</feed>
