<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=8946&amp;type=atom" />
	<updated>2013-11-27T19:28:48Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=8946</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77648#p77648" />
			<content type="html"><![CDATA[<p>Спасибо большое!, то что доктор прописал <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[shnec]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=29240</uri>
			</author>
			<updated>2013-11-27T19:28:48Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77648#p77648</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77647#p77647" />
			<content type="html"><![CDATA[<p>Вот так даже лучше:<br /></p><div class="codebox"><pre><code>ProcessName := &quot;notepad.exe&quot;
if (Processes := ComObjGet(&quot;winmgmts:&quot;).ExecQuery(&quot;Select * from Win32_Process Where Name = &#039;&quot; ProcessName &quot;&#039;&quot;)).count = 0
{
   MsgBox, Процесс с именем %ProcessName% не найден
   return
}

for k in Processes
   MsgBox, % Memory := k.WorkingSetSize//1024</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-11-27T19:23:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77647#p77647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77643#p77643" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>ProcessName := &quot;notepad.exe&quot;
Processes := ComObjGet(&quot;winmgmts:&quot;).ExecQuery(&quot;Select * from Win32_Process Where Name = &#039;&quot; ProcessName &quot;&#039;&quot;)

Memory := &quot;&quot;
for k in Processes
   MsgBox, % Memory := k.WorkingSetSize//1024

if (Memory = &quot;&quot;)
   MsgBox, Процесс с именем %ProcessName% не найден</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-11-27T19:09:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77643#p77643</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77641#p77641" />
			<content type="html"><![CDATA[<p>Память одного процесса нужна, если их несколько одинаковых, то циклом буду определять значение каждого. (В моем случае это будет только один процесс)</p>]]></content>
			<author>
				<name><![CDATA[shnec]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=29240</uri>
			</author>
			<updated>2013-11-27T18:56:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77641#p77641</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77639#p77639" />
			<content type="html"><![CDATA[<p>А нужна только память одного из процессов с именем notepad.exe, или всех (их ведь много может быть с одинаковым именем)?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-11-27T18:37:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77639#p77639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77637#p77637" />
			<content type="html"><![CDATA[<p>Хотелось бы получать в переменную, значение из столбца &quot;ПАМЯТЬ&quot; (та что используемая)</p>]]></content>
			<author>
				<name><![CDATA[shnec]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=29240</uri>
			</author>
			<updated>2013-11-27T18:32:09Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77637#p77637</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77636#p77636" />
			<content type="html"><![CDATA[<p><strong>shnec</strong>, а что конкретно Вы понимаете под памятью процесса? Откройте диспетчер задач и уточните, какой именно столбец Вас интересует.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-11-27T18:26:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77636#p77636</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Определение размера памяти процесса]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77632#p77632" />
			<content type="html"><![CDATA[<p>Ув. знатоки, подскажите пожалуйста как получить размер памяти существующего процесса по его имени. (notepad.exe например)</p>]]></content>
			<author>
				<name><![CDATA[shnec]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=29240</uri>
			</author>
			<updated>2013-11-27T18:11:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77632#p77632</id>
		</entry>
</feed>
