<?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=7227&amp;type=atom" />
	<updated>2012-05-23T17:06:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7227</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вывод на экран значения переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=60453#p60453" />
			<content type="html"><![CDATA[<p>Огромное спасибки.<br />Никогда не приходилось работать с &quot;GUI&quot;.Думаю ещё возникнет масса вопросов на этот счёт;)</p>]]></content>
			<author>
				<name><![CDATA[Gabe_#33]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27760</uri>
			</author>
			<updated>2012-05-23T17:06:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=60453#p60453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Вывод на экран значения переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=60448#p60448" />
			<content type="html"><![CDATA[<p>Из справки&nbsp; AHK_L:<br /></p><div class="codebox"><pre><code>CustomColor = EEAA99  ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow  ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color, %CustomColor%
Gui, Font, s32  ; Set a large font size (32-point).
Gui, Add, Text, vMyText cLime, XXXXX YYYYY  ; XX &amp; YY serve to auto-size the window.
; Make all pixels of this color transparent and make the text itself translucent (150):
WinSet, TransColor, %CustomColor% 150
SetTimer, UpdateOSD, 200
Gosub, UpdateOSD  ; Make the first update immediate rather than waiting for the timer.
Gui, Show, x0 y400 NoActivate  ; NoActivate avoids deactivating the currently active window.
return

UpdateOSD:
MouseGetPos, MouseX, MouseY
GuiControl,, MyText, X%MouseX%, Y%MouseY%
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-05-23T06:26:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=60448#p60448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Вывод на экран значения переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=60447#p60447" />
			<content type="html"><![CDATA[<p>Есть скрипт</p><div class="codebox"><pre><code>SetTimer,AUTOaD,20
Return

AUTOaD:
{
	Global a4c1

 WinGet, BF2, id, BF2
 DllCall(&quot;GetWindowThreadProcessId&quot; , &quot;int&quot;, BF2
 , &quot;UInt *&quot;, PID
 , &quot;UInt&quot;) 

 ProcessHandle := DllCall(&quot;OpenProcess&quot; , &quot;int&quot;, 2035711
 , &quot;char&quot;, 3
 , &quot;UInt&quot;, PID
 , &quot;UInt&quot;) 
 
 	SetFormat, Integer, H

 DllCall(&quot;ReadProcessMemory&quot; , &quot;UInt&quot;, ProcessHandle
 , &quot;UInt&quot;, 0x009903F0
 , &quot;Uint*&quot;, a4c1
 , &quot;Uint&quot;, 8
 , &quot;Uint*&quot;, 0)

  DllCall(&quot;CloseHandle&quot; , &quot;int&quot;, ProcessHandle)
}
Return</code></pre></div><p>Как сделать так что бы значение переменной - &quot;a4c1&quot; выводилось на экран?<br />Что бы фон окна был прозрачным и было только содержимое переменной. <br />Шрифт,размер текста и цвет что бы можно было настраивать.<br />И главно что бы оно было поверх всех окон.</p>]]></content>
			<author>
				<name><![CDATA[Gabe_#33]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27760</uri>
			</author>
			<updated>2012-05-23T02:45:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=60447#p60447</id>
		</entry>
</feed>
