<?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=12810&amp;type=atom" />
	<updated>2017-07-16T16:48:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12810</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Создание калькулятора]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=117290#p117290" />
			<content type="html"><![CDATA[<p>На 64 битном автохотки ScriptControl не работает.<br />Используйте ActiveScript.<br />В коллекции по автохотки есть.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-07-16T16:48:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=117290#p117290</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Создание калькулятора]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=117289#p117289" />
			<content type="html"><![CDATA[<p>Здравствуйте, решил создать калькулятор, не получилось, нашел вроде рабочий код, но у меня он не работает(<br />Можете подправить или объяснить почему он не работает?!<br /></p><div class="codebox"><pre><code>InputBox, 1111, Какулятор v1337, Настрочи пример 
test = %1111% 
oSC := ComObjCreate(&quot;ScriptControl&quot;) 
oSC.Language := &quot;VBScript&quot; 
Result := oSC.Eval(test) 
var = % RegExReplace(Result, &quot;(.*)\.0+$|(.*\..*?)0+$&quot;, &quot;$1$2&quot;) 
MsgBox,%var% 
Exit</code></pre></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Ошибка</div><div class="fancy_spoiler"><p>---------------------------<br />*<br />---------------------------<br />Error:&nbsp; 0x80040154 - Класс не зарегистрирован</p><p>	Line#<br />	001: InputBox,1111,Какулятор v1337,Настрочи пример<br />	002: test = %1111%<br />---&gt;	003: oSC := ComObjCreate(&quot;ScriptControl&quot;)<br />	004: oSC.Language := &quot;VBScript&quot;&nbsp; <br />	005: Result := oSC.Eval(test)<br />	006: var := RegExReplace(Result, &quot;(.*)\.0+$|(.*\..*?)0+$&quot;, &quot;$1$2&quot;)<br />	007: MsgBox,%var%<br />	008: Exit<br />	009: {<br />	010: For a,b in x</p><p>Continue running the script?<br />---------------------------<br />Да&nbsp; &nbsp;Нет&nbsp; &nbsp;<br />---------------------------</p></div></div>]]></content>
			<author>
				<name><![CDATA[minesemka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33949</uri>
			</author>
			<updated>2017-07-16T16:42:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=117289#p117289</id>
		</entry>
</feed>
