<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ControlMove]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11971&amp;type=atom" />
	<updated>2016-09-01T08:16:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11971</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlMove]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107222#p107222" />
			<content type="html"><![CDATA[<p>Всё работает.<br /></p><div class="codebox"><pre><code>var1 := &quot;WWW&quot;
var2%var1% := 0
MsgBox, %var2WWW%</code></pre></div><p><strong>senyaonis</strong>, у нас принято в одной теме обсуждать один вопрос.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-09-01T08:16:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107222#p107222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlMove]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107217#p107217" />
			<content type="html"><![CDATA[<p>Спасибо, то что нужно.&nbsp; <br />Но появилась ещё одна проблема.. Как в ahk присвоить значение переменной, в имени которой содержится другая переменная? Это вообще реально? var2%var1%:=0 - ошибка вылезает.</p>]]></content>
			<author>
				<name><![CDATA[senyaonis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33915</uri>
			</author>
			<updated>2016-09-01T07:25:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107217#p107217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlMove]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107215#p107215" />
			<content type="html"><![CDATA[<p>или так:<br /></p><div class="codebox"><pre><code>Gui, Add , Picture, x50 y50 w32 h32 vMyPIC, %A_AhkPath%
Gui, Show, w200 h200
return
F2::GuiControl, Move, MyPIC, x10 y30</code></pre></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;MyPIC Может быть еще в виде id, тогда надо в GuiControl добавить процент символ.</div><div class="fancy_spoiler"><div class="codebox"><pre><code>Gui, Add , Picture, x50 y50 w32 h32 hwndMyPIC, %A_AhkPath%
Gui, Show, w200 h200
return
F2::GuiControl, Move, %MyPIC%, x10 y30</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-09-01T04:59:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107215#p107215</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlMove]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107214#p107214" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Gui, Add , Picture, x50 y50 w32 h32 HwndMyPic, %A_AhkPath%
Gui, Show, w200 h200
return

F2:: ControlMove, , 10, 30, , , ahk_id %MyPic%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-08-31T20:59:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107214#p107214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ControlMove]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107213#p107213" />
			<content type="html"><![CDATA[<p>Здравствуйте, не могу понять почему ControlMove не хочет работать:<br /></p><div class="codebox"><pre><code>
Gui, Add , Picture, x50 y50 w32 h32 hkdwnpic, %A_AhkPath%
Gui, Show, w200 h200
return
F2::
ControlMove, %pic%, 10, 30
</code></pre></div><p>По идеи, если нажать F2 - картинка должна переместиться в левый угол окна. Чего не происходит...<br />Работает только с меткой:<br /></p><div class="codebox"><pre><code>
Gui, Add , Picture, x50 y50 w32 h32 hkdwnpic gF2, %A_AhkPath%
Gui, Show, w200 h200
return
F2::
ControlMove, %pic%, 10, 30
</code></pre></div><p>Но и тут без чудес не обошлось, AHK воспринимает хоткей как метку.</p>]]></content>
			<author>
				<name><![CDATA[senyaonis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33915</uri>
			</author>
			<updated>2016-08-31T20:26:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107213#p107213</id>
		</entry>
</feed>
