<?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=15601&amp;type=atom" />
	<updated>2020-08-13T21:34:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15601</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как выполнив один мультиХоткей, перейти к следующему?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141668#p141668" />
			<content type="html"><![CDATA[<p><strong>serzh82saratov</strong></p><p>Это вариант, да... Но тут получается x10+ кода в скрипте, чего хотелось бы избежать. Все же, править одну копию проще, чем 10+<br />Хм... а можно как то сделать, чтобы Goto перешел не к указанной строке, а пропустить ее и начать со следующей?<br />Хотя... Если описать действия как отдельную функцию...<br />Спасибо, пожалуй так и сделаю, да.</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2020-08-13T21:34:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141668#p141668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как выполнив один мультиХоткей, перейти к следующему?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141667#p141667" />
			<content type="html"><![CDATA[<p>Самый примитивный пример.<br /></p><div class="codebox"><pre><code>
1::
	MsgBox % A_ThisLabel
	GoTo 2
2::
	MsgBox % A_ThisLabel
	GoTo 3
3::
	MsgBox % A_ThisLabel
	Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2020-08-13T21:32:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141667#p141667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как выполнив один мультиХоткей, перейти к следующему?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141666#p141666" />
			<content type="html"><![CDATA[<p>Добрый день.<br />Для своего скрипта использую один кусок кода для нескольких хоткеев, грубо так:<br /></p><div class="codebox"><pre><code>a::
b::
c::
{
	[someCode]
	coord := coords[A_ThisHotkey] ;к примеру, реально завязано несколько больше, но для примера...
	[someMoreCodeUsingThisCoord]
	Return
}
</code></pre></div><p>Возможно ли как то ткнуть AHK чтобы он выполнив a:: сделал goto b::, выполнив b:: - goto c::, и.т.п., но с автоопределением типа (A_ThisHotkey + 1)?</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2020-08-13T21:17:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141666#p141666</id>
		</entry>
</feed>
