<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16430&amp;type=atom" />
	<updated>2021-06-16T13:09:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16430</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148476#p148476" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Спасибо за ответ. По поводу 2 и 4 замечания. Это механическая ошибка.я&nbsp; экспериментировал с горячими клавишами и допустил оплошность.</p>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-16T13:09:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148476#p148476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148475#p148475" />
			<content type="html"><![CDATA[<p>Во-первых, саму горячую клавишу проще определять так: <em>^Numpad1::</em>. Во-вторых, у вас что-то непонятное посылается здесь:<br /></p><div class="codebox"><pre><code>Send {Ctrl Down}{Alt Down}{shift Down}{Alt Down}</code></pre></div><p>Зачем {Alt Down} два раза?<br />В-третьих, в KeyWait можно прописывать только одну клавишу. В четвёртых, здесь<br /></p><div class="codebox"><pre><code>Send {shift Up}</code></pre></div><p>должны отжиматься все клавиши, до этого нажатые, иначе они так и останутся нажатыми после выполнения скрипта.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-16T13:05:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148475#p148475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148474#p148474" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, Хорошо, мне не срочно.)</p>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-16T11:33:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148474#p148474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148473#p148473" />
			<content type="html"><![CDATA[<p>Не, совсем не так. Сейчас не у компьютера.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-16T09:34:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148473#p148473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148471#p148471" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, таким образом?</p><div class="codebox"><pre><code>
ctrl &amp; Numpad1::
   Send {Ctrl Down}{Alt Down}{shift Down}{Alt Down}
   KeyWait, ctrl &amp; Numpad1
   Send {shift Up}
   Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-16T09:05:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148471#p148471</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148470#p148470" />
			<content type="html"><![CDATA[<p>Да, только нужно будет KeyWait изменить.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-16T09:04:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148470#p148470</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148469#p148469" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Дополнительный вопрос, в данном скрипте я смогу заменить Xbutton2 к примеру на сочинение ctrl+num1 (ctrl &amp; Numpad1), скрип будет работать?</p>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-16T08:50:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148469#p148469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148467#p148467" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Огромное спасибо, этот скрипт заработал))</p>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-16T05:15:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148467#p148467</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148446#p148446" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>#If WinActive(&quot;ahk_exe acad.exe&quot;) 
Xbutton2::
   Send {Ctrl Down}{Alt Down}
   KeyWait, Xbutton2
   Send {Ctrl Up}{Alt Up}
   Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-14T14:44:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148446#p148446</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148444#p148444" />
			<content type="html"><![CDATA[<p><strong>Publipor</strong>, ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">правилами</a> форума. Обратите внимание на оформление заголовков и кода. Отредактируйте свой пост.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-14T09:00:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148444#p148444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Помогите разобраться в ошибке.The script contains syntax errors.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148439#p148439" />
			<content type="html"><![CDATA[<p>Здравствуйте. Возникла в проблема в написании простенького кода. Планировал заменить в определенной программе сочетаний клавиш &quot;ctrl+alt&quot; на &quot;Xbutton2&quot; , но что-то не получилось. Не могли б Вы, объяснить в чем я допустил ошибку <br /></p><div class="codebox"><pre><code>
#If WinActive(&quot;ahk_exe acad.exe&quot;) 
Xbutton1::vkA2
return

Xbutton2::vkA2 &amp; vkA4
return

PgUp::
{
	SendInput, {⌀} 
	return
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Publipor]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41811</uri>
			</author>
			<updated>2021-06-14T05:39:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148439#p148439</id>
		</entry>
</feed>
