<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Opera 11.6x - изменение масштаба мышью]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=7270&amp;type=atom" />
	<updated>2012-10-30T20:26:57Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=7270</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65276#p65276" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DD пишет:</cite><blockquote><p>Намёк был на</p></blockquote></div><p>Аааа =)<br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-10-30T20:26:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65276#p65276</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65275#p65275" />
			<content type="html"><![CDATA[<p>Намёк был на</p><div class="codebox"><pre><code>
GroupAdd, ScalableWindows, ahk_class MozillaWindowClass
GroupAdd, ScalableWindows, ahk_class AcrobatSDIWindow
GroupAdd, ScalableWindows, ahk_class PX_WINDOW_CLASS


#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_group ScalableWindows&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
 
#If WinActive(&quot;ahk_group ScalableWindows&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DD]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=25263</uri>
			</author>
			<updated>2012-10-30T20:15:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65275#p65275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65274#p65274" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>По поводу сообщения #14 — в примерах различается лишь класс окна. Объедините нужные окна в секции автовыполнения в группу. Множество последовательных вызовов WinActive работает медленнее одиночной проверки активности какого-либо окна из ранее созданной группы окон.</p></blockquote></div><p>У меня получилось так<br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class MozillaWindowClass&quot;)
|| WinActive(&quot;ahk_class AcrobatSDIWindow&quot;) || WinActive(&quot;Оффис&quot;)
|| WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}

#If WinActive(&quot;ahk_class MozillaWindowClass&quot;) || WinActive(&quot;ahk_class AcrobatSDIWindow&quot;)
|| WinActive(&quot;Оффис&quot;) || WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div><p>Работает криво - масштабирование происходит при прокрутке колеса.</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-10-30T20:03:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65274#p65274</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65273#p65273" />
			<content type="html"><![CDATA[<p>По поводу сообщения #14 — в примерах различается лишь класс окна. Объедините нужные окна в секции автовыполнения в группу. Множество последовательных вызовов WinActive работает медленнее одиночной проверки активности какого-либо окна из ранее созданной группы окон.</p><p>В Sublime Text 2 прокручивание колеса мыши с зажатой правой кнопкой циклически переключает вкладки, размер шрифта изменяется при прокручивании с зажатым ctrl (по умолчанию). Переключать вкладки приходится чаще, чем менять размер шрифта. Считаю переназначение неуместным для этого приложения.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-10-30T19:45:03Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65273#p65273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65272#p65272" />
			<content type="html"><![CDATA[<p>Вот так, наверная:</p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class MozillaWindowClass&quot;)
|| WinActive(&quot;ahk_class AcrobatSDIWindow&quot;) || WinActive(&quot;Оффис&quot;)
|| WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
WheelUp::
    If WinActive(&quot;Оффис&quot;)
        Send  ^{WheelUp}
    Else
        Send  ^{vkBB}
    return
WheelDown::
    If WinActive(&quot;Оффис&quot;)
        Send  ^{WheelDown}
    Else
        SendInput ^{vkBD}
    return
#If

#If WinActive(&quot;ahk_class MozillaWindowClass&quot;) || WinActive(&quot;ahk_class AcrobatSDIWindow&quot;)
|| WinActive(&quot;Оффис&quot;) || WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return
#If</code></pre></div><p>По поводу классов оффиса на 7-ке сказал бы, да не скажу: он от меня ключа требует...</p>]]></content>
			<author>
				<name><![CDATA[DD]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=25263</uri>
			</author>
			<updated>2012-10-30T19:36:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65272#p65272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=65271#p65271" />
			<content type="html"><![CDATA[<p>Уже настолько привык к смене масштаба по ПКМ+прокрутка, что хочу везде сделать также.<br />Для <strong>Firefox</strong><br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class MozillaWindowClass&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
 
#If WinActive(&quot;ahk_class MozillaWindowClass&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div><p>Для <strong>Adobe Reader</strong><br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class AcrobatSDIWindow&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
 
#If WinActive(&quot;ahk_class AcrobatSDIWindow&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div><p>Для<strong> Sublime Text</strong><br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
 
#If WinActive(&quot;ahk_class PX_WINDOW_CLASS&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div><p>-----------<br />Подскажите, какой класс использовать для офиса - Word 2010, Exel 2010, PP 2010 на Вин 7?<br />-----------<br /><strong>Можно ли объединить скрипты в один?</strong></p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-10-30T18:02:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=65271#p65271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60866#p60866" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Наверное, так:</p></blockquote></div><p>Класс, спасибо teadrinker!</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-06-11T12:26:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60866#p60866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60863#p60863" />
			<content type="html"><![CDATA[<p>Наверное, так:</p><div class="codebox"><pre><code>#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;) &amp;&amp; WinActive(&quot;ahk_class OperaWindowClass&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
    
#If WinActive(&quot;ahk_class OperaWindowClass&quot;)
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2012-06-11T09:05:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60863#p60863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60859#p60859" />
			<content type="html"><![CDATA[<p>Сойдёмся на невозможности изменить стандартный жест при помощи ahk.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-06-11T02:04:55Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60859#p60859</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60858#p60858" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Но «зажатие правой кнопки мыши» в таком варианте невозможно.</p></blockquote></div><p>Столкнулся с этой проблемой. Не работает D&amp;D файла правой кнопкой мыши. Можно ли как-то модифицировать первый вариант? По идее скрипт должен включаться при активном окне браузера, при этом, не влиять на другие приложения.</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-06-11T00:47:42Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60858#p60858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60857#p60857" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Ну, значит не нужно.</p></blockquote></div><p>Но теперь стало интересно, в каких случаях может использоваться! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Может для управления мышью - жесты Оперы...</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-06-10T19:10:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60857#p60857</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60856#p60856" />
			<content type="html"><![CDATA[<p>Ну, значит не нужно.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-06-10T19:06:39Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60856#p60856</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60855#p60855" />
			<content type="html"><![CDATA[<p>Отлично! Работает.<br />Thanks creature.ws&nbsp; <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Только не понял фразы <br /></p><div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Но «зажатие правой кнопки мыши» в таком варианте невозможно.</p></blockquote></div><p>А зачем нужно это зажатие?</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-06-10T19:03:51Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60855#p60855</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60853#p60853" />
			<content type="html"><![CDATA[<p>Скриншоты излишни <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Различия unicode и ansi версий не играют роли в данном случае.<br />Можете попробовать :<br /></p><div class="codebox"><pre><code>#If Rbutton_pressed &amp;&amp; WinActive(&quot;ahk_class OperaWindowClass&quot;)
    WheelUp::SendInput  ^{vkBB}
    WheelDown::SendInput ^{vkBD}
#If

RButton::
    Rbutton_pressed := True
    KeyWait, RButton
    Rbutton_pressed := False
    If (A_ThisHotkey == A_ThisLabel)
        Click R
    return</code></pre></div><p>Но «зажатие правой кнопки мыши» в таком варианте невозможно.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-06-10T18:56:32Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60853#p60853</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Opera 11.6x - изменение масштаба мышью]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=60852#p60852" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Код работает под ahk_l.</p></blockquote></div><p>Понял, но ни в какую не хочет менять масштаб. <br />PS: У меня сейчас Unicode (32-bit) версия. Попробую ANSI <img src="//forum.script-coding.com/img/smilies/hmm.png" width="15" height="15" /> </p><p><span class="postimg"><img src="http://i48.tinypic.com/21pphk.png" alt="http://i48.tinypic.com/21pphk.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-06-10T18:31:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=60852#p60852</id>
		</entry>
</feed>
