<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: переменная в ControlSend]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5433&amp;type=atom" />
	<updated>2011-01-29T12:39:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5433</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44548#p44548" />
			<content type="html"><![CDATA[<p>Ой, да действительно, у него класс AkelPad4. извините что так долго парил вам мозг по недосмотру, сам уже плохо осознаю что делаю. но в опере то оно тоже не срабатывало а там я класс не раз проверил.</p><br /><p>эээ неет, стойте все правильно у акельпада класс Notepad! <br />все нафиг скрипты надо поспать</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T12:39:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44548#p44548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44547#p44547" />
			<content type="html"><![CDATA[<p>Остаётся попробовать добавить пробелы и сменить горячую клавишу на прежнюю! <img src="//forum.script-coding.com/img/smilies/lol.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-01-29T12:39:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44547#p44547</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44546#p44546" />
			<content type="html"><![CDATA[<p>Заработало! Уж не знаю где, но в первый раз я точно где-то накосячил с синтаксисом. Вот рабочий вариант<br /></p><div class="codebox"><pre><code>IniRead, My2Edit, %systemroot%\WINDOWS\settings.ini, General, Attach, F1
!z::ControlSend,,{%My2Edit%},ahk_class OperaWindowClass</code></pre></div><p>Единственное отличие от старого варианта это отсутвие пробелов между параметрами и смена горячей клавиши.</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T12:35:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44546#p44546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44544#p44544" />
			<content type="html"><![CDATA[<p><strong>ilya20069</strong>, в AkelPad4 может быть другой класс окна нежели «Notepad». Проверяли?</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-01-29T12:27:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44544#p44544</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44543#p44543" />
			<content type="html"><![CDATA[<p>значит придется делать все-таки сендом, спасибо, пойду дальше шаманить</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T12:19:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44543#p44543</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44541#p44541" />
			<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>2011-01-29T12:12:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44541#p44541</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44540#p44540" />
			<content type="html"><![CDATA[<p>Спасибо, работает. С сендом проблем вообще не было, но он посылает нажатие в активное окно, поэтому от него почти сразу отказался. <br />Хотя если попробовать делать нужное окно активным посылать нажатие и тут же возвращать все на место.. коряво выйдет, если допустим в это время я буду печатать текст в другое окно некоторые символы могут быть посланы не туда</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T12:08:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44540#p44540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44539#p44539" />
			<content type="html"><![CDATA[<p>Вот так попробуй:<br /></p><div class="codebox"><pre><code>IniRead, MyCount, %A_ScriptDir%\ahk.ini, General, Click, F3
#z::
Send, {%MyCount%}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-01-29T11:49:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44539#p44539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44538#p44538" />
			<content type="html"><![CDATA[<p>сейчас для проверки попроовал на опере<br /></p><div class="codebox"><pre><code>IniRead, MyCount, %A_ScriptDir%\ahk.ini, General, Click, F3
#z::
ControlSend,, {%MyCount%}, ahk_class OperaWindowClass
msgbox %MyCount%</code></pre></div><p>в ini написал F1, для проверки чтения, в сообщени выводится F1, то есть чтение проходит верно, а нажатие в оперу не приходит.<br />с текстовыми клавишами та же история.<br />может проценты в контрол сенд&nbsp; зря поставил?</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T11:38:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44538#p44538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44537#p44537" />
			<content type="html"><![CDATA[<p>Этим не пользовался, не знаю. Попробуй просто вместо <strong>F2</strong> посылать какую нибудь текстовую клавишу. Если сработает — значит проблема не в коде, а в AkelPad&#039;е.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-01-29T11:29:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44537#p44537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44536#p44536" />
			<content type="html"><![CDATA[<p><a href="http://akelpad.sourceforge.net/ru/index.php">AkelPad 4.3.6</a></p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T11:22:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44536#p44536</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44535#p44535" />
			<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>2011-01-29T11:20:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44535#p44535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44534#p44534" />
			<content type="html"><![CDATA[<p>в блокноте у меня висит макрос на F2 который копирует выделенное, а в опере это переход по указанному адресу, нужно чтобы скрипт был как бы универсальным при незначительных изменениях в коде (изменение класса или значения в ini)</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T11:15:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44534#p44534</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44533#p44533" />
			<content type="html"><![CDATA[<p>А что должно произойти в блокноте, когда ему послана клавиша <strong>F2</strong>?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-01-29T11:09:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44533#p44533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: переменная в ControlSend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=44532#p44532" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>[General]
Click=F2
[Default]
Click=F2</code></pre></div><p>вот</p>]]></content>
			<author>
				<name><![CDATA[ilya20069]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26683</uri>
			</author>
			<updated>2011-01-29T11:04:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=44532#p44532</id>
		</entry>
</feed>
