<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS: Помощь по множественной замене строчек в файле]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11290</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11290&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS: Помощь по множественной замене строчек в файле».]]></description>
		<lastBuildDate>Fri, 05 Feb 2016 18:11:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100880#p100880</link>
			<description><![CDATA[<p><strong>zuwiepro</strong><br />Так и надо было писать, что речь не про исправленный вариант, а про исходный. Когда файл открывается на запись, все данные из него удаляются:<br /></p><div class="codebox"><pre><code>Set objFile = objFSO.OpenTextFile(&quot;csgo_english.txt&quot;, ForWriting, true, -1)</code></pre></div><p>В моём же случае производится запись данных.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Fri, 05 Feb 2016 18:11:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100880#p100880</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100878#p100878</link>
			<description><![CDATA[<p><strong>Flasher</strong><br />К сожалению не имею доступа к ПК в данный момент. Завтра могу отправить. Вас это устроит?</p>]]></description>
			<author><![CDATA[null@example.com (zuwiepro)]]></author>
			<pubDate>Fri, 05 Feb 2016 18:06:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100878#p100878</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100877#p100877</link>
			<description><![CDATA[<p><strong>zuwiepro</strong><br />Приложите конкретный файл, с которым так происходит.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Fri, 05 Feb 2016 18:04:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100877#p100877</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100876#p100876</link>
			<description><![CDATA[<p><strong>Flasher</strong><br />Иногда бывает, что просто удаляются все строки в файле</p>]]></description>
			<author><![CDATA[null@example.com (zuwiepro)]]></author>
			<pubDate>Fri, 05 Feb 2016 18:02:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100876#p100876</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100875#p100875</link>
			<description><![CDATA[<p><strong>zuwiepro</strong><br />Не понял вопроса. Что значит &quot;к чему&quot;?</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Fri, 05 Feb 2016 18:00:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100875#p100875</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100874#p100874</link>
			<description><![CDATA[<p><strong>Flasher</strong><br />Спасибо большое) ещё такой вопрос - к чему может производится удаление всех строчек в файле После запуска данного скрипта?</p>]]></description>
			<author><![CDATA[null@example.com (zuwiepro)]]></author>
			<pubDate>Fri, 05 Feb 2016 17:58:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100874#p100874</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100870#p100870</link>
			<description><![CDATA[<div class="codebox"><pre><code>Set FSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
strText = FSO.OpenTextFile(&quot;csgo_english.txt&quot;,,,-1).ReadAll
&#039;SFUI_MainMenu_PlayButton&#039;csgo_english
strText = Replace(strText,&quot;PLAY&quot;, &quot;&lt;font color=&#039;#800080&#039;&gt;PLAY&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_Inventory&#039;csgo_english
strText = Replace(strText,&quot;INVENTORY&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;INVENTORY&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_Watch&#039;csgo_english
strText = Replace(strText,&quot;WATCH&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;WATCH&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_My_Awards&#039;csgo_english
strText = Replace(strText,&quot;AWARDS&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;AWARDS&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_HelpButton&#039;csgo_english
strText = Replace(strText,&quot;OPTIONS&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;OPTIONS&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_StatsButton&#039;csgo_english
strText = Replace(strText,&quot;STATS&quot;, &quot;&lt;font color=&#039;#9ACD32&#039;&gt;STATS&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_DownloadButton&#039;csgo_english
strText = Replace(strText,&quot;DOWNLOAD CONTENT&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;DOWNLOAD CONTENT&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_SplitscreenWithBots&#039;csgo_english
strText = Replace(strText,&quot;SPLITSCREEN WITH BOTS&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;SPLITSCREEN WITH BOTS&lt;/font&gt;&quot;)
&#039;SFUI_MainMenu_QuitGameButton&#039;csgo_english
strText = Replace(strText,&quot;EXIT GAME&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;EXIT GAME&lt;/font&gt;&quot;)
FSO.OpenTextFile(&quot;csgo_english.txt&quot;, 2, True, -1).Write strText
MsgBox &quot;Готово! Цветные шрифты установлены!&quot;, 0, &quot;Спасибо за установку :*&quot;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Fri, 05 Feb 2016 17:49:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100870#p100870</guid>
		</item>
		<item>
			<title><![CDATA[VBS: Помощь по множественной замене строчек в файле]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100868#p100868</link>
			<description><![CDATA[<p><span style="color: #8B0000"><strong><em>Приветствую!</em></strong></span> Появился такой вопрос: как запустить весь скрипт? он находится в папке с файлом если что <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /><br /><strong>( Исправьте ошибки )</strong></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><span style="color: #FF0000">Set objFile = objFSO.OpenTextFile(&quot;csgo_english.txt&quot;, ForReading, false, -1)</span></p><p><span style="color: #00CD00">&#039;SFUI_MainMenu_PlayButton&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;PLAY&quot;, &quot;&lt;font color=&#039;#800080&#039;&gt;PLAY&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_Inventory&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;INVENTORY&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;INVENTORY&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_Watch&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;WATCH&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;WATCH&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_My_Awards&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;AWARDS&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;AWARDS&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_HelpButton&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;OPTIONS&quot;, &quot;&lt;font color=&#039;#9acd32&#039;&gt;OPTIONS&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_StatsButton&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;STATS&quot;, &quot;&lt;font color=&#039;#9ACD32&#039;&gt;STATS&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_DownloadButton&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;DOWNLOAD CONTENT&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;DOWNLOAD CONTENT&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_SplitscreenWithBots&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;SPLITSCREEN WITH BOTS&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;SPLITSCREEN WITH BOTS&lt;/font&gt;&quot;)</span><br /><span style="color: #00CD00">&#039;SFUI_MainMenu_QuitGameButton&#039;csgo_english</span><br /><span style="color: #5D478B">strText = Replace(strText,&quot;EXIT GAME&quot;, &quot;&lt;font color=&#039;#B22222&#039;&gt;EXIT GAME&lt;/font&gt;&quot;)</span><br /><span style="color: #FF0000">Set objFile = objFSO.OpenTextFile(&quot;csgo_english.txt&quot;, ForWriting, true, -1)</span></p><p><span style="color: #008B8B">MsgBox &quot;Готово! Цветные шрифты установлены!&quot;, 0, &quot;Спасибо за установку :*&quot;</span></p></div></div>]]></description>
			<author><![CDATA[null@example.com (zuwiepro)]]></author>
			<pubDate>Fri, 05 Feb 2016 17:10:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100868#p100868</guid>
		</item>
	</channel>
</rss>
