<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: gdip не работает]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11631&amp;type=atom" />
	<updated>2016-05-25T18:24:00Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11631</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: gdip не работает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104219#p104219" />
			<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-25T18:24:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104219#p104219</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: gdip не работает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104218#p104218" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>lngvar</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте свой пост.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-25T18:23:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104218#p104218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: gdip не работает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104217#p104217" />
			<content type="html"><![CDATA[<p>проблема решена (<br />скачал файл Gdip_All.ahk&nbsp; и все заработало.<br />почти</p>]]></content>
			<author>
				<name><![CDATA[lngvar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31494</uri>
			</author>
			<updated>2016-05-25T18:19:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104217#p104217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: gdip не работает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104214#p104214" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
#include gdip.ahk

F2::
file = screen.png
Screenshot(file)
return

Screenshot(outfile)
{
    pToken := Gdip_Startup()

    screen=0|0|%A_ScreenWidth%|%A_ScreenHeight%
    pBitmap := Gdip_BitmapFromScreen(screen)
    MsgBox %pBitmap%
    RET:=Gdip_SaveBitmapToFile(pBitmap, outfile, 100)
    MsgBox %RET%
    Gdip_DisposeImage(pBitmap)
    Gdip_Shutdown(pToken)
}
</code></pre></div><p>Указатель на битмап выдает 0<br />После попытки записать в файл =&nbsp; -3<br />-3 = Could not find matching encoder for specified file format<br />Наверное потому, что не сработал каптур экрана.<br />Кто сталкивался с подобным ?</p><br /><p>версия ; Gdip standard library v1.45 by tic (Tariq Porter) 07/09/11<br />Win7 64</p>]]></content>
			<author>
				<name><![CDATA[lngvar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31494</uri>
			</author>
			<updated>2016-05-25T17:18:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104214#p104214</id>
		</entry>
</feed>
