<?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=10903&amp;type=atom" />
	<updated>2015-08-25T12:26:28Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10903</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: [Решен] Замена Команды в текстовый документ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=96805#p96805" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>lukas_endigo_91</strong>, у нас принято пользоваться заглавными буквами и знаками препинания. Отредактируйте свои посты.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-08-25T12:26:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=96805#p96805</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: [Решен] Замена Команды в текстовый документ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=96804#p96804" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikva пишет:</cite><blockquote><p><a href="http://www.script-coding.com/AutoHotkey/Include.html">#Include наверное то, что вы хотите.</a></p></blockquote></div><p>Воо это то что нужно, спасибо за ответ и оперативность.<br />Код получился следующий<br /></p><div class="quotebox"><blockquote><p>i3:<br />#Include %A_ScriptDir%\Script\i01.ahk<br />return</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[lukas_endigo_91]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33312</uri>
			</author>
			<updated>2015-08-25T11:51:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=96804#p96804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: [Решен] Замена Команды в текстовый документ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=96803#p96803" />
			<content type="html"><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/IniRead.html">Чтение значения параметра из INI-файла стандартного формата,</a><br />или<br /><a href="http://www.script-coding.com/AutoHotkey/FileRead.html">Чтение файла в переменную.</a><br /><a href="http://www.script-coding.com/AutoHotkey/FileReadLine.html">Тоже чтение файла, но построчно.</a><br /><a href="http://www.script-coding.com/AutoHotkey/Include.html">#Include наверное то, что вы хотите.</a></p>]]></content>
			<author>
				<name><![CDATA[Nikva]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27416</uri>
			</author>
			<updated>2015-08-25T11:23:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=96803#p96803</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: [Решен] Замена Команды в текстовый документ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=96802#p96802" />
			<content type="html"><![CDATA[<p>Доброе время суток, помогите пожалуйста разобраться.<br /><strong>Суть проблемы</strong>, имеется код:<br /></p><div class="codebox"><pre><code>i3:
MouseGetPos, lx, ty
lx1:=lx/2
ty1:=ty/2
WinGetPos, lxW, tyW, w, h
w1:=w/2
h1:=h/2
;ac1:=+w/2
lxW1:=lx-lxW+w/2
;MsgBox, Текущая позиция мышки `n   left = %lx%    [%lx1%] `n   top  = %ty%   [%ty1%]`nТекущие размеры окна  `n   width  = %w%   [%w1%] `n   heigh  = %h%    [%h1%]`n`nРасчет`n   %ac1%
MouseMove, %lxW1%, %ty%
return</code></pre></div><p>Находиться он в самом .ahk файле.<br /><strong>А теперь вопрос</strong>, как я могу указать в файле так, что-бы сам код i3: считывался не с .ahk файла, а с текстового документа который находиться рядом?</p>]]></content>
			<author>
				<name><![CDATA[lukas_endigo_91]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33312</uri>
			</author>
			<updated>2015-08-25T11:01:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=96802#p96802</id>
		</entry>
</feed>
