<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Pulling items from a file consecutively?]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Pulling items from a file consecutively? of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Tue, 17 Aug 2010 21:38:52 +0300</lastBuildDateTag>		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32039/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Got it <br />
			<i>17 August 2010 21:38:52, <a href="http://www.ritlabs.com/en/forums/">thud</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32039/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32039/</guid>
			<pubDate>Tue, 17 Aug 2010 21:38:52 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32038/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />thud wrote:<br />Where should I place the XMP files? I dont see a plugins folder within Program Files/The Bat<br />=============<br />Anywhere, but remember to add a plugin (xmp.tbp file) in Options/Preferences - Plug-Ins. <br />
			<i>17 August 2010 20:50:23, <a href="http://www.ritlabs.com/en/forums/">K_S</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32038/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32038/</guid>
			<pubDate>Tue, 17 Aug 2010 20:50:23 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32037/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Maybe I installed it correctly? Where should I place the XMP files? I dont see a plugins folder within Program Files/The Bat <br />
			<i>17 August 2010 20:04:35, <a href="http://www.ritlabs.com/en/forums/">thud</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32037/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32037/</guid>
			<pubDate>Tue, 17 Aug 2010 20:04:35 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32036/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />Hm, I created the quick template but it doesn't seem to be working. Any advice?<br />=============<br /><br />Did You installed xmp plugin? Any error results after runnig a template?<br /><br />Try this slighty improved version:<br />
====code====
<pre>%_ini='e:&#92;Internet&#92;The Bat!&#92;XMP&#92;my.ini'%-
%_file=%_1%-
%IF:'%XMP_FileExist(%_file)'='0':'Bad filename':'%-
%_linenumber=%XMP_IniGet(%_ini, cons, %_file, 0)%-
%_maxline(%XMP_FileLnCnt(%_file))%-
%IFN:`%_linenumber`&#62;=`%_maxline`:`%_linenumber(0)`%-
%_linenumber(%CALC=`%_linenumber+1`)%-
%XMP_FileLines(%_file, %_linenumber, 1)%-
%XMP_IniSet(%_ini, cons, %_file, %_linenumber)%-
'%-</pre>
=============
<br />You must to correct a path in the first line (to place where You want to hold an ini file).<br /><br />To execute this template You must use macro %QINCLUDE with two parameters: template name and path to file. <br />
			<i>17 August 2010 19:45:52, <a href="http://www.ritlabs.com/en/forums/">K_S</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32036/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32036/</guid>
			<pubDate>Tue, 17 Aug 2010 19:45:52 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32035/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hm, I created the quick template but it doesn't seem to be working. Any advice? <br />
			<i>17 August 2010 17:47:35, <a href="http://www.ritlabs.com/en/forums/">thud</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32035/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32035/</guid>
			<pubDate>Tue, 17 Aug 2010 17:47:35 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32032/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />In line with %XMP_IniSet<br />=============<br />...and in line with macro %XMP_IniGet too, of course. <br />
			<i>17 August 2010 13:55:19, <a href="http://www.ritlabs.com/en/forums/">K_S</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32032/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32032/</guid>
			<pubDate>Tue, 17 Aug 2010 13:55:19 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32031/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			With xmp <noindex><a href="http://www.gaijin.at/tbpxmp.php" target="_blank" rel="nofollow">http://www.gaijin.at/tbpxmp.php</a></noindex> everything is possible!<br /><br />This is quick template called 'cons'<br /><br />
====code====
<pre>%_file=%_1%-
%IF:'%XMP_FileExist(%_file)'='0':'Bad filename':'%-
%_linenumber=%XMP_IniGet(`e:&#92;Internet&#92;The Bat!&#92;XMP&#92;my.ini`, `cons`,%-
`%_file`,1)%-
%_maxline(%XMP_FileLnCnt(%_file))%-
%XMP_FileLines(%_file, %_linenumber, 1)%-
%_linenumber(%CALC=`%_linenumber+1`)%-
%IFN:`%_linenumber`&#62;`%_maxline`:`%_linenumber(1)`%-
%XMP_IniSet(`e:&#92;Internet&#92;The Bat!&#92;XMP&#92;my.ini`, `cons`,%-
`%_file`, %_linenumber)%-
'%-</pre>
=============
<br /><br />In line with %XMP_IniSet you must put your own path to ini file (macro create this file if doesn't exist).<br /><br />To execute this quick template add in some template<br />
====code====
<pre>%QINCLUDE(cons, 'e:&#92;test.txt')%-
%QINCLUDE(cons, 'C:&#92;Documents and Settings&#92;Administrator&#92;Desktop&#92;items.txt')%-</pre>
============= <br />
			<i>17 August 2010 13:20:44, <a href="http://www.ritlabs.com/en/forums/">K_S</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32031/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32031/</guid>
			<pubDate>Tue, 17 Aug 2010 13:20:44 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32030/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Off hand I can't think of any way to do what you want, the cookie &nbsp;macro is designed to do its work randomly. And I don't know any third plug-in that offers the functionality you're looking for. <br />
			<i>17 August 2010 10:50:31, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32030/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32030/</guid>
			<pubDate>Tue, 17 Aug 2010 10:50:31 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32029/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			or if someone could provide me with another solution to accomplish this task, that would be great. <br />
			<i>17 August 2010 05:04:31, <a href="http://www.ritlabs.com/en/forums/">thud</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32029/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32029/</guid>
			<pubDate>Tue, 17 Aug 2010 05:04:31 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Pulling items from a file consecutively?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9544/message32028/">Pulling items from a file consecutively?</a></b> <i>How can I achieve this?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I need to be able to pull items/lines from a file consecutively. <br /><br />This works, but it pulls items RANDOMLY... I need to start from the top... I hope this is possible.<br /><br />%COOKIE="C:\Documents and Settings\Administrator\Desktop\items.txt"<br /><br />Thanks in advance! <br />
			<i>17 August 2010 04:30:30, <a href="http://www.ritlabs.com/en/forums/">thud</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9544/message32028/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9544/message32028/</guid>
			<pubDate>Tue, 17 Aug 2010 04:30:30 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
