<?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=17471&amp;type=atom" />
	<updated>2022-11-16T14:53:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17471</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155684#p155684" />
			<content type="html"><![CDATA[<p>Да, кстати, вариант. Единственно что если глюканет, юзер окно не найдёт, даже после перезапуска приложения его, окно может запомнить положение. </p><p>Видимо мне проще хукать новые окна, и делать их прозрачными.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T14:53:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155684#p155684</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155680#p155680" />
			<content type="html"><![CDATA[<p>Ну или как еще вариант, делать просто снимок экрана ставить поверх всех окон, а приложение, которое автоматизируешь, выносить за экран или на другой виртуальный десктоп и там его уже автоматизировать.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-11-16T14:11:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155680#p155680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155676#p155676" />
			<content type="html"><![CDATA[<p>Возможно есть, но нужен толковый хакер.<br /></p><div class="quotebox"><blockquote><p>In windows 10, it was easy to find CPrivilegedPresentationOperations vtable address in code section but they changed it with Win11, now you need to search in memory but still doable and requires no hooking. With that vtable, you can get IAMKey (kinda unneccessary) and also you can just call 4th func which is SetWindowBand does all the job for you, if you want you can also hook WndProc to use sendmessage from another app with needed params in order to call it anytime you want, benefit of doing this is WndProc runs on GUI thread which has an IAM thread.</p><p>Alternatively you can go kernelmode and it’s much more simpler, its after ExStyles2 just set it and works. I also tried setting ZBID_IMMERSIVE_RESTRICTED from kernel, it makes other windows crash</p></blockquote></div><p><a href="https://blog.adeltax.com/how-to-call-setwindowband/#comments">https://blog.adeltax.com/how-to-call-se … /#comments</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-11-16T13:53:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155676#p155676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155674#p155674" />
			<content type="html"><![CDATA[<p>По итогу, без инжекта вариантов нет.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T13:44:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155674#p155674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155673#p155673" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Не, про setwindowband тут:</p></blockquote></div><p>Точно, а я уже забыл.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T13:43:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155673#p155673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155671#p155671" />
			<content type="html"><![CDATA[<p>Не, про setwindowband тут:<br /><a href="http://forum.script-coding.com/viewtopic.php?id=16540">http://forum.script-coding.com/viewtopic.php?id=16540</a><br /></p><div class="quotebox"><blockquote><p>Я по китайски не шпрехаю.</p></blockquote></div><p><a href="https://www.google.com/search?q=DWM+overlay+site:www.unknowncheats.me">https://www.google.com/search?q=DWM+ove … ncheats.me</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-11-16T13:32:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155671#p155671</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155670#p155670" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Для SetWindowBand вроде не надо было UI Access (не помню точно).</p></blockquote></div><p><a href="http://forum.script-coding.com/viewtopic.php?pid=142231#p142231">http://forum.script-coding.com/viewtopi … 31#p142231</a></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Можно еще проинжектить dwm и перехватывать то, что он компонует, но я бы забил.</p></blockquote></div><p>Я по китайски не шпрехаю. )</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T13:12:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155670#p155670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155669#p155669" />
			<content type="html"><![CDATA[<p>Для SetWindowBand вроде не надо было UI Access (не помню точно).<br />Можно еще проинжектить dwm и перехватывать то, что он компонует, но я бы забил. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-11-16T13:09:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155669#p155669</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155668#p155668" />
			<content type="html"><![CDATA[<p>Макрос дергает в стороннем окне всякие менюшки, мелькают. Заглушка из окна не катит, они поверх неё вылетают. WindowInBand не катит из за UI Access.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T12:58:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155668#p155668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155667#p155667" />
			<content type="html"><![CDATA[<p>А зачем?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-11-16T12:31:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155667#p155667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Запрет обновления экрана]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=155666#p155666" />
			<content type="html"><![CDATA[<p>Возможно как то запретить обновление экрана, и после снова разрешить?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-11-16T10:34:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=155666#p155666</id>
		</entry>
</feed>
