<?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=5049&amp;type=atom" />
	<updated>2010-10-18T08:29:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5049</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск команды из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40535#p40535" />
			<content type="html"><![CDATA[<p>Спасибо</p>]]></content>
			<author>
				<name><![CDATA[ROLF]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26331</uri>
			</author>
			<updated>2010-10-18T08:29:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40535#p40535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск команды из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40529#p40529" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=4893">http://forum.script-coding.com/viewtopic.php?id=4893</a></p>]]></content>
			<author>
				<name><![CDATA[armenxxx1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26102</uri>
			</author>
			<updated>2010-10-17T18:22:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40529#p40529</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск команды из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40528#p40528" />
			<content type="html"><![CDATA[<p>Можно, только создав дополнительный временный ahk-файл.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-10-17T18:21:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40528#p40528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск команды из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40524#p40524" />
			<content type="html"><![CDATA[<p>Прочитать из файла команду на языке AutoHotkey и выполнить? Нет, невозможно.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2010-10-17T17:20:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40524#p40524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Запуск команды из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40521#p40521" />
			<content type="html"><![CDATA[<p>Считаю возможным сделать так чтобы команда выполнялась из файла который в директории скрипта, но никак не получается это сделать, нужна эта сложность, чтобы список команд в файле можно было пополнять<br /></p><div class="codebox"><pre><code>FileInstall, cmd, %A_ScriptDir%\cmd.txt, 1
FileInstall, res, %A_ScriptDir%\res.txt, 1
FileRead, OutputVar, cmd, %A_ScriptDir%\cmd.txt
FileRead, OutputVar, res, %A_ScriptDir%\res.txt
InputBox, res,Введите разрешение экрана, Введите разрешение экрана (ширина, высота), 300,160

InputBox, app,Введите что нужно выполнить, Введите что нужно выполнить, 380,160</code></pre></div><p>Дальше пробовал по-разному, app:=cmd и др., просто смешно, вроде знаю как, ничего сложно не должно быть, но не получается <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Можно ли так сделать?</p>]]></content>
			<author>
				<name><![CDATA[ROLF]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26331</uri>
			</author>
			<updated>2010-10-17T16:29:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40521#p40521</id>
		</entry>
</feed>
