<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Конвертация строки из HEX в читабельный текст]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11027</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11027&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Конвертация строки из HEX в читабельный текст».]]></description>
		<lastBuildDate>Fri, 23 Oct 2015 22:06:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Конвертация строки из HEX в читабельный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=98119#p98119</link>
			<description><![CDATA[<div class="codebox"><pre><code>
MsgBox % StrFromHex(&quot;5468697320697320612048455820737472696E670A&quot;)

StrFromHex(hex)  {
    While (I := SubStr(hex, A_Index*2-1, 2)) != &quot;&quot;
        Result .= Chr(&quot;0x&quot; I)  
    Return Result
}
</code></pre></div><div class="quotebox"><blockquote><p>Сама строка с командой приходит по Serial от Arduino, нужно ее как-то расшифровать.</p></blockquote></div><p>А <a href="http://arduino.ru/Reference/Serial/Print">это</a> не отправляет готовую строку?<br />И каким скриптом слушаете порт?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Fri, 23 Oct 2015 22:06:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=98119#p98119</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Конвертация строки из HEX в читабельный текст]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=98116#p98116</link>
			<description><![CDATA[<p>Есть ли функция для конвертации строки вида:<br />5468697320697320612048455820737472696E670A</p><p>В нормальный читабельный текст:<br />This is a HEX string</p><p>Строка раскодирована через http://www.unit-conversion.info/texttools/hexadecimal/<br />ищу функцию-аналог для хоткея.<br />Сама строка с командой приходит по Serial от Arduino, нужно ее как-то расшифровать.</p><p>Ищу нечто вроде функции<br />Text:=HexString(&quot;5468697320697320612048455820737472696E670A&quot;)</p>]]></description>
			<author><![CDATA[null@example.com (Humphrey)]]></author>
			<pubDate>Fri, 23 Oct 2015 21:46:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=98116#p98116</guid>
		</item>
	</channel>
</rss>
