<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=17011</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17011&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Код который бы переключал активный скрипт по нажатию кнопки».]]></description>
		<lastBuildDate>Mon, 24 Oct 2022 16:19:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155385#p155385</link>
			<description><![CDATA[<p>Добавьте к каждому #If дополнительное условие:<br /></p><div class="codebox"><pre><code>#If WinActive(&quot;My Window&quot;) &amp;&amp; counter = 1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 24 Oct 2022 16:19:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155385#p155385</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155381#p155381</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Хотел еще спросить можно ли Ваш скрипт закрепить за одним приложением? Чтобы данный скрипт работал только в одном активном окне, приложении.<br />К сожалению команда:</p><div class="codebox"><pre><code>#IfWinActive,</code></pre></div><p> не работает.<br />Полагаю не работает из-за:</p><div class="codebox"><pre><code>#If</code></pre></div><p> в скрипте.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Mon, 24 Oct 2022 00:57:49 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155381#p155381</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155380#p155380</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Как и в прошлый раз работает шикарно. Благодарю на помощь!</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Mon, 24 Oct 2022 00:39:33 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155380#p155380</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155379#p155379</link>
			<description><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>counter := 1
1:: counter := mod(counter, 3) + 1

#If counter = 1
LButton::a

#If counter = 2
LButton::b

#If counter = 3
LButton::c

#If
Esc::ExitApp</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 23 Oct 2022 22:26:50 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155379#p155379</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155376#p155376</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Хорошо. Я посчитал что Вы просто не доброжелательно придираетесь на счет точки, Правила прочитал, точку поставил.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Sun, 23 Oct 2022 17:38:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155376#p155376</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155375#p155375</link>
			<description><![CDATA[<p>Если понятно, то почему бы не исправить? На форуме есть правила, они для всех одинаковые. Хотите получать здесь помощь — выполняйте их.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 23 Oct 2022 17:26:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155375#p155375</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155374#p155374</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Понятно. Всего Вам хорошего.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Sun, 23 Oct 2022 17:23:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155374#p155374</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155373#p155373</link>
			<description><![CDATA[<p>Точку потеряли.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 23 Oct 2022 16:50:15 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155373#p155373</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155372#p155372</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Поочерёдно, по кругу. Что бы при каждом нажатии кнопки - активная горячая клавиша переключалась по кругу.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Sun, 23 Oct 2022 16:19:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155372#p155372</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155371#p155371</link>
			<description><![CDATA[<p>А по какому алгоритму?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 23 Oct 2022 15:43:01 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155371#p155371</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155370#p155370</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Да, извините. Я имею в виду именно горячие клавиши.<br />на подобии <br /></p><div class="codebox"><pre><code>LButton:: Send, {RAlt down}
LButton up:: Send, {RAlt up}</code></pre></div><p>Имею потребность в аналогичном вашем коде но только что бы он переключался между тремя горячими клавишами.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Sun, 23 Oct 2022 14:48:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155370#p155370</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155369#p155369</link>
			<description><![CDATA[<p>Не очень понял, что за скрипты. Там просто горячие клавиши переключаются.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 23 Oct 2022 14:25:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155369#p155369</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=155366#p155366</link>
			<description><![CDATA[<p><strong>teadrinker</strong><br />Здравствуйте.<br />Подскажите пожалуйста можно ли как-то ваш скрипт модернизировать и сделать так что бы он переключал с одной кнопки 3 скрипта в место двух?</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Sun, 23 Oct 2022 13:55:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=155366#p155366</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=152536#p152536</link>
			<description><![CDATA[<p><strong>__Михаил__</strong>, <strong>teadrinker</strong> <br />Спасибо вам большое! Очень выручили.</p>]]></description>
			<author><![CDATA[null@example.com (SHOX)]]></author>
			<pubDate>Tue, 08 Mar 2022 01:17:53 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=152536#p152536</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Код который бы переключал активный скрипт по нажатию кнопки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=152535#p152535</link>
			<description><![CDATA[<p>В каком смысле сокращённый? Тут нечего сокращать.<br /></p><div class="codebox"><pre><code>toggle := false
1:: toggle := !toggle

#If !toggle
LButton:: Send, {F7 down}
LButton up:: Send, {F7 up}

#If toggle
LButton:: Send, {RAlt down}
LButton up:: Send, {RAlt up}</code></pre></div><p>Отличие здесь в том, что сразу видно, что код делает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 07 Mar 2022 19:53:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=152535#p152535</guid>
		</item>
	</channel>
</rss>
