<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyrill &#187; p01</title>
	<atom:link href="http://cyrill.co.uk/category/p01/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyrill.co.uk</link>
	<description>Чувак с пассатижами / sux, bugs &#38; plug ‘n’ play</description>
	<lastBuildDate>Sun, 01 Nov 2009 11:53:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>транслитерация по правилам</title>
		<link>http://cyrill.co.uk/2008/04/02/%d1%82%d1%80%d0%b0%d0%bd%d1%81%d0%bb%d0%b8%d1%82%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0%d0%bc/</link>
		<comments>http://cyrill.co.uk/2008/04/02/%d1%82%d1%80%d0%b0%d0%bd%d1%81%d0%bb%d0%b8%d1%82%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0%d0%bc/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 16:59:54 +0000</pubDate>
		<dc:creator>Cyrill</dc:creator>
				<category><![CDATA[Hints&tips]]></category>
		<category><![CDATA[p01]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Малая механизация]]></category>
		<category><![CDATA[Разное]]></category>
		<category><![CDATA[Ермолович]]></category>
		<category><![CDATA[транслитерация]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[translit]]></category>

		<guid isPermaLink="false">http://cyrill.co.uk/2008/04/02/%d1%82%d1%80%d0%b0%d0%bd%d1%81%d0%bb%d0%b8%d1%82%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0%d0%bc/</guid>
		<description><![CDATA[Не знаю как вам, други, а мне-таки кажется, что я написал очередную функцию транслитерации на PHP. На этот раз &#8211; вроде, с учетом правил, написанных в умной книжке умным дядькой.
Собственно, пользуйтесь =)

public function transliterate&#40;&#38;$wordarr&#41;
&#123;
	$ru_vowels = array&#40; '/же/',  '/ше/',  '/че/',  '/ще/', '/ье/','/ъе/','/ьи/','/ъи/','/ъо/','/ьо/','/а/','/е/', '/ё/' ,'/и/','/о/','/у/','/ы/','/э/','/ю/', '/я/',&#41;;
	$en_vowels = array&#40; 'zhe', 'she', 'che', 'shche', 'ye','ye','yi','yi','yo','yo','a','e','yo','i','o','u','y','e','yu','ya' &#41;;
&#160;
	$ru_consonants [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Не знаю как вам, други, а мне-таки кажется, что я написал очередную функцию транслитерации на PHP. На этот раз &#8211; вроде, с учетом правил, написанных в <a title="Ермолович, правила транслитерации" href="http://wp2.cyrill.co.uk/wp-content/uploads/2008/04/ermolovich-names-pt2.pdf" target="_blank">умной книжке умным дядькой</a>.</p>
<p>Собственно, пользуйтесь =)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #990000;">transliterate</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span><span style="color: #000088;">$wordarr</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$ru_vowels</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'/же/'</span><span style="color: #339933;">,</span>  <span style="color: #0000ff;">'/ше/'</span><span style="color: #339933;">,</span>  <span style="color: #0000ff;">'/че/'</span><span style="color: #339933;">,</span>  <span style="color: #0000ff;">'/ще/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/ье/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ъе/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ьи/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ъи/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ъо/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ьо/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/а/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/е/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/ё/'</span> <span style="color: #339933;">,</span><span style="color: #0000ff;">'/и/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/о/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/у/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ы/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/э/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ю/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/я/'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$en_vowels</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'zhe'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'she'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'che'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'shche'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ye'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'ye'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yi'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yi'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yo'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yo'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'a'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'e'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yo'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'i'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'o'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'u'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'y'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'e'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'yu'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'ya'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$ru_consonants</span> 	<span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/б/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/в/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/г/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/д/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ж/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/з/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/й/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/к/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/л/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/м/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/н/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/п/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/р/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/с/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/т/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ф/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/х/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/ц/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/ч/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/ш/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/щ/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ъ/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'/ь/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$en_consonants</span>  <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'b'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'v'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'g'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'d'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'zh'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'z'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'y'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'k'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'l'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'m'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'n'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'p'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'r'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'s'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'t'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'f'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'kh'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'ts'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'ch'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'sh'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'shch'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>  <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$pattern</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_merge</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ru_vowels</span><span style="color: #339933;">,</span><span style="color: #000088;">$ru_consonants</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$replace</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_merge</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$en_vowels</span><span style="color: #339933;">,</span><span style="color: #000088;">$en_consonants</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$wordarr</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$wordarr</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pattern</span><span style="color: #339933;">,</span><span style="color: #000088;">$replace</span><span style="color: #339933;">,</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://cyrill.co.uk/2008/04/02/%d1%82%d1%80%d0%b0%d0%bd%d1%81%d0%bb%d0%b8%d1%82%d0%b5%d1%80%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0%d0%bc/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Пакетное распознавание документов при помощи FineReader и AutoIT</title>
		<link>http://cyrill.co.uk/2008/03/25/multiple-folders-automated-recognition-with-finereader-and-autoit/</link>
		<comments>http://cyrill.co.uk/2008/03/25/multiple-folders-automated-recognition-with-finereader-and-autoit/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 16:30:03 +0000</pubDate>
		<dc:creator>Cyrill</dc:creator>
				<category><![CDATA[Hints&tips]]></category>
		<category><![CDATA[p01]]></category>
		<category><![CDATA[Малая механизация]]></category>
		<category><![CDATA[autoit]]></category>
		<category><![CDATA[автоматизация]]></category>
		<category><![CDATA[finereader]]></category>
		<category><![CDATA[распознавание]]></category>

		<guid isPermaLink="false">http://cyrill.co.uk/2008/03/25/multiple-folders-automated-recognition-with-finereader-and-autoit/</guid>
		<description><![CDATA[Привет,
Прошу прощения, что давно не писал &#8211; исправляюсь.
Возможно вам доводилось сталкиваться с задачей, когда надо распознать в удобочитаемый (или редактируемый) вид сканированные или отфотографированные изображения каких-нибудь текстов. Например, редкие учебные пособия, переснятые в перерыве или, например, куча сканированной рабочей документации. Основная проблема в такой ситуации состоит в том, что FineReader, являющийся, на мой взгляд, лидером [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Привет,</p>
<p>Прошу прощения, что давно не писал &#8211; исправляюсь.</p>
<p>Возможно вам доводилось сталкиваться с задачей, когда надо распознать в удобочитаемый (или редактируемый) вид сканированные или отфотографированные изображения каких-нибудь текстов. Например, редкие учебные пособия, переснятые в перерыве или, например, куча сканированной рабочей документации. Основная проблема в такой ситуации состоит в том, что <a href="http://www.abbyy.ru/finereader/" title="Finereader" target="_blank">FineReader</a>, являющийся, на мой взгляд, лидером в точности распознавания, не имеет встроенных средств для пакетной обработки. Существует корпоративная версия, но она, по сути, решает несколько другие задачи: работа по расписанию и т.п. В общем, не совсем то, что нужно.  Теоретически, существует <a href="http://www.abbyy.ru/sdk/?param=53423" title="Recognition server">Abbyy Recognition Server</a> &#8211; но он стоит совсем других денег и лицензируется на объем обрабатываемых документов (либо абсолютное значение, либо помесячный лимит), что не вполне подходит под мои требования =)</p>
<p>Посему, было решено обходиться малыми средствами, а сэкономленное пустить на компьютер, который будет заниматься распознаванием.</p>
<p>После <a href="http://www.abbyy.ru/finereader/forum/actualthread.aspx?bid=8&amp;tid=523&amp;pg=1" title="Форум ABBYY Finereader" target="_blank">дискуссии на форуме Abbyy</a>, обнаружил <a href="http://alexrey036.narod.ru/ocrfolder.html" title="Скрипт AutoIT для FineReader 8" target="_blank">скрипт</a> автоматизации FineReader 8 средствами абсолютно бесплатного средства автоматизации действий с интерфейсом <a href="http://www.autoitscript.com/autoit3/" title="AutoIT scripting engine">AutoIT</a>. Выяснилось, что с девятым FR скрипт работает не совсем корректно, посему пришлось дорабатывать напильником.</p>
<p>Результат тестировался в русских версиях Vista HB и Windows XP Prof, и, в общем, работает =) В скрипте есть ряд задержек, выявленных эмпирическим путем. Допускаю, что серией экспериментов эти задержки можно сократить.</p>
<p>Как пользоваться скриптом?</p>
<ol>
<li><a href="http://www.autoitscript.com/autoit3/downloads.shtml" title="AutoIT download" target="_blank">Скачайте</a> и установите  <a href="http://www.autoitscript.com/autoit3/" title="AutoIT scripting engine">AutoIT</a>.</li>
<li>Установите ABBYY <a href="http://www.abbyy.ru/finereader/" title="Finereader" target="_blank">FineReader</a>.</li>
<li>Установите в системе английскую раскладку клавиатуры умолчанию</li>
<li>Запустите FR и его переключите его интерфейс на английский язык</li>
<li>Откройте и распознайте в ручном режиме любые (желательно небольшие) файлы изображений из папки, предварительно установив необходимые опции распознавания (это нужно для сохранения настроек FR, эти же настройки будут применяться ко всем автоматически распознаваемым файлам)</li>
<li>После сохранения распознанного вручную файла, FR нужно закрыть; в диалоговом окне сохранения файла нужно выключить галочку &#8220;Открыть сохраненный файл в родном приложении&#8221;, иначе открытые файлы очень быстро съедят память</li>
<li>При поврежденном файле изображения скрипт приостанавливает выполнение и ждет нажатия кнопки, после чего выполнение продолжается.</li>
<li>При необходимости изменить в коде скрипта константы $FR_dir, $drive и $START_dir</li>
<li>Чтобы построить список папок, выполните небольшой батничек, приведенный под катом, результат его работы положите в папку $START_dir. Обратите внимание, что пустые папки тоже попадают в список, поэтому их надо вычистить вручную.</li>
</ol>
<p>Известные слабые места скрипта:</p>
<ol>
<li>Для каждой итерации FR запускается заново</li>
<li>Существуют случайные баги в работе скрипт &#8211; подозреваю, это связано с AutoIT, но у меня скрипт стабильно работает при выключенном explorer.exe, отключенном антивирусе, остановленных некритичных службах XP и остановленном антивирусе &#8211; чтобы минимизировать возможность воздействия на работу скрипта</li>
<li>Задержка в 15 секунд после сохранения файла &#8211; чудовищно велика при большом количестве папок; уменьшение ее, однако, влечет увеличение сбоев в работе скрипта</li>
</ol>
<p>Вот так &#8211; сыро, местами глючно, но чертовски дешево (100 € за FineReader Prof).<br />
Под катом &#8211; код для <a href="http://www.autoitscript.com/autoit3/" title="AutoIT scripting engine">AutoIT</a> и bat-файл для сбора дерева папок. Удачного распознавания! Спасибо <a href="http://alexrey036.narod.ru/" title="Alexrey" target="_blank">Alexrey</a> (ник U235 на форумах ABBYY) за скрипты для FR8.<a href="http://www.autoitscript.com/autoit3/" title="AutoIT scripting engine"><br />
</a></p>
<p><span id="more-14"></span><br />
list_folders.bat:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">chcp <span style="color: #cc66cc;">1251</span>
<span style="color: #b1b100; font-weight: bold;">dir</span> /ad /b /on /s &amp;gt; list_folder.txt</pre></div></div>

<p>automate.au3:</p>

<div class="wp_syntax"><div class="code"><pre class="autoit" style="font-family:monospace;"><span style="color: #0000FF; font-weight: bold;">Const</span> <span style="font-weight: bold; color: #AA0000;">$drive</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #008080;">&quot;c:&quot;</span><span style="color: #0000FF; font-weight: bold;">Const</span> <span style="font-weight: bold; color: #AA0000;">$START_Dir</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$drive</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;\recognize\&quot;$firsttime = 1;	00	Create logfile</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$log</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">FileOpen</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$START_Dir</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;log.txt&quot;, 2)</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">If</span> <span style="font-weight: bold; color: #AA0000;">$log</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Error&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Unable to open file.&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">Exit</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">EndIf</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;	01	Open Finereader</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">Const</span> <span style="font-weight: bold; color: #AA0000;">$FR_dir</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #008080;">&quot;C:\Program Files\ABBYY FineReader 9.0\&quot;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Set FR9 dir to C:\Program Files\ABBYY FineReader 9.0\&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">AutoItSetOption</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;WinTitleMatchMode&quot;</span> <span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Set WinTitleMatchMode to non-strict&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;	02	Open Folders list</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$folder_list</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">FileOpen</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$START_Dir</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;list_folder.txt&quot;, 0)</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">If</span> <span style="font-weight: bold; color: #AA0000;">$folder_list</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Error&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Unable to open list file.&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">Exit</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">EndIf</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;	04	Working loop</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">While</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="font-style: italic; color: #009933;">;$firsttime&amp;lt;3</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">SendKeepActive</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$folder</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">FileReadLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$folder_list</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$t_fname</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringReplace</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$folder</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;\&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;-&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$fname</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringReplace</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$t_fname</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #AA0000;">$drive</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #AA0000;">$firsttime</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;&quot;)</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">If</span> <span style="font-weight: bold; color: #AA0000;">@error</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">Then</span> <span style="color: #0000FF; font-weight: bold;">ExitLoop</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">If</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringLen</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$folder</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span>lt<span style="font-style: italic; color: #009933;">; 1 Then ExitLoop</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Run</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$FR_dir</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;FineReader.exe&quot;)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;FR9 - Start&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Got directory: &quot;&amp;amp;$folder&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWaitActive</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Got active FR9&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">SendKeepActive</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;^o&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWaitActive</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;Open&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlSetText</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Open&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Edit1&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$folder</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">; открытие папки</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">3000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Set folder to &quot;&amp;amp;$folder&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlClick</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Open&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Button3&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;MsgBox(0,&quot;Folder&quot;,$folder)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;ControlClick button3&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">If</span> <span style="color: #000080; font-style: italic; font-weight: bold;">ControlListView</span>  <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Open&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;SysListView321&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;GetItemCount&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;{ESC}&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">ContinueLoop</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">EndIf</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlListView</span>  <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Open&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;SysListView321&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;SelectAll&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Select all files&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;WinActivate(&quot;Open&quot;)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">500</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;{ENTER}&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Enter to select&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWait</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;Adding&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;Completed&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;All pages ready&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinActivate</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;Adding&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;Completed&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;{ENTER}&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Ready to save...&quot;&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinActivate</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;^s&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWait</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;Save&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">500</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlSetText</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Save&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Edit1&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$folder</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;\&quot;&amp;amp;$fname );</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlClick</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;Save&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Button2&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">;Send(&quot;{ENTER}&quot;)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWaitClose</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;Saving&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Saved to &quot;&amp;amp;$folder&amp;amp;&quot;\&quot;&amp;amp;$fname&amp;amp;@CRLF)</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">15000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinActivate</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;!f&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;c&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>   <span style="font-style: italic; color: #009933;">;Закрываем пакет</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">WinWait</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;Do you want to save&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">ControlClick</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #008080;">&quot;ABBYY&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #008080;">&quot;Do&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #008080;">&quot;Button2&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Sleep</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1000</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="font-style: italic; color: #009933;">;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;!f&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">Send</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #008080;">&quot;x&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-weight: bold; color: #AA0000;">$firsttime</span><span style="color: #FF0000; font-weight: bold;">=</span><span style="font-weight: bold; color: #AA0000;">$firsttime</span><span style="color: #FF0000; font-weight: bold;">+</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">WEnd</span>
&nbsp;
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWriteLine</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$log</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">@MDAY</span><span style="color: #FF0000; font-weight: bold;">&amp;</span>amp<span style="font-style: italic; color: #009933;">;&quot;/&quot;&amp;amp;@MON&amp;amp;&quot;/&quot;&amp;amp;@YEAR&amp;amp;&quot;	&quot;&amp;amp;@HOUR&amp;amp;&quot;:&quot;&amp;amp;@MIN&amp;amp;&quot;:&quot;&amp;amp;@SEC&amp;amp;&quot; &amp;gt;&amp;gt;&amp;gt; &quot;&amp;amp;&quot;Total of &quot;&amp;amp;$firsttime&amp;amp;&quot;processed&quot;&amp;amp;@CRLF)</span></pre></div></div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://cyrill.co.uk/2008/03/25/multiple-folders-automated-recognition-with-finereader-and-autoit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
