<?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=9671&amp;type=atom" />
	<updated>2014-06-03T07:33:57Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9671</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Создание кнопки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83625#p83625" />
			<content type="html"><![CDATA[<p>Подлил так:<br /></p><div class="codebox"><pre><code>
AutoPic = C:\Users\sergey\Desktop\Новая папка\Andere077.ico
ManualPic = C:\Users\sergey\Desktop\Новая папка\Argos Icon 08.ico
ScanModeg: 
    GuiControl, , ScanModev, % (SearchMode := !SearchMode) ? AutoPic : ManualPic
    Return</code></pre></div><br /><div class="codebox"><pre><code>Gui, Add, Picture, gScanModeg vScanModev w80 h80, % AutoPic
Gui Show
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dvn]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32142</uri>
			</author>
			<updated>2014-06-03T07:33:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83625#p83625</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Создание кнопки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83624#p83624" />
			<content type="html"><![CDATA[<p>Значит так поделил, что AutoPic и ManualPic не объявлены и как следствие пусты.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-03T07:30:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83624#p83624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Создание кнопки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83623#p83623" />
			<content type="html"><![CDATA[<p>Дело в том, что написано в двух файлах (см. выше подправил код).<br />Разделил твой скрипт на 2 файла, но не работает, вместо кнопки черный квадрат.</p>]]></content>
			<author>
				<name><![CDATA[dvn]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32142</uri>
			</author>
			<updated>2014-06-03T07:25:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83623#p83623</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Создание кнопки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83620#p83620" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
AutoPic = C:\Users\sergey\Desktop\Новая папка\Andere077.ico
ManualPic = C:\Users\sergey\Desktop\Новая папка\Argos Icon 08.ico
 
Gui, Add, Picture, gScanModeg vScanModev w80 h80, % AutoPic
Gui Show
Return

ScanModeg: 
    GuiControl, , ScanModev, % (SearchMode := !SearchMode) ? AutoPic : ManualPic
    Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-03T07:16:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83620#p83620</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Создание кнопки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83616#p83616" />
			<content type="html"><![CDATA[<p>Прошу еще помощи, помогите переписать скрипт:</p><div class="codebox"><pre><code>;задаем режим сканирования 0-авто 1-ручной
ScanModeg:
if (SearchMode=0)
    {
    SearchMode=1
    GuiControl, , ScanModev, Manual
    }
else
    {
    SearchMode=0
    GuiControl, , ScanModev, Auto
    }
return</code></pre></div><div class="codebox"><pre><code>Gui, Add, Text, 0x1 gScanModeg vScanModev x420 y330 w80 h20, Auto</code></pre></div><p>Сейчас выводит текстом, а надо сделать кнопки (для Auto - auto.bmp, для Manual - manual.bmp)</p>]]></content>
			<author>
				<name><![CDATA[dvn]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32142</uri>
			</author>
			<updated>2014-06-03T07:00:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83616#p83616</id>
		</entry>
</feed>
