<?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=17819&amp;type=atom" />
	<updated>2023-06-22T12:45:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17819</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158562#p158562" />
			<content type="html"><![CDATA[<p><strong>Slame12</strong></p><div class="codebox"><pre><code>#Include &lt;Gdip_All.ahk&gt;</code></pre></div><p>Нужно использовать если библиотеки в отдельной папке Lib</p><p>Если файл Gdip_All.ahk просто рядом с скриптом то его не нужно обрамлять в &lt; &gt;.</p><div class="codebox"><pre><code>#Include Gdip_All.ahk</code></pre></div>]]></content>
			<author>
				<name><![CDATA[andrey.a.polyakov.b2c]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42228</uri>
			</author>
			<updated>2023-06-22T12:45:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158562#p158562</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158477#p158477" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо за полезную информацию.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-06T00:21:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158477#p158477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158476#p158476" />
			<content type="html"><![CDATA[<p>Напрасно, ChatGPT не имеет смысла использовать для AHK. В любом случае, чтобы им пользоваться, нужно достаточно разбираться в материале, чтобы самостоятельно исправить ошибки.<br />Если задача научиться что-то программировать самостоятельно, то Gdi Plus — это совсем не та тема, с которой стоило бы начинать. Это примерно, как начинать изучать математику с интегралов и производных. Начните с туториала из справки.<br />Если задача получить готовый результат, у нас есть коммерческий раздел, создайте тему там, опишите задачу, укажите, сколько готовы заплатить за решение.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-06-06T00:19:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158476#p158476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158475#p158475" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Всё верно, скрипт брал готовый через бота.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-06T00:14:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158475#p158475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158474#p158474" />
			<content type="html"><![CDATA[<p>Ну вот, найдите соответствующую функцию, посмотрите, какие параметры она принимает, что возвращает. Код вы откуда взяли? ChatGPT?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-06-06T00:12:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158474#p158474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158473#p158473" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />&quot;Слишком много параметров передано функции&quot;</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-06T00:09:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158473#p158473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158472#p158472" />
			<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-06-06T00:06:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158472#p158472</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158471#p158471" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Перевёл то я сразу , непонятно что делать чтобы это пофиксить.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-06T00:02:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158471#p158471</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158470#p158470" />
			<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-06-06T00:00:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158470#p158470</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158469#p158469" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Не особо, если честно.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-05T23:58:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158469#p158469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158468#p158468" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Error: Too many parameters passed to function.</p></blockquote></div><p>Понимаете, что это значит?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-06-05T23:53:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158468#p158468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158467#p158467" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Извиняюсь скинул не ту версию скрипта в котором я изменил название этой строчки&nbsp; </p><div class="codebox"><pre><code>#Include &lt;Gdip_All.ahk&gt;</code></pre></div><p> . После изменения названия на правильный появились другие ошибки : <br />Error: Too many parameters passed to function.<br />Specifically: Gdip_GetimageWidth(Bitmap, Width)<br />Line#<br />029:<br />030: Static,GdipToken, Gdip_Startup0<br />031: Bitmap : = Gdip_Create Bitmap FromFile(Path)<br />032: Return, Bitmap<br />033: }<br />037: {<br />038: Static,GdipToken,Gdip_Startup()<br />039: Gdip_GetimageWidth(Bitmap, Width)<br />040: Gdip_GetimageHeight(Bitmap, Height)<br />041: BitmapData := Gdip_Lock Bits(Bitmap, 0, 0, Width, Height,<br />3, 0)<br />042: Scan0:= NumGet(BitmapData + 8)<br />043: Stride := Num Get(BitmapData + 12)<br />044: Pixel Format: = Num Get(BitmapData + 16)<br />045: Color Depth := Pixel Format &gt; &gt; 8<br />046: Pixel Size := Color Depth &gt;&gt; 3<br />The program will exit.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-05T23:46:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158467#p158467</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158466#p158466" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Slame12 пишет:</cite><blockquote><div class="codebox"><pre><code>#Include &lt;Gdip_All.ahk&gt;</code></pre></div></blockquote></div><p>Угловые скобки тут не нужны. Название файла должно соответствовать реальному. Если у вас Gdip.ahk, то откуда взялось Gdip_All.ahk?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-06-05T23:38:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158466#p158466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158465#p158465" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Вроде сделал всё как надо теперь.</p>]]></content>
			<author>
				<name><![CDATA[Slame12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=43192</uri>
			</author>
			<updated>2023-06-05T23:31:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158465#p158465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нахождение пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158464#p158464" />
			<content type="html"><![CDATA[<p><strong>Slame12</strong>, добро пожаловать на форум! Ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свой пост. Обратите внимание на <a href="https://forum.script-coding.com/viewtopic.php?id=5421">составление заголовков</a>, оформление <a href="https://forum.script-coding.com/misc.php?action=rules#code-formatting">кода</a> и <a href="https://forum.script-coding.com/misc.php?action=rules#links-formatting">ссылок</a>, заглавные <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">буквы</a> в начале и точки в конце предложений.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-06-05T23:10:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158464#p158464</id>
		</entry>
</feed>
