<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: WinMenuSelectItem - Everything]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14408&amp;type=atom" />
	<updated>2018-12-28T19:44:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14408</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130690#p130690" />
			<content type="html"><![CDATA[<p>В настройках программы есть фильтр, при открытии нового окна поиска. Options&gt;Home&gt; Filter: Everything.</p>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2018-12-28T19:44:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130690#p130690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130469#p130469" />
			<content type="html"><![CDATA[<p>Можно конечно, но в плане дальнейшей модификации скрипта удобней (наглядней) использовать WinMenuSelectItem.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-19T11:36:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130469#p130469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130468#p130468" />
			<content type="html"><![CDATA[<p>А чего просто 0x111 нельзя отправить:<br /></p><div class="codebox"><pre><code>F12::
SendMessage, 0x111, 45000,,, ahk_class EVERYTHING
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-12-19T04:06:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130468#p130468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130400#p130400" />
			<content type="html"><![CDATA[<p>Ну на экране меню появиться не успевает в любом случае.<br />Кстати, отправка WM_INITMENUPOPUP оснастке тут же закрывает ее окно. Может и защита.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2018-12-14T09:36:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130400#p130400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130397#p130397" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>stealzy пишет:</cite><blockquote><p>Тогда зачем SendMessage посылаешь?</p></blockquote></div><p>Ну нам же не пришлось показывать меню, а обошлись лишь информированием окна, что пользователь кликнул на меню.<br />Хотя я не исключаю, что есть и такого уровня защита.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-13T18:08:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130397#p130397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130396#p130396" />
			<content type="html"><![CDATA[<p><strong>becauseim</strong>, если ничего не добавлять действительно первый вызов лишний. Писалось из предположения что перед таймером будет другой код и Return или допустим установка других таймеров.<br /></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Возможно такие и есть, но EVERYTHING к ним не относится.</p></blockquote></div><p>Тогда зачем SendMessage посылаешь? За правильный способ спасибо.</p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>spy++</p></blockquote></div><p>Уже пробовал.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2018-12-13T17:01:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130396#p130396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130393#p130393" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>stealzy пишет:</cite><blockquote><p>У некоторых программ команда WinMenuSelectItem не может вызывать меню, которое перед этим не было показано вручную</p></blockquote></div><p>Возможно такие и есть, но EVERYTHING к ним не относится.<br />Посылать !s{LAlt}&nbsp; ненадёжно.<br /></p><div class="codebox"><pre><code>f11::
hwnd := WinExist(&quot;ahk_class EVERYTHING&quot;)
menu := DllCall(&quot;GetMenu&quot;, Ptr, hwnd)
SendMessage, 0x116, menu, 0,, ahk_id %hwnd% ; WM_INITMENU
menu := DllCall(&quot;GetSubMenu&quot;, Ptr, menu, Int, 3)
SendMessage, 0x117, menu, 3,, ahk_id %hwnd% ; WM_INITMENUPOPUP
WinMenuSelectItem, ahk_class EVERYTHING,, Search, Everything
return</code></pre></div><div class="quotebox"><cite>stealzy пишет:</cite><blockquote><p>А с некоторыми вообще не работает, например оснастка групповых политик gpedit</p></blockquote></div><p>Можно посмотреть, что отправляется через spy++ и попробовать повторить тоже самое.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-13T10:46:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130393#p130393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130389#p130389" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong>, спасибо! Работает. А почему строка <em>SetTimer Everything, -1</em> повторяется?</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-12-12T21:36:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130389#p130389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130388#p130388" />
			<content type="html"><![CDATA[<p>У некоторых программ команда WinMenuSelectItem не может вызывать меню, которое перед этим не было показано вручную. Если нажмете Search вручную, команда будет работать, пока не закроете окно.<br />Увы. А с некоторыми вообще не работает, например оснастка групповых политик gpedit.</p><div class="codebox"><pre><code>SetTimer Everything, -1

Everything:
	WinWaitActive ahk_class EVERYTHING ahk_exe Everything.exe
	Send !s{LAlt} ; предварительный вызов меню &quot;вручную&quot;, для создания меню
	WinMenuSelectItem ahk_class EVERYTHING ahk_exe Everything.exe,, 4&amp;, 12&amp;
	WinWaitClose ahk_class EVERYTHING
	SetTimer Everything, -1
Return</code></pre></div><p>Название темы бессмысленное какое-то.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2018-12-12T18:37:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130388#p130388</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: WinMenuSelectItem - Everything]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130383#p130383" />
			<content type="html"><![CDATA[<p>Скрипт должен сбрасывать фильтр по типу файлов при каждом запуске программы Everything. Подскажите, где ошибка?</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><span class="postimg"><img src="http://puu.sh/CgwPh/3c4dc16e62.png" alt="http://puu.sh/CgwPh/3c4dc16e62.png" /></span></p></div></div><div class="codebox"><pre><code>SetTitleMatchMode, 2
SetTimer, Everything, 100

Everything:
WinWait, Everything
WinMenuSelectItem, ahk_class EVERYTHING,, Search, Everything
WinWaitClose, Everything
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-12-12T16:08:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130383#p130383</id>
		</entry>
</feed>
