<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12983</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12983&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.».]]></description>
		<lastBuildDate>Sat, 09 Sep 2017 12:32:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119192#p119192</link>
			<description><![CDATA[<p><strong>ypppu</strong>, Спасибо большое! Буду пробовать.</p>]]></description>
			<author><![CDATA[null@example.com (Tarasmetal)]]></author>
			<pubDate>Sat, 09 Sep 2017 12:32:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119192#p119192</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119191#p119191</link>
			<description><![CDATA[<p>Командой <em>StringReplace, OutputVar</em>, Вы помещаете в переменную OutputVar уже переработанное содержимое файла, то есть с заменёнными подстроками. Совершенно ни к чему сохранять этот промежуточный результат в symlink_create2 с последующим повторным считыванием в FileContents. Берите прямо из OutputVar.<br />Наверное получится что-то вроде StringReplace, OutputVar, OutputVar. Или&nbsp; StringReplace, OutputVar2, OutputVar1 чтобы не путаться.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sat, 09 Sep 2017 12:28:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119191#p119191</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119190#p119190</link>
			<description><![CDATA[<p><strong>ypppu</strong>, Если вас не затруднит, можете написать, как правильно это сделать.</p>]]></description>
			<author><![CDATA[null@example.com (Tarasmetal)]]></author>
			<pubDate>Sat, 09 Sep 2017 12:07:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119190#p119190</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119189#p119189</link>
			<description><![CDATA[<p>Ну вообще, если Вы уже считали строку из файла в переменную, то ни к чему между заменами делать промежуточные сохранения в файл. Промежуточные результаты можно так же хранить в переменной.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sat, 09 Sep 2017 12:04:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119189#p119189</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119188#p119188</link>
			<description><![CDATA[<p><strong>ypppu</strong> Вот у меня после каждой замены файл перезаписывается, может как-то избежать этого например через %Clipboard% какой-то массив сделать. Я долго мучался, в итоге все пришлось по 1 действию расписать ....</p>]]></description>
			<author><![CDATA[null@example.com (Tarasmetal)]]></author>
			<pubDate>Sat, 09 Sep 2017 11:48:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119188#p119188</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119186#p119186</link>
			<description><![CDATA[<p>Упростить скрипт - непростая задача...</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sat, 09 Sep 2017 11:21:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119186#p119186</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119185#p119185</link>
			<description><![CDATA[<p>Даже не знаю как сказать то...</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Sat, 09 Sep 2017 11:18:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119185#p119185</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Поиск и замена переменных в тексте с выводом в 2 новых файла.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119184#p119184</link>
			<description><![CDATA[<p>Добрый день. Подскажите пожалуйста, как упростить мой скрипт, если не трудно поподробнее.<br />Сам прикрепленный скрипт работает как надо.<br />Если оформил как-то не так, прошу прощения, первый раз делаю пост.<br />Задача такая:<br />Читаем текстовой файл vst.txt<br />Заменяем:<br /><em>cmd /c mklink /j &quot;%PROGRAMFILES(x86)%\VstPlugins&quot; &quot;C:\VST&quot; на&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; REM cmd /c mklink /j &quot;%PROGRAMFILES(x86)%\VstPlugins&quot; &quot;C:\VST&quot;<br />cmd /c mklink /j &quot;%PROGRAMFILES(x86)%\Steinberg\VstPlugins&quot; &quot;C:\VST&quot; на REM cmd /c mklink /j &quot;%PROGRAMFILES(x86)%\Steinberg\VstPlugins&quot; &quot;C:\VST&quot;<br />cmd /c mklink /j &quot;%COMMONPROGRAMFILES(x86)%\VST3&quot; &quot;D:\VST3&quot; на&nbsp; &nbsp; &nbsp; &nbsp; REM cmd /c mklink /j &quot;%COMMONPROGRAMFILES(x86)%\VST3&quot; &quot;D:\VST3&quot;<br />cmd /c mklink /j &quot;%COMMONPROGRAMFILES%\VST3 на&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;REM cmd /c mklink /j &quot;%COMMONPROGRAMFILES%\VST3&quot;</em><br />Сохраняем в файл !VST Installer.cmd<br />Читаем файл&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!VST Installer.cmd<br />Заменяем куски текста, что в кавычках на такие:<br /><em>&quot;cmd /c mklink /j&quot; на &quot;cmd /c rmdir&quot; (в конце этой строчки желательно добавить ключи &quot;/S /Q&quot;) У меня не получилось.<br />&quot;cmd /c mkdir&quot; на&nbsp; &nbsp; &nbsp;&quot;REM cmd /c mkdir&quot;<br />&quot;.reg&quot; на &quot;-Unreg.reg&quot;</em><br />Сохраняем в файл !VST DeInstaller.cmd</p><p><strong>VST.txt</strong> <a href="https://yadi.sk/i/BakECwga3MjrLF">https://yadi.sk/i/BakECwga3MjrLF</a></p>]]></description>
			<author><![CDATA[null@example.com (Tarasmetal)]]></author>
			<pubDate>Sat, 09 Sep 2017 10:57:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119184#p119184</guid>
		</item>
	</channel>
</rss>
