<?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=5873&amp;type=atom" />
	<updated>2011-06-12T14:06:51Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5873</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49095#p49095" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>А где там символ &quot;&amp;#956;&quot;?</p></blockquote></div><p>В заголовке окна, который считывается WinGetTitle(). Это греческая буква &quot;Мю&quot; между Альфой и Омегой, началом и концом...<br /></p><div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Я этой программой не пользуюсь, не в курсе.</p></blockquote></div><p>А, ну ладно, нет жизненной необходимости, есть более важные вещи.</p><p>Upd. Уже всё решено. В последней версии класс постоянен, а &quot;Мю&quot; вводил, видимо, неправильно (из Таблицы символов). Чтобы правильно вставить символ, надо нажать Alt 0181 (on the numpad).</p>]]></content>
			<author>
				<name><![CDATA[zzzUUUzzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26609</uri>
			</author>
			<updated>2011-06-12T14:06:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49095#p49095</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49094#p49094" />
			<content type="html"><![CDATA[<p>OFF: Ничего удивительного. Пока что всё, что мне требовалось скачать, находил без торрентов.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-06-12T12:17:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49094#p49094</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49093#p49093" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Я этой программой не пользуюсь</p></blockquote></div><p>Просто удивительно. <img src="//forum.script-coding.com/img/smilies/yikes.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[BgoN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26806</uri>
			</author>
			<updated>2011-06-12T12:10:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49093#p49093</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49092#p49092" />
			<content type="html"><![CDATA[<p>А где там символ &quot;&amp;#956;&quot;? Я этой программой не пользуюсь, не в курсе.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-06-12T12:02:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49092#p49092</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49088#p49088" />
			<content type="html"><![CDATA[<p>Возникла проблема... а как быть с utorrent.exe?<br />Не работает, видимо, из-за символа &quot;&amp;#956;&quot;.<br />Поставил юникод-версию программы, скрипт сохранил в utf8, не работает всё равно...<br />И если просто класс указать, то не работает условие...</p>]]></content>
			<author>
				<name><![CDATA[zzzUUUzzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26609</uri>
			</author>
			<updated>2011-06-11T21:12:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49088#p49088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49056#p49056" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>zzzUUUzzz пишет:</cite><blockquote><p>в своём скрипте искал причину неработоспособности, оказалась строка DetectHiddenWindows, On</p></blockquote></div><p>Да, у приложения, кроме одного видимого, могут иметься несколько скрытых окон.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-06-10T09:22:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49056#p49056</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49053#p49053" />
			<content type="html"><![CDATA[<p>Спасибо!<br />Действительно, имя процесса для меня является достаточно уникальным значением.<br />Наконец, заработало, НО после некоторых манипуляций, а именно:<br />- в своём скрипте искал причину неработоспособности, оказалась строка DetectHiddenWindows, On<br />- первый Return заменил на Break, второй Return удалил<br />...<br />- PROFIT!!1 , как говорится <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[zzzUUUzzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26609</uri>
			</author>
			<updated>2011-06-10T09:10:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49053#p49053</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48985#p48985" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>zzzUUUzzz пишет:</cite><blockquote><p>К примеру, возьмём программу ACDSee.</p></blockquote></div><p>Тогда так:<br /></p><div class="codebox"><pre><code>WinGet, List, List
Loop % List
{
   WinGet, ProcessName, ProcessName, % &quot;ahk_id&quot; List%A_Index%
   if InStr(ProcessName, &quot;ACDSee&quot;)
   {
      WinGetTitle, Title, % &quot;ahk_id&quot; List%A_Index%
      MsgBox, % Title
      Return
   }
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-06-06T11:15:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48985#p48985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48968#p48968" />
			<content type="html"><![CDATA[<p>Извините за задержку.<br /></p><div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>А что у него не изменяется? &amp;#922;&amp;#945;&amp;#954; &amp;#914;ы понимаете, что окно то самое?</p></blockquote></div><p>Мне и хочется узнать средства. Как узнаю? Запускаю программу, смотрю класс, закрываю программу, открываю программу, смотрю класс, а они... догадываетесь? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="quotebox"><cite>DaVinchi пишет:</cite><blockquote><p>Можно попробовать по ID или PID.</p></blockquote></div><p>PID тоже меняется, ID посмотрел, тоже разное...<br /></p><div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>У этого приложения одно окно, или несколько?</p></blockquote></div><p>Одно. К примеру, возьмём программу ACDSee.</p>]]></content>
			<author>
				<name><![CDATA[zzzUUUzzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26609</uri>
			</author>
			<updated>2011-06-05T15:58:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48968#p48968</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48952#p48952" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>zzzUUUzzz пишет:</cite><blockquote><p>А что делать, если приложение после перезапуска меняет свой класс, а заголовок окна не является чем-то уникальным? Как достоверно определить нужное окно?</p></blockquote></div><p>У этого приложения одно окно, или несколько?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-06-04T19:49:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48952#p48952</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48951#p48951" />
			<content type="html"><![CDATA[<p>Можно попробовать по&nbsp; ID или PID.</p>]]></content>
			<author>
				<name><![CDATA[DaVinchi]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26386</uri>
			</author>
			<updated>2011-06-04T18:09:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48951#p48951</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48948#p48948" />
			<content type="html"><![CDATA[<p>А что у него не изменяется? &amp;#922;&amp;#945;&amp;#954; &amp;#914;ы понимаете, что окно то самое?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2011-06-04T11:51:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48948#p48948</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Приложение меняет свой класс!]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48947#p48947" />
			<content type="html"><![CDATA[<p>А что делать, если приложение после перезапуска меняет свой класс, а заголовок окна не является чем-то уникальным? Как достоверно определить нужное окно?</p>]]></content>
			<author>
				<name><![CDATA[zzzUUUzzz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26609</uri>
			</author>
			<updated>2011-06-04T09:21:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48947#p48947</id>
		</entry>
</feed>
