<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Skype]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11598&amp;type=atom" />
	<updated>2016-05-18T11:38:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11598</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103920#p103920" />
			<content type="html"><![CDATA[<p>Для скайпа ещё такое есть <a href="https://autohotkey.com/board/topic/96375-skype-functions/">https://autohotkey.com/board/topic/9637 … functions/</a>, вроде как сообщения новые тоже не мониторит, но навсякий проверьте на новых версиях.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-05-18T11:38:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103920#p103920</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103913#p103913" />
			<content type="html"><![CDATA[<p>Тогда statistics.db или statistics.db-journal.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-05-18T01:04:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103913#p103913</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103912#p103912" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, у меня эти файлы изменяются ежеминутно без всяких событий при открытом клиенте.</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2016-05-18T00:47:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103912#p103912</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103911#p103911" />
			<content type="html"><![CDATA[<p>Можно в цикле считывать дату модификации файла main.db или main.db-journal.<br />Если изменилась - значит новые сообщения.<br />Можно читать дату последнего сообщения в скайпе и сравнивать с предыдущими (не знаю будет ли работать в современной версии):<br /></p><div class="codebox"><pre><code>oSkype.Messages.Item(1).Timestamp</code></pre></div><p>А по хорошему понять бы их Web Sdk:<br /><a href="https://msdn.microsoft.com/en-us/library/office/dn962133%28v=office.16%29.aspx">https://msdn.microsoft.com/en-us/librar … 16%29.aspx</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-05-18T00:13:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103911#p103911</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103902#p103902" />
			<content type="html"><![CDATA[<p>А можно ли считывать изменение иконки в трее, но при условии, что панель задач целиком перекрыта окном другой программы? В таком случае, можно было бы привязать изменение иконки к событию.</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2016-05-17T20:50:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103902#p103902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103892#p103892" />
			<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>2016-05-17T19:55:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103892#p103892</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103891#p103891" />
			<content type="html"><![CDATA[<p>Поэтому если нужны фичи Skype4COM, то лучше пользоваться старой версией скайпа.<br />Неизвестно, что они отрежут при следующем апдейте.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-05-17T19:48:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103891#p103891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103887#p103887" />
			<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>2016-05-17T19:34:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103887#p103887</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103886#p103886" />
			<content type="html"><![CDATA[<p>А в моём скайпе 6.21.0.104 работает исправно, только дублируется msgbox при получении и прочтении.<br />Можно добавить условие:<br /></p><div class="codebox"><pre><code>#Persistent
oSkype := ComObjCreate(&quot;Skype4COM.Skype&quot;)
ComObjConnect(oSkype, &quot;Skype_&quot;)
If (!oSkype.Client.IsRunning)
    oSkype.Client.Start()
oSkype.Attach
Return

Skype_MessageStatus(ByRef aMsg, aStatus) {
   if aStatus = 2      ; получено
      MsgBox, % aMsg.Id &quot;`n&quot; aMsg.FromHandle &quot;`n&quot; aMsg.Body
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-05-17T19:31:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103886#p103886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103875#p103875" />
			<content type="html"><![CDATA[<p><span class="bbu">Вроде как</span> раньше таким образом сразу оповещало, но теперь наблюдаю что MsgBox выходит только по факту прочтения новых сообщений в чате.<br /></p><div class="codebox"><pre><code>
oSkype := ComObjCreate(&quot;Skype4COM.Skype&quot;)
ComObjConnect(oSkype, &quot;Skype_&quot;)
If (!oSkype.Client.IsRunning)
    oSkype.Client.Start()
oSkype.Attach
Return

Skype_MessageStatus(ByRef aMsg, aStatus) {
	MsgBox, % aMsg.Id &quot;`n&quot; aMsg.FromHandle &quot;`n&quot; aMsg.Body
}  
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-05-17T12:35:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103875#p103875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Skype]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103870#p103870" />
			<content type="html"><![CDATA[<p><strong>Malcev </strong>предложил метод использования API для смены статуса в клиенте Skype<br /></p><div class="codebox"><pre><code>; 1 = В сети
; 2 = Нет на месте
oSkype := ComObjCreate(&quot;Skype4COM.Skype&quot;)

f1::
oSkype.ChangeUserStatus(1)
return

f2::
oSkype.ChangeUserStatus(2)
return</code></pre></div><p>Можно ли подобным (или иным) образом узнать о входящем сообщении? Например, установить оповещение в виде появления <a href="https://upload.wikimedia.org/wikipedia/commons/e/ec/Skype-icon-new.png">изображения </a>в правом верхнем углу экрана?</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2016-05-17T07:59:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103870#p103870</id>
		</entry>
</feed>
