<?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=5358&amp;type=atom" />
	<updated>2011-01-18T03:52:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5358</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43996#p43996" />
			<content type="html"><![CDATA[<p>Это Вы меня не поняли. Проверяйте состояние Шифта перед кликом и не кликайте, пока он не отпущен. С Шифтом взаимодействует не скрипт, а окно. Скрипт честно посылает то, что Вы в нём прописали. Собственно, удобнее использовать KeyWait, а не GetKeyState. Думаю, достаточно отслеживать Shift, Ctrl, Alt, остальные влиять не должны.</p><p>Ну а если я таки Вас не понял, объясните, что именно я не понял.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2011-01-18T03:52:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43996#p43996</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43972#p43972" />
			<content type="html"><![CDATA[<p>Понятно, вы меня не поняли</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-17T18:24:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43972#p43972</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43934#p43934" />
			<content type="html"><![CDATA[<p>Состояние Шифта можно проверить через GetKeyState, как и любой другой клавиши. Вы справку совсем не читаете, что ли? Просто пробежавшись по названиям команд и функций, можно многое узнать. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2011-01-17T13:14:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43934#p43934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43933#p43933" />
			<content type="html"><![CDATA[<p>Кто нибудь ответит?</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-17T12:56:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43933#p43933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43850#p43850" />
			<content type="html"><![CDATA[<p>Вообщем я справился с этим, но со временем возникла следущая проблема:<br />Этот клик каждые 5 секунд нажимает определенную ссылку, но иногда когда я работаю с другим браузером или вообще приложениями, то нажимаю клавиши например шифт и если нажатие совпало с кликом мне открывается другое окно браузера, что мне очень не нужно. Как сделать чтобы этот скрипт не взаимодействовал с клавишами?</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-16T05:49:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43850#p43850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43729#p43729" />
			<content type="html"><![CDATA[<p>Ничего не понял. объясните подробнее.<br />В том коде, для которого вы просите есть следующее:<br />1. активация цикла при нажатии home<br />2. в цикле:<br />&nbsp; &nbsp; 2.а клик по коррдинате x433 y124<br />&nbsp; &nbsp; 2.б sleep 5 - 5.5 сек</p><p>Распишите, что должно быть в итоге.</p>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-01-14T09:58:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43729#p43729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43690#p43690" />
			<content type="html"><![CDATA[<p>Нет, я не знаю как это сделать, пожалуйста, помогите</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-13T19:36:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43690#p43690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43689#p43689" />
			<content type="html"><![CDATA[<p><strong>Dizzy221</strong>, Вы повторяетесь…</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-01-13T19:32:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43689#p43689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43688#p43688" />
			<content type="html"><![CDATA[<p>вот к этому коду:<br /></p><div class="codebox"><pre><code>Home::
loop:
ControlClick, x433 y124, ahk_class MozillaUIWindowClass
Random, rand, 0, 500
sleep % 5000+rand
Goto, loop
return</code></pre></div><p>Последний раз попрошу кое что сделать, </p><p>Он беудет допустим кликать random 50-60 кликов в одни координаты, затем клик в другой координат, через 5 сек еще раз в другой, потом опять в другой (все через 5 сек) и опять и всё заново) как сделать ? пожалйста)</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-13T19:21:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43688#p43688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43532#p43532" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Home::
   Random, Click, 80, 100
   Loop %Click%
   {
      ControlClick, x433 y124, ahk_class MozillaUIWindowClass
      Random, Rand, 0, 500
      sleep % 5000 + Rand
   }
   Random, Rand, 30000, 40000
   sleep %Rand%
   goto Home
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-01-11T08:51:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43532#p43532</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43526#p43526" />
			<content type="html"><![CDATA[<p>вот к этому коду:<br /></p><div class="codebox"><pre><code>Home::
loop:
ControlClick, x433 y124, ahk_class MozillaUIWindowClass
Random, rand, 0, 500
sleep % 5000+rand
Goto, loop
return</code></pre></div><p>Последний раз попрошу кое что сделать, вот он каждые 5 сек кликает в определенные место, мне нужно чтобы через каждые 80-100 кликов (random) он останавливался на 30-40 сек (random) а потом опять по кругу, это можно сделать?:rolleyes:</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-11T04:42:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43526#p43526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43502#p43502" />
			<content type="html"><![CDATA[<p><strong>Спасибо:D</strong></p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-10T10:56:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43502#p43502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43496#p43496" />
			<content type="html"><![CDATA[<p>У вас опять скрипт не правильный. После sleep должен стоять знак процента, указыватя на то, что далее идет выражение, а не текст.<br />Координаты X, Y поставите свои, Ahk_class тоже свой.<br /></p><div class="codebox"><pre><code>Home::
loop:
ControlClick, x433 y124, ahk_class MozillaUIWindowClass
Random, rand, 0, 500
sleep % 5000+rand
Goto, loop
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-01-10T08:11:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43496#p43496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43493#p43493" />
			<content type="html"><![CDATA[<p>Только как сделать, чтобы он кликал также как и тут:<br /></p><div class="codebox"><pre><code>Home::
loop:
MouseClick, Left
Random, rand, 0, 500
sleep 5000+rand
Goto, loop
return</code></pre></div><p>То есть каждые 5 секунд, плюс rand время пол секунды?)</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-10T05:29:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43493#p43493</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Клик мышкой в определенном окне браузера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=43492#p43492" />
			<content type="html"><![CDATA[<p>Великое спасибо <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Всё работает</p>]]></content>
			<author>
				<name><![CDATA[Dizzy221]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26614</uri>
			</author>
			<updated>2011-01-10T05:23:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=43492#p43492</id>
		</entry>
</feed>
