<?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=8726&amp;type=atom" />
	<updated>2013-10-04T10:49:06Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8726</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75741#p75741" />
			<content type="html"><![CDATA[<p>Неужели не кто не поможет? Я готов даже заплатить&gt;&lt;</p>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-04T10:49:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75741#p75741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75731#p75731" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Ну так ToolTip показывает совпадение?</p></blockquote></div><p>Получается что у меня скрипт не срабатывает когда я именно в окне программы, как только я кликаю на рабочий стол скрипт срабатывает<br />Т.е как я понимаю что при активности в окне самой программе пиксель не находит, как только я мышкой перехожу на рабочий стол, то скрипт находит данный пиксель, както так, и что делать не знаю:(</p>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-04T10:02:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75731#p75731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75729#p75729" />
			<content type="html"><![CDATA[<p>Ну так ToolTip показывает совпадение?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-10-04T09:49:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75729#p75729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75728#p75728" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><div class="codebox"><pre><code>
get_x := 1130, get_y := 732
   
    Loop  
    { 
        PixelGetColor, Color, %get_x%, %get_y% 
        ToolTip % Color
        if (Color = 0x4F7D68) 
        { 
            sleep, 200 
            send, {SPACE down}
            sleep, 50
            send, {SPACE up} 
            sleep, 150
        } 
        sleep, 50
    }
</code></pre></div></blockquote></div><br /><p>И так тоже не работает<br /></p><div class="codebox"><pre><code>
#SingleInstance force
^!o:: Pause

$F4::    
   


get_x := 1266, get_y := 398
   
    Loop  
    { 
        PixelGetColor, Color, %get_x%, %get_y% 
        ToolTip % Color
        if (Color = 0x5A9E18) 
        { 
            sleep, 200 
            send, {SPACE down}
            sleep, 50
            send, {SPACE up} 
            sleep, 150
        } 
        sleep, 50
   }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-04T09:44:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75728#p75728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75727#p75727" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
get_x := 1130, get_y := 732
   
    Loop  
    { 
        PixelGetColor, Color, %get_x%, %get_y% 
        ToolTip % Color
        if (Color = 0x4F7D68) 
        { 
            sleep, 200 
            send, {SPACE down}
            sleep, 50
            send, {SPACE up} 
            sleep, 150
        } 
        sleep, 50
    }
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-10-04T09:39:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75727#p75727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75725#p75725" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><div class="codebox"><pre><code>
#SingleInstance force
get_x := 1130, get_y := 732

^!o:: Pause

$F4::    
    Loop  
    { 
        PixelGetColor, Color, %get_x%, %get_y% 
        if Color == 0x4F7D68 
        { 
            sleep, 200 
            send, {SPACE down}
            sleep, 50
            send, {SPACE up} 
            sleep, 150
        } 
        sleep, 50
    }
</code></pre></div></blockquote></div><p>Не работает:(</p>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-04T09:33:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75725#p75725</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75719#p75719" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
#SingleInstance force
get_x := 1130, get_y := 732

^!o:: Pause

$F4::    
    Loop  
    { 
        PixelGetColor, Color, %get_x%, %get_y% 
        if Color == 0x4F7D68 
        { 
            sleep, 200 
            send, {SPACE down}
            sleep, 50
            send, {SPACE up} 
            sleep, 150
        } 
        sleep, 50
    }
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-10-04T09:10:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75719#p75719</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75715#p75715" />
			<content type="html"><![CDATA[<p>Что я только не пробовал, не получается у меня:((( Ведь 100% дело в какой-то мелочи, подскажите пожалуйста</p>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-04T06:51:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75715#p75715</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75711#p75711" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>andrej</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-10-03T22:23:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75711#p75711</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Фиксация пикселя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75710#p75710" />
			<content type="html"><![CDATA[<p>Пожалуйста помогите, я уже голову сломал.<br />Скрипт находит нужный пиксель и начинает жать пробел, но проблема в том, что когда данного пикселя нет, скрипт продолжает нажимать пробел, а мне нужно чтобы он ждал снова появление данного пикселя и только тогда нажимал пробел</p><br /><div class="codebox"><pre><code>
#SingleInstance force
^!o::Pause
$F4::  ; Make the F1 key into a hotkey (the $ symbol facilitates the &quot;P&quot; mode of GetKeyState below).
Loop  ; Since no number is specified with it, this is an infinite loop unless &quot;break&quot; or &quot;return&quot; is encountered inside.
{
get_x = 1130 

get_y = 732

PixelGetColor, Color, %get_x%, %get_y% 
if Color == 0x4F7D68 
 
   
     sleep, 200

send, {SPACE down}
sleep, 50
send, {SPACE up}

sleep, 200


}

return
</code></pre></div><p>Помогите пожалуйста, очень жду ответ, что не так&gt;&lt;</p>]]></content>
			<author>
				<name><![CDATA[andrej]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30871</uri>
			</author>
			<updated>2013-10-03T22:22:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75710#p75710</id>
		</entry>
</feed>
