<?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=15561&amp;type=atom" />
	<updated>2020-07-30T00:36:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15561</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141272#p141272" />
			<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>2020-07-30T00:36:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141272#p141272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141271#p141271" />
			<content type="html"><![CDATA[<p>Каким кодом распарсивается список окон для получения их ID ?</p>]]></content>
			<author>
				<name><![CDATA[clown124]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40957</uri>
			</author>
			<updated>2020-07-30T00:20:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141271#p141271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141261#p141261" />
			<content type="html"><![CDATA[<p>Нужно распарсить список (цикл Loop, parse), в цикле получить ID каждого окна, в названии которого есть текущая строка (SetTitleMatchMode, WinGet), для каждого ID вызвать функцию.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-07-29T21:22:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141261#p141261</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141257#p141257" />
			<content type="html"><![CDATA[<p>Список в txt - состоит всего из трех строчек:</p><p>Блокнот<br />Калькулятор<br />Paint</p>]]></content>
			<author>
				<name><![CDATA[clown124]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40957</uri>
			</author>
			<updated>2020-07-29T20:44:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141257#p141257</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141256#p141256" />
			<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>2020-07-29T20:32:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141256#p141256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141253#p141253" />
			<content type="html"><![CDATA[<p>Ясно.<br />А как к ней список окон добавить ?</p>]]></content>
			<author>
				<name><![CDATA[clown124]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40957</uri>
			</author>
			<updated>2020-07-29T19:45:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141253#p141253</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141250#p141250" />
			<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>2020-07-29T19:13:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141250#p141250</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141245#p141245" />
			<content type="html"><![CDATA[<p>Ну он же работает вроде бы как.<br />Нужно только чтобы мигали только конкретные окна (а не все).</p>]]></content>
			<author>
				<name><![CDATA[clown124]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40957</uri>
			</author>
			<updated>2020-07-29T18:58:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141245#p141245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141220#p141220" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>clown124 пишет:</cite><blockquote><p>как поменять этот код</p></blockquote></div><p>А зачем именно менять этот код? Напишите новый, просто используя функцию FlashTaskBarButton(). По вашему вопросу не ясно, какие именно трудности вам встретились. Не знаете, как данные из файла прочитать, или что?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-07-29T16:53:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141220#p141220</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Мигание ярлычка программы на панели задач по списку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141210#p141210" />
			<content type="html"><![CDATA[<p>Доброго времени суток.</p><br /><p>Подскажите - как поменять этот код, чтобы мигали только те окна - у которых в названии окна присутствует слово из файла список.txt, лежащем рядом с файлом ?</p><p>Например:<br />Блокнот<br />Калькулятор<br />Paint</p><div class="codebox"><pre><code>

#SingleInstance Force
#Persistent
#NoEnv

text := &quot;&quot;
WinGet, id, list,,, Program Manager
Loop % id
{
	this_id := id%A_Index%
	WinGetClass, this_class, ahk_id %this_id%
	WinGet, pid, PID, ahk_id %this_id%
	text .= this_class &quot;`n&quot; pid &quot;`n&quot; this_id &quot;`n`n&quot;
	FlashTaskBarButton(this_id)
}
msgbox % text
Return

FlashTaskBarButton(hGui, count := 0)  {
   static FLASHW_TRAY := 0x2, FLASHW_TIMERNOFG := 0xC
   VarSetCapacity(FLASHWINFO, size := A_PtrSize*2 + 4*4, 0)
   NumPut(count, NumPut(FLASHW_TRAY|(count ? 0 : FLASHW_TIMERNOFG), NumPut(hGui, NumPut(size, FLASHWINFO)), &quot;UInt&quot;))
   DllCall(&quot;FlashWindowEx&quot;, Ptr, &amp;FLASHWINFO)
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[clown124]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40957</uri>
			</author>
			<updated>2020-07-29T15:37:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141210#p141210</id>
		</entry>
</feed>
