<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: При компиляции AHK перестает работать команды cmd]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17298&amp;type=atom" />
	<updated>2022-08-11T02:53:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17298</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154327#p154327" />
			<content type="html"><![CDATA[<p>Я тут разобрался, спс за наводки.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-11T02:53:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154327#p154327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154295#p154295" />
			<content type="html"><![CDATA[<p>Готово.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-10T08:07:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154295#p154295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154294#p154294" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Logonius пишет:</cite><blockquote><p>Извиняюсь за отсутствие</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-10T07:50:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154294#p154294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154293#p154293" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Сразу же убрал смайл и проверил все, больше вроде бы нет.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-10T01:56:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154293#p154293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154292#p154292" />
			<content type="html"><![CDATA[<p>Исправьте в предыдущих постах.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-10T00:59:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154292#p154292</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154291#p154291" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Хорошо.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-09T23:37:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154291#p154291</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154287#p154287" />
			<content type="html"><![CDATA[<p><strong>Logonius</strong>, пожалуйста, используйте точки в конце предложений. Смайлик точку не заменяет.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-09T14:27:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154287#p154287</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154286#p154286" />
			<content type="html"><![CDATA[<p>Извиняюсь за отсутствие.<br />Как добавить переменную &quot;Edit&quot;, я что-то не пойму, с минутами/секундами разобрался.<br /></p><div class="codebox"><pre><code>
SetTimer, test, % (1*60*1000)

	return
}

test:
{
	MsgBox, Ок
	return
}
</code></pre></div><p>Как вместо 1 чтоб туда писалось то что я введу в GUI &quot;Edit&quot; переменную.<br />Плоховато знаю AHK, извиняюсь.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-09T13:43:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154286#p154286</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154266#p154266" />
			<content type="html"><![CDATA[<p><strong>Logonius</strong><br />А что сложного перевести мс в секунды?<br />Можно еще в планировщик заданий засунуть таймер на выключение в любое время.<br />К примеру вы указали через 6 минут, значит перевести переменную в МЛС, перевести время на Винде в МЛС, прибавить одну переменную к текущему времени и готовое поместить в планировщик или тот же cmd.</p>]]></content>
			<author>
				<name><![CDATA[Clannad5]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39853</uri>
			</author>
			<updated>2022-08-08T08:52:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154266#p154266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154262#p154262" />
			<content type="html"><![CDATA[<p>Умножьте время в минутах на 60000.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-08T08:45:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154262#p154262</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154259#p154259" />
			<content type="html"><![CDATA[<p>Есть &quot;Edit&quot; переменная, мне нужно в нее вводить желательно минуты(нажать enter) окно должно спрятаться или просто в диспетчере висеть, но чтоб не видно было ни на панели, ни в трее, и чтоб по истечении этих минут, ПК выключался, выходил из системы и т.д., а штатными средствами можно только в млс это сделать или в секундах.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-08T08:11:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154259#p154259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154258#p154258" />
			<content type="html"><![CDATA[<p>Не очень понял, что за textbox и какие именно данные?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-08T08:07:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154258#p154258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154256#p154256" />
			<content type="html"><![CDATA[<p>А черт его знает, что-то вот захотелось посложней.<br />Да и таймер я там и не понял как поставить чтоб в textbox вводить не в млс, а в минутах или в секундах как средствами windows.<br />Подскажите пример как в минутах чтоб было.</p><p>То есть если средствами ahk, то мне нужно чтоб перед Shutdown, 6&nbsp; в переменную textbox вводились данные в минутах(желательно) ну можно в секундах.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-08T08:02:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154256#p154256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154255#p154255" />
			<content type="html"><![CDATA[<p>Честно говоря лень пробовать. А зачем использовать cmd в данном случае, чем лучше встроенной команды?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-08T07:56:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154255#p154255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: При компиляции AHK перестает работать команды cmd]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154253#p154253" />
			<content type="html"><![CDATA[<p>Привет.<br />При компиляции AHK перестает работать команды cmd, просто ahk файл если запускать то все работает ок.<br />Как только я его собираю все перестает работать<br />Код простой.</p><div class="codebox"><pre><code>Run, cmd.exe /c shutdown -s -t %sec%,, hide
	sleep 2000
	ExitApp
	return
</code></pre></div><p>В чем проблема?</p><p>Если вставить в код чтоб экземпляр не запускался по 100 раз.<br /></p><div class="codebox"><pre><code>#SingleInstance Ignore</code></pre></div><p>В собранном состоянии exe файл, будет просто перезапускаться и cmd не выполняет.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-08T05:10:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154253#p154253</id>
		</entry>
</feed>
