<?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=9660&amp;type=atom" />
	<updated>2014-06-01T18:48:50Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=9660</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83574#p83574" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YMP пишет:</cite><blockquote><p>Так?<br /></p><div class="codebox"><pre><code>
oSC := ComObjCreate(&quot;ScriptControl&quot;)
oSC.Language := &quot;VBScript&quot;
Gui, Add, Edit,vEdit x6 y11 w330 h30 R1,
Gui, Add, Button, x106 y51 w100 h30 , =
Gui, Font, S8 CGreen, Verdana
Gui, Show, x131 y91 h94 w342, КАЛЬКУЛЯТОР
Return
GuiClose:
ExitApp
#If WinActive(&quot;КАЛЬКУЛЯТОР ahk_class AutoHotkeyGUI&quot;)
Button=:
GuiControlGet, Edit,, Edit
StringReplace, Edit, Edit, =
Result := oSC.Eval(Edit)
GuiControl,, Edit, %Result%
Clipboard := Result
Return
</code></pre></div></blockquote></div><p>Да именно так спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-06-01T18:48:50Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83574#p83574</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83557#p83557" />
			<content type="html"><![CDATA[<p>Так?<br /></p><div class="codebox"><pre><code>
oSC := ComObjCreate(&quot;ScriptControl&quot;)
oSC.Language := &quot;VBScript&quot;
Gui, Add, Edit,vEdit x6 y11 w330 h30 R1,
Gui, Add, Button, x106 y51 w100 h30 , =
Gui, Font, S8 CGreen, Verdana
Gui, Show, x131 y91 h94 w342, КАЛЬКУЛЯТОР
Return
GuiClose:
ExitApp
#If WinActive(&quot;КАЛЬКУЛЯТОР ahk_class AutoHotkeyGUI&quot;)
Button=:
GuiControlGet, Edit,, Edit
StringReplace, Edit, Edit, =
Result := oSC.Eval(Edit)
GuiControl,, Edit, %Result%
Clipboard := Result
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-05-31T17:24:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83557#p83557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83556#p83556" />
			<content type="html"><![CDATA[<p>Я выделяю двойным кликом &quot;20 + 20 =&quot; (не 20 + 20 ) а именно: &quot;20 + 20 =&quot; вписываю в калькулятор ,&nbsp; получаю ответ ,&nbsp; копирую из калькулятора и вставляю в поле ответ .</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-05-31T16:37:43Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83556#p83556</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83555#p83555" />
			<content type="html"><![CDATA[<p>Кто их туда должен вписывать и каким образом?</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-05-31T16:28:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83555#p83555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83554#p83554" />
			<content type="html"><![CDATA[<p>Нет опять не так. Вот цифры и знаки которые должны быть вписаны в поле &quot;Edit&quot; перечисляю: <span style="color: #FF0000">20</span> , <span style="color: #FF0000">+</span> ,&nbsp; <span style="color: #FF0000">20</span> , <span style="color: #FF0000"> =</span> .</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-05-31T16:12:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83554#p83554</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83540#p83540" />
			<content type="html"><![CDATA[<p>Так, что ли?<br /></p><div class="codebox"><pre><code>
oSC := ComObjCreate(&quot;ScriptControl&quot;)
oSC.Language := &quot;VBScript&quot;
Gui, Add, Edit,vEdit x6 y11 w330 h30 R1,
Gui, Add, Button, x106 y51 w100 h30 , =
Gui, Font, S8 CGreen, Verdana
Gui, Show, x131 y91 h94 w342, КАЛЬКУЛЯТОР
Return
GuiClose:
ExitApp
#If WinActive(&quot;КАЛЬКУЛЯТОР ahk_class AutoHotkeyGUI&quot;)
Button=:
GuiControlGet, Edit,, Edit
Result := oSC.Eval(Edit)
GuiControl,, Edit, %Edit% = %Result%
Clipboard := Result
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-05-31T03:29:40Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83540#p83540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83535#p83535" />
			<content type="html"><![CDATA[<p>Нет вы не поняли , нужно в поле&nbsp; &quot;Edit&quot; ввести &quot;20 + 20 = &quot; а в ответе получилось &quot;40&quot; , а у вас получается &quot;20 + 20 = 40 &quot; и копируется в буфер это &quot;20 + 20 = 40 &quot; а нужно копировать в буфер &quot;40&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-05-30T17:30:09Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83535#p83535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83503#p83503" />
			<content type="html"><![CDATA[<p>Зачем вк код? Эта клавиша и по имени, работает в любой раскладке.<br /></p><div class="codebox"><pre><code>
=::
Button=:
    GuiControlGet, Edit 
    Result := oSC.Eval(Edit)
    GuiControl,, Edit, % Clipboard := Edit &quot;=&quot; RegExReplace(Result, &quot;(.*)\.0+$|(.*\..*?)0+$&quot;, &quot;$1$2&quot;)
    Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-05-29T19:10:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83503#p83503</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83502#p83502" />
			<content type="html"><![CDATA[<p>Наверно узнать vk-код клавиши [=] и назначить на неё те же действия, что выполняет кнопка в GUI.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-05-29T18:56:50Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83502#p83502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83501#p83501" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>GuiControl,, Edit, % Clipboard := Edit &quot;=&quot; RegExReplace(Result, &quot;(.*)\.0+$|(.*\..*?)0+$&quot;, &quot;$1$2&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-05-29T18:55:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83501#p83501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Добавить в поле ввода калькулятора знак равно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=83500#p83500" />
			<content type="html"><![CDATA[<p>Доброго времени суток. Подскажите пожалуйста как можно добавить в код калькулятора знак &quot;=&quot; в поле ввода , то есть в поле ввода можно вписать цифры &quot;пример 20 + 20 &quot; , а нужно вписать в таком формате &quot;20 + 20 = &quot; и чтобы ответ сразу копировался в буфер.<br /></p><div class="codebox"><pre><code>oSC := ComObjCreate(&quot;ScriptControl&quot;)
oSC.Language := &quot;VBScript&quot;
Gui, Add, Edit,vEdit x6 y11 w330 h30 R1,
Gui, Add, Button, x106 y51 w100 h30 , =
Gui, Font, S8 CGreen, Verdana
Gui, Show, x131 y91 h94 w342, КАЛЬКУЛЯТОР
Return
GuiClose:
ExitApp
#If WinActive(&quot;КАЛЬКУЛЯТОР ahk_class AutoHotkeyGUI&quot;)
Button=:
GuiControlGet, Edit,, Edit
Result := oSC.Eval(Edit)
GuiControl,, Edit, % RegExReplace(Result, &quot;(.*)\.0+$|(.*\..*?)0+$&quot;, &quot;$1$2&quot;)
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-05-29T18:46:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=83500#p83500</id>
		</entry>
</feed>
