<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Срабатывание на "окно"]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=15144</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15144&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Срабатывание на "окно"».]]></description>
		<lastBuildDate>Thu, 23 Jan 2020 16:52:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Срабатывание на "окно"]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=137460#p137460</link>
			<description><![CDATA[<p>Ну это какое-то нестандартное окно. Так может закроет:<br />Другие стандартные окна закрывает.</p><div class="codebox"><pre><code>#Persistent
SetBatchLines, -1
Process, Priority,, High

Gui +LastFound
hWnd := WinExist()

DllCall(&quot;RegisterShellHookWindow&quot;, UInt,hWnd)
MsgNum := DllCall(&quot;RegisterWindowMessage&quot;, Str,&quot;SHELLHOOK&quot;)
OnMessage(MsgNum, &quot;ShellMessage&quot;)
Return

ShellMessage(wParam,lParam) {
If (wParam = 1) ; HSHELL_WINDOWCREATED := 1
{
WinGetTitle, Title, ahk_id %lParam%
If (Title = &quot;rf4_x64.exe&quot;)
{
WinClose, ahk_id %lParam%
}
}
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Thu, 23 Jan 2020 16:52:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=137460#p137460</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Срабатывание на "окно"]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=137459#p137459</link>
			<description><![CDATA[<p><strong>svoboden</strong><br />Окно называется - rf4_x64.exe<br />надо что бы при появлении объекта (скрин) AHK его закрывал, нажимал на лкм.</p>]]></description>
			<author><![CDATA[null@example.com (TRAAAAATATA)]]></author>
			<pubDate>Thu, 23 Jan 2020 13:03:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=137459#p137459</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Срабатывание на "окно"]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=137455#p137455</link>
			<description><![CDATA[<p>А название есть у окна. Так можно отлавливать окна. В примере окно блокнота:</p><div class="codebox"><pre><code>#Persistent 
SetBatchLines, -1 
Process, Priority,, High 

Gui +LastFound 
hWnd := WinExist() 

DllCall(&quot;RegisterShellHookWindow&quot;, UInt,hWnd) 
MsgNum := DllCall(&quot;RegisterWindowMessage&quot;, Str,&quot;SHELLHOOK&quot;) 
OnMessage(MsgNum, &quot;ShellMessage&quot;) 
Return 

ShellMessage(wParam,lParam) { 
If (wParam = 1) ; HSHELL_WINDOWCREATED := 1 
{ 
WinGetTitle, Title, ahk_id %lParam% 
If (Title = &quot;Безымянный — Блокнот&quot;) 
{ 
Msgbox
} 
} 
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Wed, 22 Jan 2020 23:00:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=137455#p137455</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Срабатывание на "окно"]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=137451#p137451</link>
			<description><![CDATA[<p>Необходим скрипт который нажимает левую кнопку мыши, если вылазит красное окно, затем нажимает пробел и снова левую кнопку.<br />Помогите, а то я вообще не могу понять как это написать)</p>]]></description>
			<author><![CDATA[null@example.com (TRAAAAATATA)]]></author>
			<pubDate>Wed, 22 Jan 2020 17:47:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=137451#p137451</guid>
		</item>
	</channel>
</rss>
