<?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=10715&amp;type=atom" />
	<updated>2015-06-21T11:52:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10715</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94678#p94678" />
			<content type="html"><![CDATA[<p>Боже! Ты маг! Спасибо <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[QGate]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33126</uri>
			</author>
			<updated>2015-06-21T11:52:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94678#p94678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94677#p94677" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>QGate пишет:</cite><blockquote><p>Так ты допиши скрипт.</p></blockquote></div><p>Откуда мне знать, как его дописывать? Нужно рабочий код давать, чтобы можно было запустить и увидеть проблему.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2015-06-21T11:51:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94677#p94677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94676#p94676" />
			<content type="html"><![CDATA[<p>Первый совет некорректен.<br /></p><div class="codebox"><pre><code>menu:
    var:=1
    Function(var)
    return

Function(p1)
{
    Static v1
    v1 := p1
    Gui, Add, Button, gButton, Button
    Gui, Show
    Return

    Button:
        msgbox %v1%
        Return
} </code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-06-21T11:48:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94676#p94676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94675#p94675" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>menu:
    Global var:=1
    Function()
    return

Function()
{
    Gui, Add, Button, gButton, Button
    Gui, Show
    Return

    Button:
        msgbox %var%
        Return
} </code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-06-21T11:46:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94675#p94675</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94674#p94674" />
			<content type="html"><![CDATA[<p>Не помогло.</p>]]></content>
			<author>
				<name><![CDATA[QGate]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33126</uri>
			</author>
			<updated>2015-06-21T11:37:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94674#p94674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94673#p94673" />
			<content type="html"><![CDATA[<p>Или саму переменную:<br /></p><div class="codebox"><pre><code>menu:
Global var:=1
Function()
return

Function()
{
Gui......
Return
Button:
msgbox %var%
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-06-21T11:25:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94673#p94673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94672#p94672" />
			<content type="html"><![CDATA[<p>Самое простое, это сделать функцию глобальной:<br /></p><div class="codebox"><pre><code>Function(var)
{
Global
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-06-21T11:23:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94672#p94672</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94669#p94669" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YMP пишет:</cite><blockquote><p>А у меня вот что вылазит</p></blockquote></div><p>Так ты допиши скрипт.</p>]]></content>
			<author>
				<name><![CDATA[QGate]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33126</uri>
			</author>
			<updated>2015-06-21T10:49:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94669#p94669</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94668#p94668" />
			<content type="html"><![CDATA[<p>А у меня вот что вылазит:<br /></p><div class="quotebox"><blockquote><p>---------------------------<br />DF06140D25000258.AHK<br />---------------------------<br />Error at line 8.</p><p>Line Text: Gui......<br />Error: This line does not contain a recognized action.</p><p>The program will exit.<br />---------------------------<br />ОК&nbsp; &nbsp;<br />---------------------------</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2015-06-21T10:46:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94668#p94668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94667#p94667" />
			<content type="html"><![CDATA[<p><span style="color: green">QGate, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-06-21T10:41:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94667#p94667</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Отправление данных в метку в функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94665#p94665" />
			<content type="html"><![CDATA[<p>У меня идет функция с GUI. Функция принимает переменную. Проблема в том, что переменная не действует в метке.<br /></p><div class="codebox"><pre><code>
menu:
var:=1
Function(var)
return

Function(var)
{
Gui......
Return
Button:
msgbox %var%
}
</code></pre></div><p>Ну код представил как пример. Он открывает пустое окно, где по сути должна быть цифра 1.<br />Что можно придумать?</p>]]></content>
			<author>
				<name><![CDATA[QGate]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33126</uri>
			</author>
			<updated>2015-06-21T10:25:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94665#p94665</id>
		</entry>
</feed>
