<?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=11036&amp;type=atom" />
	<updated>2015-10-27T18:38:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11036</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98361#p98361" />
			<content type="html"><![CDATA[<p>Приятно когда есть у кого учиться)))<br />Спасибо тебе.</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T18:38:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98361#p98361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98359#p98359" />
			<content type="html"><![CDATA[<p>Вот как должен выглядеть код, чтоб в нем было легко разобраться:<br /></p><div class="codebox"><pre><code>F2::
loop
{
  loop 54 ; 36 циклов равняется 30-и минутам... наверно... значит нужно: 36/30*45=54 цикла.
  {
    sleep 1050
    ControlSend  ahk_parent, {shift down}7{shift up}, - ArcheAge -,
    sleep 3100
    ControlSend  ahk_parent, {7 down}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {7 up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, 7, - ArcheAge -,
    sleep 1550
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 1, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 1, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 1100
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 2, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 2, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 1325
    ControlSend  ahk_parent, {0 down}, - ArcheAge -,
    sleep 25
    ControlSend  ahk_parent, {0 up}, - ArcheAge -,
    sleep 25
    ControlSend  ahk_parent, 0, - ArcheAge -,

    loop 27
    {
      ControlSend  ahk_parent, {- down}, - ArcheAge -,
      sleep 362
      ControlSend  ahk_parent, {- up}, - ArcheAge -,
    }

    loop 11
    {
      ControlSend  ahk_parent, {- down}, - ArcheAge -,
      sleep 400
      ControlSend  ahk_parent, {- up}, - ArcheAge -,
      sleep 10
      ControlSend  ahk_parent, {f8}, - ArcheAge -,
      sleep 52
    }

    sleep 1050
      ; 20000
    ControlSend  ahk_parent, {7 down}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {7 up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, 7, - ArcheAge -,
    sleep 1550
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 1, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 1, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 1100
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 2, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 50
    ControlSend  ahk_parent, {shift down}, - ArcheAge -,
    ControlSend  ahk_parent, 2, - ArcheAge -,
    ControlSend  ahk_parent, {shift up}, - ArcheAge -,
    sleep 1025
    ControlSend  ahk_parent, {0 down}, - ArcheAge -,
    sleep 25
    ControlSend  ahk_parent, {0 up}, - ArcheAge -,
    sleep 25
    ControlSend  ahk_parent, 0, - ArcheAge -,

    loop 21
    {
      ControlSend  ahk_parent, {- down}, - ArcheAge -,
      sleep 362
      ControlSend  ahk_parent, {- up}, - ArcheAge -,
    }
    ControlSend  ahk_parent, {left down}, - ArcheAge -,
    loop 7
    {
      ControlSend  ahk_parent, {- down}, - ArcheAge -,
      sleep 362
      ControlSend  ahk_parent, {- up}, - ArcheAge -,
    }
    ControlSend  ahk_parent, {left up}, - ArcheAge -,
    loop 13
    {
      ControlSend  ahk_parent, {- down}, - ArcheAge -,
      sleep 400
      ControlSend  ahk_parent, {- up}, - ArcheAge -,
      sleep 10
      ControlSend  ahk_parent, {f8}, - ArcheAge -,
      sleep 52
    }
  }
  sleep 1050
  ControlSend  ahk_parent, {shift down}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {=}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {shift up}, - ArcheAge -,
  sleep 1050
  ControlSend  ahk_parent, {shift down}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {-}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {shift up}, - ArcheAge -,
  sleep 1050
  ControlSend  ahk_parent, {shift down}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {0}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {shift up}, - ArcheAge -,
  sleep 1050
  ControlSend  ahk_parent, {shift down}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {9}, - ArcheAge -,
  sleep 50
  ControlSend  ahk_parent, {shift up}, - ArcheAge -,
}

F11::Pause, toggle

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-10-27T18:18:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98359#p98359</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98355#p98355" />
			<content type="html"><![CDATA[<p>Сейчас посмотрим))</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T18:02:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98355#p98355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98354#p98354" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bass06 пишет:</cite><blockquote><p>Так понятно?</p></blockquote></div><p>Уже лучше.</p><p>Попробуй заменить:<br /></p><div class="codebox"><pre><code>sleep 1050
</code></pre></div><p>на <br /></p><div class="codebox"><pre><code>sleep 1000*900
</code></pre></div><p>Предложения с заглавной буквы писать еще осталось тебя научить...</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-10-27T17:59:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98354#p98354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98351#p98351" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>sleep 1050
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {=}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,</code></pre></div><p>вот этот код клавиша Шифт+=<br />она срабатывает после того как запустишь скрипт каждые 30 минут, мне надо что бы она нажималась каждые 45 минут. Так понятно?</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T17:51:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98351#p98351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98347#p98347" />
			<content type="html"><![CDATA[<p>Если уж я тебя не понимаю, то тебе здесь вряд-ли кто-то поможет. Изъясняйся яснее. И поставь хоть 1 точку. Чего 30, куда 30?...</p><div class="quotebox"><cite>Bass06 пишет:</cite><blockquote><p>... я код скопировал, потому что там нет sleep на 30 мин, а нажимается через 30 <strong>слонов</strong>, мне надо 45 <strong>квадратов</strong>?</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-10-27T17:47:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98347#p98347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98346#p98346" />
			<content type="html"><![CDATA[<p>я код скопировал, потому что там нет sleep на 30 мин, а нажимается через 30, мне надо 45</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T17:45:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98346#p98346</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98343#p98343" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bass06 пишет:</cite><blockquote><p>я в этом нуб</p></blockquote></div><p> Знаки припинания расставь, а то модератор тебя забанит.<br />&quot;<a href="http://www.script-coding.com/AutoHotkey/Sleep.html">Sleep</a>&quot; - это задержка в миллисекундах, в математике то ты не нуб? Или я ошибаюсь... <span style="color: #eeeeee">Извиняюсь за грубость.</span></p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-10-27T17:42:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98343#p98343</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98338#p98338" />
			<content type="html"><![CDATA[<p>я в этом нуб, потому скопировал все для тех кто понимает, тот участок кнопки шифт+= и т.д. нажимаются 30 мин 1 раз мне надо сделать 45 мин 1 раз, где надо что поменять скажите пожалуйста</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T17:28:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98338#p98338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98309#p98309" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=5421">Супер-тема, заходите — не пожалеете</a><br /><a href="http://forum.script-coding.com/viewtopic.php?id=6148">Обязательно прочитать перед созданием темы!</a></p><ul><li><p>Если Ваш вопрос касается автоматизации игр, задавайте его в <a href="http://forum.script-coding.com/viewforum.php?id=27">соответствующей ветке</a>, не создавайте тему здесь.</p></li></ul><p>И уточните вопрос:<br />Как именно, тот участок кода должен повторяться.<br />К примеру можно просто поставить 15ти минутную задержку прямо перед ним.<br /></p><div class="codebox"><pre><code>Sleep % 15*60*1000</code></pre></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>И просьба хоть как-нибудь, сокращать код, перед тем как его скидывать на форум.</p></div></div>]]></content>
			<author>
				<name><![CDATA[Nikva]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27416</uri>
			</author>
			<updated>2015-10-27T11:37:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98309#p98309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: увеличить время нажатия некоторых клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98308#p98308" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
F2::




loop
{

loop 36


{

sleep 625

sleep 425
ControlSend  ahk_parent, {shift down}7{shift up}, - ArcheAge -,
sleep 3100


ControlSend  ahk_parent, {7 down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {7 up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, 7, - ArcheAge -,
sleep 1550


ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 1, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 1, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1100
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 2, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 2, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 1325
ControlSend  ahk_parent, {0 down}, - ArcheAge -,
sleep 25
ControlSend  ahk_parent, {0 up}, - ArcheAge -,
sleep 25
ControlSend  ahk_parent, 0, - ArcheAge -,


loop 27
{
ControlSend  ahk_parent, {- down}, - ArcheAge -,

sleep 362
ControlSend  ahk_parent, {- up}, - ArcheAge -,
}                                                       



loop 11
{

ControlSend  ahk_parent, {- down}, - ArcheAge -,

sleep 400
ControlSend  ahk_parent, {- up}, - ArcheAge -,

sleep 10

ControlSend  ahk_parent, {f8}, - ArcheAge -,

sleep 10

sleep 21

sleep 21

}

sleep 1050


                                                            ; 20000

ControlSend  ahk_parent, {7 down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {7 up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, 7, - ArcheAge -,
sleep 1550


ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 1, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 1, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1100
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 2, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
ControlSend  ahk_parent, 2, - ArcheAge -,
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
sleep 1025
ControlSend  ahk_parent, {0 down}, - ArcheAge -,
sleep 25
ControlSend  ahk_parent, {0 up}, - ArcheAge -,
sleep 25
ControlSend  ahk_parent, 0, - ArcheAge -,

loop 21
{
ControlSend  ahk_parent, {- down}, - ArcheAge -,

sleep 362
ControlSend  ahk_parent, {- up}, - ArcheAge -,
}                                                       

ControlSend  ahk_parent, {left down}, - ArcheAge -,

loop 7

{
ControlSend  ahk_parent, {- down}, - ArcheAge -,

sleep 362
ControlSend  ahk_parent, {- up}, - ArcheAge -,
}
ControlSend  ahk_parent, {left up}, - ArcheAge -,


loop 13
{

ControlSend  ahk_parent, {- down}, - ArcheAge -,

sleep 400
ControlSend  ahk_parent, {- up}, - ArcheAge -,

sleep 10

ControlSend  ahk_parent, {f8}, - ArcheAge -,

sleep 10

sleep 21

sleep 21

}


}



sleep 1050
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {=}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {-}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {0}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {9}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,





}

F11::Pause, toggle
</code></pre></div><p>как сделать так что бы последние </p><div class="codebox"><pre><code>
sleep 1050
ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {=}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {-}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {0}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,

sleep 1050

ControlSend  ahk_parent, {shift down}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {9}, - ArcheAge -,
sleep 50
ControlSend  ahk_parent, {shift up}, - ArcheAge -,
</code></pre></div><p> повторялось через 45 мин а не 30</p>]]></content>
			<author>
				<name><![CDATA[Bass06]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33435</uri>
			</author>
			<updated>2015-10-27T11:08:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98308#p98308</id>
		</entry>
</feed>
