<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; графический таймер]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14113&amp;type=atom" />
	<updated>2018-09-17T08:23:22Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14113</id>
		<entry>
			<title type="html"><![CDATA[Re: графический таймер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128740#p128740" />
			<content type="html"><![CDATA[<p><strong>zhen13ko</strong> Как вариант включать скрипт и прятать сам таймер с экрана и по кнопке его перемещать в нужную область. <br /></p><div class="codebox"><pre><code>	a1 := a2 := 10
	gui, font, s100, impact
	gui -caption +alwaysontop +lastfound 
    gui color, 0x1c9900
		winset, transcolor, 0x1c9900
	gui add, text, vtext  center, % a1
	gui show
	WinMove, timer2.ahk, , 50000, 50000 ; убираем подальше с экрана
	f1::
    WinMove, timer2.ahk, , 500, 500    ; координаты где будет отображаться таймер
	picture:  
	
		guicontrol,, text, % a2--
		settimer, % a2 = 0 ? &quot;hide&quot; : &quot;picture&quot;, -1000
		return
		
		
	hide:
    	WinMove, timer2.ahk, , 50000, 50000   ; опять прячем
        		a1 := a2 := 10
        return</code></pre></div><p>Там где оператор WinMove значение &quot;timer2.ahk&quot; надо писать такое так название вашего файла со скриптом, так как оно и будет заголовком окна.<br />Ну или такой вариант.<br /></p><div class="codebox"><pre><code>	a:=10
    gui, font, s100, impact
	gui  +alwaysontop +lastfound  -caption
    gui color, 0x1c9900
	winset, transcolor, 0x1c9900
    gui add, text, vtext center, 10
    gui show
    WinMove, timer.ahk, , 10000, 10000
    
    F1::
    WinMove, timer.ahk, , 500, 500
    loop 10
    {
    guicontrol,, text, % a--
    sleep 1000
    }
    WinMove, timer.ahk, , 10000, 10000
    a:=10
    return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2018-09-17T08:23:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128740#p128740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: графический таймер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128656#p128656" />
			<content type="html"><![CDATA[<p><strong>zpcxjwhy</strong><br />Спасибо за таймер. А как сделать чтобы игра при этом не сворачивалась?</p>]]></content>
			<author>
				<name><![CDATA[zhen13ko]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39520</uri>
			</author>
			<updated>2018-09-12T08:35:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128656#p128656</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: графический таймер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128260#p128260" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
		a1 := a2 := 10
	
	gui, font, s100, impact
	
	gui -caption +alwaysontop +lastfound 
	
	; caption убрать рамку с кнопками ластфаунд
	; lastfound прозрачный фон для текста 
	
	gui color, 0x1c9900
	
		winset, transcolor, 0x1c9900
	
	gui add, text, vtext  center, % a1
	
	gui show
		
		
	picture:  
	
		guicontrol,, text, % a2--
		settimer, % a2 = 0 ? &quot;hide&quot; : &quot;picture&quot;, -1000
		return
		
		
	hide:
	
		gui hide 
		return 
		
		f1::reload</code></pre></div><p>низачто кнтр ц контр в и все робит и без чсв модеров</p>]]></content>
			<author>
				<name><![CDATA[zpcxjwhy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39481</uri>
			</author>
			<updated>2018-08-25T12:02:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128260#p128260</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: графический таймер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128259#p128259" />
			<content type="html"><![CDATA[<p>спасибо второй год просил самое простое показать<br /></p><div class="codebox"><pre><code>
		a1 := a2 := 10
	
	gui, font, s100, impact 
	
	gui -caption +alwaysontop +lastfound 
	
	; caption убрать рамку с кнопками ластфаунд
	; lastfound прозрачный фон для текста 
	
	gui color, 0x1c9900
	
		winset, transcolor, 0x1c9900
	
	gui add, text, vtext cdbc935 center, % a1
	
	gui show, na x5 y5 
		
		
	picture:  
	
		guicontrol,, text, % a2--
		settimer, % a2 = 0 ? &quot;hide&quot; : &quot;picture&quot;, -1000
		return
		
	hide:
	
		gui hide 
		return 
		
		f1::reload</code></pre></div>]]></content>
			<author>
				<name><![CDATA[zpcxjwhy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39481</uri>
			</author>
			<updated>2018-08-25T11:57:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128259#p128259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[графический таймер]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128257#p128257" />
			<content type="html"><![CDATA[<p>напишите код простого отсчета от 10 до 0 например</p>]]></content>
			<author>
				<name><![CDATA[zpcxjwhy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39481</uri>
			</author>
			<updated>2018-08-25T11:27:06Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128257#p128257</id>
		</entry>
</feed>
