<?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=7781&amp;type=atom" />
	<updated>2014-07-28T11:40:50Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7781</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85323#p85323" />
			<content type="html"><![CDATA[<p>Огромное спасибо! У меня после этого все заработало.</p><br /><br /><p>Utf8ToAnsi(Utf8String, CodePage = 1251)<br />{<br />&nbsp; &nbsp; If (NumGet(Utf8String) &amp; 0xFFFFFF) = 0xBFBBEF<br />&nbsp; &nbsp; &nbsp; &nbsp; BOM = 3<br />&nbsp; &nbsp; Else<br />&nbsp; &nbsp; &nbsp; &nbsp; BOM = 0</p><p>&nbsp; &nbsp; UniSize := DllCall(&quot;MultiByteToWideChar&quot;, &quot;UInt&quot;, 65001, &quot;UInt&quot;, 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , &quot;UInt&quot;, &amp;Utf8String + BOM, &quot;Int&quot;, -1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , &quot;Int&quot;, 0, &quot;Int&quot;, 0)<br />&nbsp; &nbsp; VarSetCapacity(UniBuf, UniSize * 2)<br />&nbsp; &nbsp; DllCall(&quot;MultiByteToWideChar&quot;, &quot;UInt&quot;, 65001, &quot;UInt&quot;, 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;UInt&quot;, &amp;Utf8String + BOM, &quot;Int&quot;, -1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;UInt&quot;, &amp;UniBuf, &quot;Int&quot;, UniSize)</p><p>&nbsp; &nbsp; AnsiSize := DllCall(&quot;WideCharToMultiByte&quot;, &quot;UInt&quot;, CodePage, &quot;UInt&quot;, 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;UInt&quot;, &amp;UniBuf, &quot;Int&quot;, -1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;Int&quot;, 0, &quot;Int&quot;, 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;Int&quot;, 0, &quot;Int&quot;, 0)<br />&nbsp; &nbsp; VarSetCapacity(AnsiString, AnsiSize)<br />&nbsp; &nbsp; DllCall(&quot;WideCharToMultiByte&quot;, &quot;UInt&quot;, CodePage, &quot;UInt&quot;, 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;UInt&quot;, &amp;UniBuf, &quot;Int&quot;, -1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;Str&quot;, AnsiString, &quot;Int&quot;, AnsiSize<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, &quot;Int&quot;, 0, &quot;Int&quot;, 0)<br />&nbsp; &nbsp; Return AnsiString<br />}<br />^p::<br />Send ^{vk43}<br />clipboard = Текст1 `r`nТекст 2. `r`nТекст3 `r`Текст 4<br />Send ^{vk56}<br />Return</p><p>^b::<br />Send ^{vk43}<br />clipboard = Текст `n<br />Send ^{vk56}<br />Return</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2014-07-28T11:40:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85323#p85323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85321#p85321" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Магия?!</p></blockquote></div><p>Да, как то так. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Selja8]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32415</uri>
			</author>
			<updated>2014-07-28T09:57:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85321#p85321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85320#p85320" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Selja8 пишет:</cite><blockquote><p>HideArr := Object()</p></blockquote></div><p>Магия?!</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-07-28T09:51:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85320#p85320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85318#p85318" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>ked2802</strong>, оформите код правильно!</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-07-28T09:41:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85318#p85318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85317#p85317" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>HideArr := Object()
text .= &quot;Вечером `r`n Было утро.&quot;
;Можно и по словам отдельно разбить.
text1 .= &quot;Вечером&quot;
text2 .= &quot;Было утро&quot;
Textsort .= &quot;555&quot;
Sort, Textsort
Textsort := &quot;Отсортированый текст&quot; &quot;:`r`n&quot; Text1 &quot;,`r`n&quot; Text2 &quot;.`r`n&quot; Textsort
msgbox %text% `n %textsort%</code></pre></div><p>Как-то так.</p>]]></content>
			<author>
				<name><![CDATA[Selja8]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32415</uri>
			</author>
			<updated>2014-07-28T09:27:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85317#p85317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85316#p85316" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Msgbox Текст `r`n текст с новой строки.</code></pre></div><p>`t (табуляция), `n (перевод строки) и `r (возврат каретки).</p>]]></content>
			<author>
				<name><![CDATA[Selja8]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32415</uri>
			</author>
			<updated>2014-07-28T09:17:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85316#p85316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85314#p85314" />
			<content type="html"><![CDATA[<p>еще раз извиняюсь, помогите чайнику!<br />как вставить пробел и тексты с новой строки</p><p>^[::<br />Send ^{vk43}<br />clipboard = вечером<br />Было утро.<br />Оптовая цена 9000 руб.<br />Более 10 000 аксессуаров!<br />Send ^{vk56}<br />Return</p><p>^]::<br />Send ^{vk43}<br />clipboard = вечером (пробел)<br />Send ^{vk56}<br />Return</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2014-07-28T08:47:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85314#p85314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85313#p85313" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Selja8 пишет:</cite><blockquote><p><a href="http://forum.script-coding.com/viewtopic.php?id=5251">http://forum.script-coding.com/viewtopic.php?id=5251</a></p></blockquote></div><p>Огромное человеческое Спасибо. Заработало!</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2014-07-28T07:12:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85313#p85313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85307#p85307" />
			<content type="html"><![CDATA[<p>Думаю надо просто использовать не анси, а юникод AutoHotkey.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-07-28T05:32:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85307#p85307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85305#p85305" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=5251">http://forum.script-coding.com/viewtopic.php?id=5251</a></p>]]></content>
			<author>
				<name><![CDATA[Selja8]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32415</uri>
			</author>
			<updated>2014-07-28T04:29:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85305#p85305</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=85302#p85302" />
			<content type="html"><![CDATA[<p>Еще один маленькая загвоздка.<br />Как вставить текст кирилицей?</p><div class="codebox"><pre><code>^b::
Send ^{vk43}
clipboard = вечер
Send ^{vk56}
Return</code></pre></div><p>получается - РІРµС‡РµСЂ</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2014-07-27T20:54:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=85302#p85302</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=65687#p65687" />
			<content type="html"><![CDATA[<p>да, в русской раскладке не работало, сейчас все отлично. <br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2012-11-16T14:56:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=65687#p65687</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=65681#p65681" />
			<content type="html"><![CDATA[<p>Только вместо<br /></p><div class="codebox"><pre><code>Send ^c
Send ^v</code></pre></div><p>лучше<br /></p><div class="codebox"><pre><code>Send ^{vk43}
Send ^{vk56}</code></pre></div><p>иначе может не работать при русской раскладке клавиатуры.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2012-11-16T11:24:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=65681#p65681</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=65679#p65679" />
			<content type="html"><![CDATA[<p>все работает. Огромное спасибо!</p>]]></content>
			<author>
				<name><![CDATA[ked2802]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28981</uri>
			</author>
			<updated>2012-11-16T09:53:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=65679#p65679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Обрамление выделенного текста тегами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=65678#p65678" />
			<content type="html"><![CDATA[<p>Как-нибудь так.</p><div class="codebox"><pre><code>^p::
Send ^c
clipboard = &lt;p&gt;%clipboard%&lt;/p&gt;
Send ^v
Return

^b::
Send ^c
clipboard = &lt;strong&gt;%clipboard%&lt;/strong&gt;
Send ^v
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2012-11-16T06:00:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=65678#p65678</id>
		</entry>
</feed>
