<?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>Earn Money Online with Brandon Hopkins &#187; iMacros</title>
	<atom:link href="http://www.brandon-hopkins.com/category/imacros/feed" rel="self" type="application/rss+xml" />
	<link>http://www.brandon-hopkins.com</link>
	<description>I think, then write.</description>
	<lastBuildDate>Tue, 08 Dec 2009 16:39:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>iMacros Select Random Datasource Line</title>
		<link>http://www.brandon-hopkins.com/imacros-select-random-datasource-line</link>
		<comments>http://www.brandon-hopkins.com/imacros-select-random-datasource-line#comments</comments>
		<pubDate>Sat, 31 Oct 2009 16:21:32 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[iMacros]]></category>

		<guid isPermaLink="false">http://www.brandon-hopkins.com/?p=423</guid>
		<description><![CDATA[If you&#8217;re like me, you want things to be as random as possible, this means selecting just about everything from a CSV or database. If you want to select a random line from your datasource, just create as many columns you need and use this code. URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1 TAG [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.brandon-hopkins.com%2Fimacros-select-random-datasource-line"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.brandon-hopkins.com%2Fimacros-select-random-datasource-line&amp;source=BrandonHopkins&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>If you&#8217;re like me, you want things to be as random as possible, this means selecting just about everything from a CSV or database.  If you want to select a random line from your datasource, just create as many columns you need and use this code.</p>
<p><code><br />
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm<br />
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1<br />
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10<br />
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random<br />
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT<br />
'<br />
SET !VAR1 {{!EXTRACT}}<br />
'<br />
CMDLINE !DATASOURCE datasource.csv<br />
SET !DATASOURCE_COLUMNS 1<br />
SET !DATASOURCE_LINE {{!VAR1}}</code></p>
<p>The last three lines are what choose the random line in your CSV.  Line 2 sets the low range and line 3 sets the high range of your random choice, so if you have a datasource with 55 lines, set the following.</p>
<p><code>TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10</code></p>
<p>Hope that helps you use iMacros in a better and more random way!</p>
<img src="http://www.brandon-hopkins.com/?ak_action=api_record_view&id=423&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.brandon-hopkins.com/imacros-select-random-datasource-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iMacros Random Number Variable</title>
		<link>http://www.brandon-hopkins.com/imacros-random-number-variable</link>
		<comments>http://www.brandon-hopkins.com/imacros-random-number-variable#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:09:28 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[iMacros]]></category>
		<category><![CDATA[imacros random number]]></category>
		<category><![CDATA[random number variable]]></category>

		<guid isPermaLink="false">http://www.brandon-hopkins.com/?p=420</guid>
		<description><![CDATA[I&#8217;ve been using iMacros a lot lately and absolutely love it! Here is a quick and easy snippet of code to set your variable to be a random number between X and Y. URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10 TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random TAG POS=18 TYPE=TD [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.brandon-hopkins.com%2Fimacros-random-number-variable"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.brandon-hopkins.com%2Fimacros-random-number-variable&amp;source=BrandonHopkins&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been using iMacros a lot lately and absolutely love it!  Here is a quick and easy snippet of code to set your variable to be a random number between X and Y.<br />
<code><br />
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm<br />
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1<br />
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10<br />
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random<br />
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT<br />
'<br />
SET !VAR1 {{!EXTRACT}}<br />
SET !EXTRACT NULL</code></p>
<p>This bit of code will choose a random number between 1 and 10 (you can change the high and low number on lines 2 and 3), extract that random number then set your random number into an iMacros variable !VAR1.  It then erases the !EXTRACT so you&#8217;re ready to move onto something else.</p>
<p>You can then use !VAR1 anywhere else you need to use that random number.  You can even use it multiple times!</p>
<img src="http://www.brandon-hopkins.com/?ak_action=api_record_view&id=420&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.brandon-hopkins.com/imacros-random-number-variable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
