<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Скрипт позволяющий выбирать браузер для открытия ссылки]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=10863</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10863&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Скрипт позволяющий выбирать браузер для открытия ссылки».]]></description>
		<lastBuildDate>Wed, 12 Aug 2015 06:45:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Скрипт позволяющий выбирать браузер для открытия ссылки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=96403#p96403</link>
			<description><![CDATA[<p>Вот небольшой скрипт для Windows XP<br />У кого Windows 7 или Windows 8 можете узнать аналогичные пути в реестре где хранятся настройки браузера по умолчанию, допишем скрипт, что бы работало и на других версиях Windows.</p><div class="codebox"><pre><code>if 1 &lt; 0
{
    RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Classes\http\shell\open\command, , &quot;U:\Microsoft\Script\Choose Browser.exe&quot; &quot;`%1&quot;
    RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Classes\https\shell\open\command, , &quot;U:\Microsoft\Script\Choose Browser.exe&quot; &quot;`%1&quot;
    RunWait, C:\Program Files\AutoHotkeyL\Compiler\Ahk2Exe.exe /in &quot;%A_ScriptDir%\Choose Browser.ahk&quot; /out &quot;%A_ScriptDir%\Choose Browser.exe&quot; ;/icon &quot;%A_ScriptDir%\Icon.ico&quot;
    ToolTip, Приложение скомпилировано и добавлено в реестр!
    SoundPlay, C:\WINDOWS\Media\Windows XP - всплывающее сообщение.wav
    Sleep 2500
    ToolTip
    ExitApp
}

Gui:
Gui, Add, Picture, x35 y60 w48 h48, Opera12.png
Gui, Add, Button, x6   y110 w100 h30 gOpera12, Opera12
Gui, Add, Picture, x145 y60 w48 h48, Opera20.png
Gui, Add, Button, x116 y110 w100 h30 gOpera20, Opera20
Gui, Add, Picture, x253 y60 w48 h48, Chrome.png
Gui, Add, Button, x226 y110 w100 h30 gChrome, Chrome
Gui, Add, Picture, x363 y60 w48 h48, Firefox.png
Gui, Add, Button, x336 y110 w100 h30 gFirefox, Firefox
Gui, Font, S14 CDefault, Verdana
Gui, Add, Text, x71 y0 w300 h30 +Center, Открыть ссылку в браузере
Gui, Font, S9 CDefault, Verdana
Gui, Add, Text, x0 y30 w440 h30 +Center, %1%
; Generated using SmartGUI Creator 4.0
Gui, Show, x336 y196 h149 w445, Выбор браузера
Return

Esc::
GuiClose:
ExitApp

Opera12:
Run, C:\Program Files\Opera12\Opera.exe %1%
ExitApp

Opera20:
Run, C:\Program Files\Opera20\launcher.exe %1%
ExitApp

Chrome:
Run, C:\Program Files\GoogleChrome\GoogleChrome.exe %1%
ExitApp

Firefox:
Run, C:\Program Files\Firefox\Firefox.exe %1%
ExitApp</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (avens)]]></author>
			<pubDate>Wed, 12 Aug 2015 06:45:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=96403#p96403</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Скрипт позволяющий выбирать браузер для открытия ссылки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=96386#p96386</link>
			<description><![CDATA[<p>Точно, можно таким способом <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Благодарю!</p>]]></description>
			<author><![CDATA[null@example.com (avens)]]></author>
			<pubDate>Tue, 11 Aug 2015 10:11:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=96386#p96386</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Скрипт позволяющий выбирать браузер для открытия ссылки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=96384#p96384</link>
			<description><![CDATA[<p>Вероятно нужно найти где в реестре прописывается браузер по умолчанию, и прописать туда свой скрипт, в командном параметре ему будут передаватся ссылки.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Tue, 11 Aug 2015 08:33:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=96384#p96384</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Скрипт позволяющий выбирать браузер для открытия ссылки]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=96383#p96383</link>
			<description><![CDATA[<p>Хочется на компьютере иметь такую возможность как например на Android, когда открываешь ссылку появляется окошко где можно выбрать необходимый браузер для открытия в нем этой ссылки.</p><p>Для Windows нашел такую программку: <a href="http://browserchooser.codeplex.com">Browser Chooser</a>, но она не работает у меня на XP.<br />Если у кто знает еще аналогичные программки, прошу поделится.</p><p>Можно ли как то средствами AutoHotkey перехватить событие открытия ссылки вне браузера?<br />И затем подставить выполнение своего кода, где был бы небольшой GUI скрипт с иконками установленных браузеров для выбора открытия ссылки.</p>]]></description>
			<author><![CDATA[null@example.com (avens)]]></author>
			<pubDate>Tue, 11 Aug 2015 08:18:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=96383#p96383</guid>
		</item>
	</channel>
</rss>
