<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Перестают работать горячие клавиши в Firefox]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14822&amp;type=atom" />
	<updated>2019-06-09T13:16:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14822</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перестают работать горячие клавиши в Firefox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134648#p134648" />
			<content type="html"><![CDATA[<p>Можно про это почитать в английской справке.<br />#If [Expression]<br />Creates context-sensitive hotkeys and hotstrings. Such hotkeys perform a different action (or none at all) depending on the result of an expression.</p><p>Пример горячей клавиши, которая работает только в окне Блокнота.<br /></p><div class="codebox"><pre><code>#IF WinActive(&quot;ahk_class Notepad&quot;)
F12::Msgbox
#IF</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-06-09T13:16:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134648#p134648</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перестают работать горячие клавиши в Firefox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134647#p134647" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Почитал документацию, получается, мне нужно добавить какое-то условие для срабатывания горячей клавиши? Но я не могу его придумать, мне нужно что бы она работала в разных программах (Excel, notepad или в самом FF…). Возможно, я не правильно понял :-( </p><p>И примечание, в FF перестают работать вообще все горячие клавиши, не только та, что я использую для открытия ссылок.</p>]]></content>
			<author>
				<name><![CDATA[akafist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40200</uri>
			</author>
			<updated>2019-06-09T12:53:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134647#p134647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перестают работать горячие клавиши в Firefox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134645#p134645" />
			<content type="html"><![CDATA[<p>Задайте дерективу #IF чтобы получить <em>контекстно-чувствительную горячую клавишу</em>. Тогда ГК AutoHotkey не будут перебивать ГК Firefox.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-06-09T12:09:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134645#p134645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Перестают работать горячие клавиши в Firefox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134644#p134644" />
			<content type="html"><![CDATA[<p>Использую такой код для открытия выделенных ссылок в дефолтном браузере<br /></p><div class="codebox"><pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;Open links from selection
;Alt+Ctrl+Shift+L
!^+l::
clipboard =
Send ^c
ClipWait
Loop, parse, clipboard, `n, `r 
  Run %A_LoopField%
Return</code></pre></div><p>Работает как ожидается, выделяю группу ссылок, нажимаю сочетание клавиш, ссылки открываются в FF. Проблема в том, что после этого перестают работать горячие клавиши в самом FF. Помогает переключение мышкой на соседнюю вкладку или «убрать фокус» с браузера (например, два раза нажать Win). Версии AHK и FF последние.</p><p>Искал в интернете решение проблемы, не нашёл. Может быть кто-нибудь сталкивался с проблемой. Помогите, пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[akafist]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40200</uri>
			</author>
			<updated>2019-06-09T11:26:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134644#p134644</id>
		</entry>
</feed>
