<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12895&amp;type=atom" />
	<updated>2017-08-11T17:21:11Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12895</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118151#p118151" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>gryphonn</strong>, предложения должны начинаться с заглавной буквы и заканчиваться точкой. Отредактируйте свои сообщения и исправьте.<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=118057#p118057">http://forum.script-coding.com/viewtopi … 57#p118057</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118072#p118072">http://forum.script-coding.com/viewtopi … 72#p118072</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118097#p118097">http://forum.script-coding.com/viewtopi … 97#p118097</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118111#p118111">http://forum.script-coding.com/viewtopi … 11#p118111</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118117#p118117">http://forum.script-coding.com/viewtopi … 17#p118117</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118119#p118119">http://forum.script-coding.com/viewtopi … 19#p118119</a></span><br /><span style="color: green"><a href="http://forum.script-coding.com/viewtopic.php?pid=118120#p118120">http://forum.script-coding.com/viewtopi … 20#p118120</a></span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2017-08-11T17:21:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118151#p118151</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118144#p118144" />
			<content type="html"><![CDATA[<p><strong>gryphonn</strong>, я не понимаю чего вы не понимаете, и особенности чего вам нужны.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-08-11T16:18:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118144#p118144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118143#p118143" />
			<content type="html"><![CDATA[<p><strong>gryphonn</strong>, новый скайп сделал, от старого забыл пароль.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-08-11T16:13:25Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118143#p118143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118120#p118120" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>я эти send не очень то понимаю. Больно много там команд разных.</p><p>если в двух словах сможете разъяснить, в чем их особенности, буду очень благодарен.</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-11T03:45:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118120#p118120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118119#p118119" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>в другом хотя бы, хоть как. Но я уже написал тестер на экранной клавиатуре кликаю мышью. Зрелище впечатляющее)</p><p>Пока ничего не глючило. Буду дальше тестить.</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-11T03:43:58Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118119#p118119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118118#p118118" />
			<content type="html"><![CDATA[<p>В одном скрипте с ГК? См. 15 сообщение.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-08-11T02:12:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118118#p118118</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118117#p118117" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong><br />Не понимаю я как программно послать клавишу, чтобы сработал хоткей. В текстовом редакторе набирается эта буква, но метка горячей клавиши не срабатывает.</p><p>Пока нашел решение через экранную клавиатуру. По ней тыкать мышкой)) Так работает.</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-11T02:07:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118117#p118117</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118111#p118111" />
			<content type="html"><![CDATA[<p><strong>MandarinKa02</strong><br />у меня к тебе будет другое предложение. в скайпе спишемся</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-10T21:57:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118111#p118111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118110#p118110" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>В один момент времени не отвечает именно один хоткей. Но в другой раз не отвечает уже другой. Это я имел в виду. Никакой закономерности я не обнаруживаю.</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-10T21:55:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118110#p118110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118106#p118106" />
			<content type="html"><![CDATA[<p>Ну вот, только один, а говорили разные. Попробуйте задать его через vk код вместо sc.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-08-10T21:21:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118106#p118106</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118103#p118103" />
			<content type="html"><![CDATA[<p><strong>gryphonn</strong> Могу вам помочь усовершенствовать скрипт.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-08-10T20:59:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118103#p118103</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118097#p118097" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong><br />Хотел бы я верить, что мой глюк. Просто перестает отвечать именно один хоткей, я это проверяю. Даже та же клавиша, но с шифтом отвечает.</p><p>Пофиксю, там посмотрим. Спасибо за совет с отдельной программой для тестера. Данные о правильной клавише буду кидать в буфер обмена).</p><p>Сперва попробую сам, потом к вам обращусь. Я готов оплатить в случае чего.</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-10T20:33:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118097#p118097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118079#p118079" />
			<content type="html"><![CDATA[<p>На 95% уверен, что ваши глюки - не по вине ahk, а какой-то просчет в коде.<br />Вполне возможно, что в ходе разгребания глюк исчезнет сам.<br />Но тестировать не возьмусь <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />, разве что дадите воспроизводимый алгоритм.<br />Если будете писать тестер, можете сделать его таймером в отдельном скрипте (можно даже так, чтобы нажатия посылались только в окно тренажера при активном другом окне, но тогда подход с #IfWinActive придется менять).<br />Если же в одном скрипте с тренажером, <span style="color: red">используйте</span> SendLevel или #InputLevel.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-08-10T15:40:47Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118079#p118079</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118077#p118077" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>Круто, респект вам!! А я везде глобал писал в самих функциях. Вы ответили на мой не заданный вопрос! Таймер тоже работает.<br />Надо будет собраться силами и все переписать </p><p>Скажите пожалуйста. Вся эта оптимизация помимо визуального восприятия и сокращения кода какую пользу несет? Может это решить проблему глюков?</p>]]></content>
			<author>
				<name><![CDATA[gryphonn]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38683</uri>
			</author>
			<updated>2017-08-10T15:22:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118077#p118077</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Послать нажатие клавиши и запустить триггер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=118076#p118076" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#Persistent
global a:=&quot;global&quot;, b:=42
c := &quot;Цикл исолняется за разное время. Новый начинается после окончания предыдущего.&quot;
SetTimer MainCycle, -1
Return

MainCycle() {
	static i:=0
	ToolTip % a &quot; &quot; c &quot; &quot; ++i
	Sleep % Rnd(100, 1000)
	SetTimer MainCycle, -1
}

Rnd(min, max) {
	Random, rnd, min, max
	Return rnd
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-08-10T14:50:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=118076#p118076</id>
		</entry>
</feed>
