<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=10568</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10568&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Как сделать переключение между окнами в Excel? (Решено)».]]></description>
		<lastBuildDate>Tue, 14 Apr 2015 06:45:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93340#p93340</link>
			<description><![CDATA[<p>Спасибо, работает.</p>]]></description>
			<author><![CDATA[null@example.com (misha_057)]]></author>
			<pubDate>Tue, 14 Apr 2015 06:45:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93340#p93340</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93205#p93205</link>
			<description><![CDATA[<p>Тогда так:<br /></p><div class="codebox"><pre><code>Xl:=ComObjActive(&quot;Excel.Application&quot;)

!1::
winactivate,ahk_class XLMAIN
xl.Workbooks(&quot;1.xlsx&quot;).Activate
return

!2::
winactivate,ahk_class XLMAIN
xl.Workbooks(&quot;2.xlsx&quot;).Activate
return
</code></pre></div><p><a href="http://www.autohotkey.com/board/topic/69033-basic-ahk-l-com-tutorial-for-excel/">Источник.</a><br /><a href="https://msdn.microsoft.com/en-us/library/bb223063(v=office.12).aspx">Другой.</a></p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Fri, 10 Apr 2015 12:06:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93205#p93205</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93204#p93204</link>
			<description><![CDATA[<p>&quot;WinWait&quot; убрал,&nbsp; &quot;WinActivate&quot; там и так есть.<br />Через WinActivate, ahk_class XLMAIN, активируется последнее активное окно Екселя, а вот переключаться по названию файлов - никак.</p>]]></description>
			<author><![CDATA[null@example.com (misha_057)]]></author>
			<pubDate>Fri, 10 Apr 2015 12:05:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93204#p93204</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93203#p93203</link>
			<description><![CDATA[<p>&quot;<a href="http://www.script-coding.com/AutoHotkey/WinWait.html">WinWait</a>&quot; там ни к чему.<br />&quot;<a href="http://www.script-coding.com/AutoHotkey/WinWaitActive.html">WinWaitActive</a>&quot; замени на &quot;<a href="http://www.script-coding.com/AutoHotkey/WinActivate.html">WinActivate</a>&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Fri, 10 Apr 2015 11:48:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93203#p93203</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Как сделать переключение между окнами в Excel? (Решено)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93190#p93190</link>
			<description><![CDATA[<p>Как сделать переключение между окнами Excel?<br />Не могу понять, почему не работает это:<br /></p><div class="codebox"><pre><code>!1::
{
msgbox Перейдем в окно 2.

WinWait, Microsoft Excel - 2.xlsx, 
IfWinNotActive, Microsoft Excel - 2.xlsx, , WinActivate, Microsoft Excel - 2.xlsx, 
WinWaitActive, Microsoft Excel - 2.xlsx, 

msgbox Есть 2!

Sleep, 1000

msgbox Перейдем обратно в 1.
WinWait, Microsoft Excel - 1.xlsx, 
IfWinNotActive, Microsoft Excel - 1.xlsx, , WinActivate, Microsoft Excel - 1.xlsx, 
WinWaitActive, Microsoft Excel - 1.xlsx, 

msgbox Есть 1!
}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (misha_057)]]></author>
			<pubDate>Fri, 10 Apr 2015 09:06:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93190#p93190</guid>
		</item>
	</channel>
</rss>
