<?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=16901&amp;type=atom" />
	<updated>2022-01-22T17:24:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16901</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151756#p151756" />
			<content type="html"><![CDATA[<p>Значит этот вариант отпадает.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T17:24:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151756#p151756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151755#p151755" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, я имел ввиду, что вставил PID и координаты в скрипт ))<br />Не работает такой вариант почему-то.</p>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T16:47:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151755#p151755</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151754#p151754" />
			<content type="html"><![CDATA[<p>Ничего вбивать не нужно, скрипт сам кликнет в окно по нажатию на F2. Отображение координат можно убрать.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T16:40:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151754#p151754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151752#p151752" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, навожу на нужный чекбокс, нажимаю F3, получаю в ответ PID и две координаты, вбиваю их в скрипт, перезапускаю скрипт. Не работает.<br /></p><div class="codebox"><pre><code>F2:: ; Клик по координатам:
ControlClick, x1744 y502, Ahk_PID 16208
Return

F3:: ; Сохранить позицию и окно:
MouseGetPos, X,Y
WinGet, PID, PID, A
MsgBox, % &quot;PID: &quot; PID &quot;`n&quot; X &quot;, &quot; Y
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T16:05:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151752#p151752</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151751#p151751" />
			<content type="html"><![CDATA[<p>Попробуйте такой вариант:</p><div class="codebox"><pre><code>F2:: ; Клик по координатам:
ControlClick, x%X% y%Y%, Ahk_PID %PID%
Return

F3:: ; Сохранить позицию и окно:
MouseGetPos, X,Y
WinGet, PID, PID, A
MsgBox, % &quot;PID: &quot; PID &quot;`n&quot; X &quot;, &quot; Y
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T15:46:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151751#p151751</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151750#p151750" />
			<content type="html"><![CDATA[<p>Команда &#039;ControlClick&#039; как раз для того, что бы окно можно было не активировав кликать мышкой по некоторым кнопкам.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T15:37:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151750#p151750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151749#p151749" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, вписал позицию и название окна в ваш скрипт. Почему-то не работает. </p><p>Для меня сработал вот этот вариант:<br /></p><div class="codebox"><pre><code>Home::
CoordMode, Mouse, Screen
Click, 1737, 494
return</code></pre></div><p>Но в этом варианте курсор перемещается непосредственно в точку чекбокса. <br />Я понимаю, что так наверное и должно быть. <br />По-другому никак наверное?<br />Другими словами, нельзя же кликать в чекбокс не перемещая туда курсор?</p>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T15:27:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151749#p151749</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151747#p151747" />
			<content type="html"><![CDATA[<p>Да можно по координатам:</p><div class="codebox"><pre><code>Name := &quot;Название окна&quot;

F2::
ControlClick, x18 y118, % Name ; Указать свою позицию.
Return</code></pre></div><p>Только окно не всегда принимает.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T15:16:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151747#p151747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151746#p151746" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, понятно.<br />Спасибо за то что уделили время. <br />Может быть можно кликать по координатам чекбоксов.</p>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T15:10:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151746#p151746</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151745#p151745" />
			<content type="html"><![CDATA[<p>Я бы сказал, что это полностью блокирует работу с окном.<br />Хотя возможно есть обходной путь.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T15:08:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151745#p151745</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151744#p151744" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, при наведении на два разных чекбокса ClassNN не меняется. <br />Это значит, что окно нестандартное?<br /></p><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><span class="postimg"><img src="https://i.ibb.co/sjt65Ff/Screen02.jpg" alt="https://i.ibb.co/sjt65Ff/Screen02.jpg" /></span></p></div></div>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T15:07:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151744#p151744</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151742#p151742" />
			<content type="html"><![CDATA[<p>Если навести курсор на чекбокс должно появиться: &#039;ClassNN:	Button(номер)&#039;</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T14:48:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151742#p151742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151739#p151739" />
			<content type="html"><![CDATA[<p><strong>__Михаил__</strong>, спасибо Вам большое за ответ!<br />Я создал скриншот в то же время когда кликнул на чекбокс Negative. <br />Подскажите пожалуйста, где посмотреть номера контролов?</p>]]></content>
			<author>
				<name><![CDATA[Chp11]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34014</uri>
			</author>
			<updated>2022-01-22T14:34:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151739#p151739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151732#p151732" />
			<content type="html"><![CDATA[<p>Если окно стандартное, можно попробовать включать / выключать чекбоксы:</p><div class="codebox"><pre><code>F2::
Name := &quot;Cripto v1&quot;	; Титул окна.
List := [1, 3, 4, 2, 5]	; Список номеров контролов.
loop, % List.Count(){	; Обход списка:
 I := &quot;Button&quot; . List[A_Index]
 Control, Uncheck,, % I, % Name
 Sleep, 100
 Control, Check,, % I, % Name
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2022-01-22T14:12:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151732#p151732</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Горячие клавиши для ползунков и чекбоксов]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=151727#p151727" />
			<content type="html"><![CDATA[<p>Скриншот никак не поможет разобраться с ситуацией. Советую не писать каждое предложение с новой строки, выглядит фриковато.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-01-22T12:27:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=151727#p151727</id>
		</entry>
</feed>
