<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBScript: Скриншот экрана]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=8040</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8040&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBScript: Скриншот экрана».]]></description>
		<lastBuildDate>Tue, 05 Feb 2013 13:04:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBScript: Скриншот экрана]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=69119#p69119</link>
			<description><![CDATA[<p>Спасибо. Получилось</p>]]></description>
			<author><![CDATA[null@example.com (ufik007)]]></author>
			<pubDate>Tue, 05 Feb 2013 13:04:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=69119#p69119</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBScript: Скриншот экрана]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=69097#p69097</link>
			<description><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx">SendKeys Method</a>:<br /></p><div class="quotebox"><blockquote><p><strong>Note:</strong> You cannot send the PRINT SCREEN key {PRTSC} to an application.</p></blockquote></div><p><a href="http://www.jsware.net/jsware/compfiles.php5#draw">JSWare - VBScript - Samples and Components</a><br /></p><div class="quotebox"><blockquote><p><strong>Method Capture(FilePath, Left, Top, Width, Height)</strong><br />• Saves a screen capture as BMP file.<br />ex: ob.Capture &quot;C:\pic.bmp&quot;, 100, 100, 300, 400</p><p>FilePath is path of BMP file to be created.<br />Left, Top, Width, Height reference dimensions and location<br />of Desktop area to capture.</p><p>Capture saves all or part of the current screen image as a BMP file.<br />Use Left and Top for X,Y coordinates of topleft pixel in image.<br />&nbsp; &nbsp; For entire desktop use:<br />&nbsp; &nbsp; boo = ob.GetDesktopSize(w, h)<br />&nbsp; &nbsp; ob.Capture sFilePath, 0, 0, w, h</p><p>If FilePath does not end in &quot;.bmp&quot; then &quot;.bmp&quot; will be appended.<br />If FilePath exists Capture will not overwrite it.<br />The Capture method can be used to save a copy of graphics drawn onscreen.</p><p>Note: Capture is not a drawing method. The coordinates do not<br />correspond to the current canvas but rather to the Desktop. To capture<br />current drawing set parameters to canvas coordinates.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Mon, 04 Feb 2013 13:44:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=69097#p69097</guid>
		</item>
		<item>
			<title><![CDATA[VBScript: Скриншот экрана]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=69095#p69095</link>
			<description><![CDATA[<p>Привет всем. Помогите кто может. Нужно программно сделать printscreen экрана. Казалось бы просто.<br /></p><div class="codebox"><pre><code>Option Explicit

Dim WshShell  
Set WshShell = WScript.CreateObject(&quot;WScript.Shell&quot;)

WshShell.SendKeys &quot;{PRTSC}&quot;</code></pre></div><p>Но почему то не работает. Подставлял CapsLock и Scroll Lock - все фурычит.</p>]]></description>
			<author><![CDATA[null@example.com (ufik007)]]></author>
			<pubDate>Mon, 04 Feb 2013 11:58:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=69095#p69095</guid>
		</item>
	</channel>
</rss>
