<?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>Marcus' Macro Blog</title>
	<atom:link href="http://www.mjtnet.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mjtnet.com/blog</link>
	<description>Mostly tips, tutorials, articles and news about Macro Scheduler &#38; Windows Automation</description>
	<lastBuildDate>Tue, 24 Aug 2010 16:24:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Don&#8217;t Overwhelm your Target!</title>
		<link>http://www.mjtnet.com/blog/2010/08/24/dont-overwhelm-your-target/</link>
		<comments>http://www.mjtnet.com/blog/2010/08/24/dont-overwhelm-your-target/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 16:24:01 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1263</guid>
		<description><![CDATA[When sending keystrokes to other applications remember that Macro Scheduler works much faster than a human being can type.  Many applications do form field verification or background processing on the fly as the text is received.  And most applications were designed on the assumption that a human being would be operating them.  [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/01/16/keyboard-shortcuts/' rel='bookmark' title='Permanent Link: Keyboard Shortcuts'>Keyboard Shortcuts</a></li><li><a href='http://www.mjtnet.com/blog/2008/10/27/top-tips-for-reliable-macros/' rel='bookmark' title='Permanent Link: Top Tips for Reliable Macros'>Top Tips for Reliable Macros</a></li><li><a href='http://www.mjtnet.com/blog/2006/01/17/how-to-start-writing-an-automation-script/' rel='bookmark' title='Permanent Link: How to Start Writing an Automation Script'>How to Start Writing an Automation Script</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>When sending keystrokes to other applications remember that Macro Scheduler works much faster than a human being can type.  Many applications do form field verification or background processing on the fly as the text is received.  And most applications were designed on the assumption that a human being would be operating them.  It may not have occurred to the developers that a robot might try to send a stream of text to the UI at the rate of 5000 characters a second!</p>
<p>With some applications if you try to send too many characters at once you may find that some of those characters fail to show up, or the string is truncated.  </p>
<p>The solution should be obvious by now.  That is to slow down the key send rate.  You can do this easily by setting the SK_DELAY parameter which introduces a specified millisecond delay between each character.</p>
<pre name="code" class="macroscript">Let>SK_DELAY=20
Send>long_string</pre>
<p>Of course you could break the long string down into smaller chunks and insert a delay between them:</p>
<pre name="code" class="macroscript">Send>part_1
Wait>0.3
Send>part_2
Wait>0.2
Send>part_3</pre>
<p>But SK_DELAY is simpler and easier if you can&#8217;t control the length of the data easily.</p>
<p>A related issue I see every now and then is when &#8220;tabbing&#8221; from one field to another on a form.  Pressing the tab key moves the focus to the next field, so we use this while sending data into a form.  Sometimes we&#8217;ll encounter an application which needs a bit of time after a field has been focused before it can accept data, or the other way around.  So sending Tab immediately after/before sending the data with no delay fails to work.  Adding in a small delay between sending the data and the Tab solves it:</p>
<pre name="code" class="macroscript">Send>field_data
Wait>0.3
Press Tab

Wait>0.3
Send>next_field
Wait>0.3
Press Tab

etc</pre>
<p>Similarly when we need to tab through lots of fields at once without sending data we may try to save ourselves coding time by writing:</p>
<pre name="code" class="macroscript">Press Tab * 10</pre>
<p>But if the app needs time to react between each tab we may have to split that out into separate tabs with delays between them or replace with a repeat/until loop:</p>
<pre name="code" class="macroscript">Let>tabs=0
Repeat>tabs
  Press Tab
  Wait>0.2
  Let>tabs=tabs+1
Until>tabs=10</pre>
<p>As I&#8217;ve said many times before the most common causes of things not working as expected are either timing or focus.  Macros run way faster than a human can type which is often beneficial but if things aren&#8217;t quite right start off by slowing the macro down a bit.  You can always speed it up later!</p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Don%26%238217%3Bt+Overwhelm+your+Target%21+http://mjtnet.com/u7541" title="Post to Twitter (http://mjtnet.com/u7541)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/01/16/keyboard-shortcuts/' rel='bookmark' title='Permanent Link: Keyboard Shortcuts'>Keyboard Shortcuts</a></li><li><a href='http://www.mjtnet.com/blog/2008/10/27/top-tips-for-reliable-macros/' rel='bookmark' title='Permanent Link: Top Tips for Reliable Macros'>Top Tips for Reliable Macros</a></li><li><a href='http://www.mjtnet.com/blog/2006/01/17/how-to-start-writing-an-automation-script/' rel='bookmark' title='Permanent Link: How to Start Writing an Automation Script'>How to Start Writing an Automation Script</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/08/24/dont-overwhelm-your-target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macro Scheduler 12.0.6 Update Available</title>
		<link>http://www.mjtnet.com/blog/2010/08/06/macro-scheduler-12-0-6-update-available/</link>
		<comments>http://www.mjtnet.com/blog/2010/08/06/macro-scheduler-12-0-6-update-available/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:34:48 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1259</guid>
		<description><![CDATA[Macro Scheduler 12.0.6 is now available with the following fixes:

Added: SetDialogObjectFont can now ADD a style to the font (subsequent calls with a different style value will apply that value to whatever the existing style is (e.g. Bold, then Italic)

Added: WIN_SLEEP option can be set to 1 to cause WaitWindowOpen/Closed or OnEvent WINDOW_OPEN/NOTOPEN to yield [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2009/04/01/macro-scheduler-11108-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.08 Update'>Macro Scheduler 11.1.08 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/09/17/macro-scheduler-11114-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.14 Update'>Macro Scheduler 11.1.14 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/03/27/macro-scheduler-11107-update-released/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.07 Update Released'>Macro Scheduler 11.1.07 Update Released</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mjtnet.com/macro_scheduler.htm">Macro Scheduler</a> 12.0.6 is now available with the following fixes:</p>
<ul>
<li>Added: SetDialogObjectFont can now ADD a style to the font (subsequent calls with a different style value will apply that value to whatever the existing style is (e.g. Bold, then Italic)
</li>
<li>Added: WIN_SLEEP option can be set to 1 to cause WaitWindowOpen/Closed or OnEvent WINDOW_OPEN/NOTOPEN to yield to processor more (slower but less CPU usage) </li>
<li>Fixed: ExecuteFile was limited to command lines of length MAX_PATH. Limit removed. </li>
<li>Fixed: SetDialogObjectFont unable to reset font style to normal by setting font style to 0 (zero) </li>
<li>Fixed: VAREXPLICIT variable is not retrieved properly</li>
</ul>
<p>Workflow Designer and the SDK have also been updated to the same MacroScript version.</p>
<p><a href="http://www.mjtnet.com/dldregd.htm">Registered Downloads/Upgrades</a> | <a href="http://www.mjtnet.com/downloads.htm">Evaluation Downloads</a> | <a href="http://www.mjtnet.com/sales.htm">New License Sales</a></p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Macro+Scheduler+12.0.6+Update+Available+http://mjtnet.com/u7419" title="Post to Twitter (http://mjtnet.com/u7419)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2009/04/01/macro-scheduler-11108-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.08 Update'>Macro Scheduler 11.1.08 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/09/17/macro-scheduler-11114-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.14 Update'>Macro Scheduler 11.1.14 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/03/27/macro-scheduler-11107-update-released/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.07 Update Released'>Macro Scheduler 11.1.07 Update Released</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/08/06/macro-scheduler-12-0-6-update-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Practical Software Test Automation Course Now Available in e-Learning!</title>
		<link>http://www.mjtnet.com/blog/2010/07/26/practical-software-test-automation-course-now-available-in-e-learning/</link>
		<comments>http://www.mjtnet.com/blog/2010/07/26/practical-software-test-automation-course-now-available-in-e-learning/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 11:07:12 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1256</guid>
		<description><![CDATA[Rice Consulting have just announced that their new Practical Software Test Automation Course &#8211; which features Macro Scheduler for the scripting exercises &#8211; is now available in an e-Learning format.
This course focuses on the basics of software test automation and expands on those topics to learn some of the deeper issues of test automation.  [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/05/19/test-automation-class-update-european-dates/' rel='bookmark' title='Permanent Link: Test Automation Class Update; European Dates'>Test Automation Class Update; European Dates</a></li><li><a href='http://www.mjtnet.com/blog/2010/05/13/new-software-testing-course-featuring-macro-scheduler/' rel='bookmark' title='Permanent Link: New Software Testing Course Featuring Macro Scheduler'>New Software Testing Course Featuring Macro Scheduler</a></li><li><a href='http://www.mjtnet.com/blog/2008/03/21/round-up-of-learning-resources/' rel='bookmark' title='Permanent Link: Round-up of Learning Resources'>Round-up of Learning Resources</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.riceconsulting.com/">Rice Consulting</a> have just announced that their new <a href="http://riceconsulting.com/home/index.php/Test-Automation/practical-software-test-automation.html">Practical Software Test Automation Course</a> &#8211; which features Macro Scheduler for the scripting exercises &#8211; is now available in an e-Learning format.</p>
<blockquote><p>This course focuses on the basics of software test automation and expands on those topics to learn some of the deeper issues of test automation.  This course is not specific to any particular tool set but does include hands-on exercises using free and inexpensive test tools.  The tool used for test automation exercises is Macro Scheduler.</p>
<p>The main objective of this course is to help you understand the landscape of software test automation and how to make test automation a reality in your organization. You will learn the top challenges of test automation and which approaches are the best ones for your situation, how to establish your own test automation organization, and how to design software with test automation in mind. You will also learn many of the lessons of test automation by performing exercises using sample test automation tools on sample applications.</p></blockquote>
<p>I&#8217;ve been running through the course myself and so far I&#8217;m really impressed.  This is a great way to get started on test automation and the great value e-Learning format means you can do it in your own time at your convenience.   There&#8217;s also a whole module on using Macro Scheduler with some videos to help you get started.</p>
<p>You can see the <a href="http://riceconsulting.com/home/index.php/Test-Automation/practical-software-test-automation.html">course outline here</a>, <a href="http://softwaretestingtrainingonline.com/moodle/course/view.php?id=59">take a demo</a>, or <a href="http://www.mysoftwaretesting.com/ProductDetails.asp?ProductCode=PSTAELEARN&#038;Show=ExtInfo">sign up on line here</a>.</p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Practical+Software+Test+Automation+Course+Now+Available+in+e-Learning%21+http://mjtnet.com/u7383" title="Post to Twitter (http://mjtnet.com/u7383)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/05/19/test-automation-class-update-european-dates/' rel='bookmark' title='Permanent Link: Test Automation Class Update; European Dates'>Test Automation Class Update; European Dates</a></li><li><a href='http://www.mjtnet.com/blog/2010/05/13/new-software-testing-course-featuring-macro-scheduler/' rel='bookmark' title='Permanent Link: New Software Testing Course Featuring Macro Scheduler'>New Software Testing Course Featuring Macro Scheduler</a></li><li><a href='http://www.mjtnet.com/blog/2008/03/21/round-up-of-learning-resources/' rel='bookmark' title='Permanent Link: Round-up of Learning Resources'>Round-up of Learning Resources</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/07/26/practical-software-test-automation-course-now-available-in-e-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Launching URLs in Default Browser (and a small bug!)</title>
		<link>http://www.mjtnet.com/blog/2010/07/14/launching-urls-in-default-browser-and-a-small-bug/</link>
		<comments>http://www.mjtnet.com/blog/2010/07/14/launching-urls-in-default-browser-and-a-small-bug/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 10:06:10 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1253</guid>
		<description><![CDATA[A quick and easy way to launch a URL in the default web browser is just to use the ExecuteFile command:
ExecuteFile>http://www.mjtnet.com/
However, I have recently discovered that ExecuteFile is currently limited to a command line length of MAX_PATH (260 chars) and that if more than 260 chars are passed it will cause Macro Scheduler to crash. [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/03/04/choose-your-web-browser/' rel='bookmark' title='Permanent Link: Choose Your Web Browser'>Choose Your Web Browser</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/23/associating-a-file-extension-with-a-compiled-macro/' rel='bookmark' title='Permanent Link: Associating a File Extension with a Compiled Macro'>Associating a File Extension with a Compiled Macro</a></li><li><a href='http://www.mjtnet.com/blog/2007/08/07/keep-it-simple-shortcuts-and-applications/' rel='bookmark' title='Permanent Link: Keep it Simple &#8211; Shortcuts and Applications'>Keep it Simple &#8211; Shortcuts and Applications</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>A quick and easy way to launch a URL in the default web browser is just to use the ExecuteFile command:</p>
<p>ExecuteFile>http://www.mjtnet.com/</p>
<p>However, I have recently discovered that ExecuteFile is currently limited to a command line length of MAX_PATH (260 chars) and that if more than 260 chars are passed it will cause Macro Scheduler to crash.  This is a bug that we&#8217;ll get fixed in the next update (increase the limit if possible AND prevent a crash if more chars than can be handled are passed).</p>
<p>Another way to launch a URL in the default browser is to use the Run command.  First you need to determine the path to the default browser which you can do by querying the registry:</p>
<pre name="code" class="macroscript">Let>url=http://www.mjtnet.com/

//get path of default browser ...
RegistryReadKey>HKEY_CLASSES_ROOT,htmlfile\shell\open\command,,browserEXE

Run>%browserEXE% %url%</pre>
<p><a class="tt-small" href="http://twitter.com/home/?status=Launching+URLs+in+Default+Browser+%28and+a+small+bug%21%29+http://mjtnet.com/u7329" title="Post to Twitter (http://mjtnet.com/u7329)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/03/04/choose-your-web-browser/' rel='bookmark' title='Permanent Link: Choose Your Web Browser'>Choose Your Web Browser</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/23/associating-a-file-extension-with-a-compiled-macro/' rel='bookmark' title='Permanent Link: Associating a File Extension with a Compiled Macro'>Associating a File Extension with a Compiled Macro</a></li><li><a href='http://www.mjtnet.com/blog/2007/08/07/keep-it-simple-shortcuts-and-applications/' rel='bookmark' title='Permanent Link: Keep it Simple &#8211; Shortcuts and Applications'>Keep it Simple &#8211; Shortcuts and Applications</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/07/14/launching-urls-in-default-browser-and-a-small-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macro Scheduler 12.0.5 Update Available</title>
		<link>http://www.mjtnet.com/blog/2010/07/12/macro-scheduler-12-0-5-update-available/</link>
		<comments>http://www.mjtnet.com/blog/2010/07/12/macro-scheduler-12-0-5-update-available/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 10:11:50 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1249</guid>
		<description><![CDATA[Macro Scheduler 12.0.5 is now available with the following fixes:

Fixed: PNG images added to custom dialogs not saving correctly and therefore not displaying when dialog opened or script run.
Fixed: LClick and RClick not independent of left hand/right hand mouse settings (LCLick should always do primary button function).
Fixed: GetDialogProperty not retrieving properties of parent dialog itself [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2008/12/15/macro-scheduler-11032-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.32 Update'>Macro Scheduler 11.0.32 Update</a></li><li><a href='http://www.mjtnet.com/blog/2008/12/08/macro-scheduler-11030-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.31 Update'>Macro Scheduler 11.0.31 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/08/05/macro-scheduler-11113-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.13 Update'>Macro Scheduler 11.1.13 Update</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mjtnet.com/macro_scheduler.htm">Macro Scheduler</a> 12.0.5 is now available with the following fixes:</p>
<ul>
<li>Fixed: PNG images added to custom dialogs not saving correctly and therefore not displaying when dialog opened or script run.</li>
<li>Fixed: LClick and RClick not independent of left hand/right hand mouse settings (LCLick should always do primary button function).</li>
<li>Fixed: GetDialogProperty not retrieving properties of parent dialog itself (when object name ommitted).</li>
<li>Fixed: &#8220;The procedure entry point WTSUnRegisterSessionNotification could not be located in the dynamic link library wtsapi32.dll.&#8221; under Windows 2000.</li>
<li>Fixed: Macro Recorder failing to properly record window titles containing a colon character.</li>
<li>Fixed: Error messages in compiled scripts showing garbage instead of file name.</li>
</ul>
<p>Workflow Designer and the SDK have also been updated to the same MacroScript version.</p>
<p><a href="http://www.mjtnet.com/dldregd.htm">Registered Downloads/Upgrades</a> | <a href="http://www.mjtnet.com/downloads.htm">Evaluation Downloads</a> | <a href="http://www.mjtnet.com/sales.htm">New License Sales</a></p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Macro+Scheduler+12.0.5+Update+Available+http://mjtnet.com/u7281" title="Post to Twitter (http://mjtnet.com/u7281)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2008/12/15/macro-scheduler-11032-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.32 Update'>Macro Scheduler 11.0.32 Update</a></li><li><a href='http://www.mjtnet.com/blog/2008/12/08/macro-scheduler-11030-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.31 Update'>Macro Scheduler 11.0.31 Update</a></li><li><a href='http://www.mjtnet.com/blog/2009/08/05/macro-scheduler-11113-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.1.13 Update'>Macro Scheduler 11.1.13 Update</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/07/12/macro-scheduler-12-0-5-update-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Success Story: Automated Information Retrieval and Report Production</title>
		<link>http://www.mjtnet.com/blog/2010/07/05/success-story-automated-information-retrieval-and-report-production/</link>
		<comments>http://www.mjtnet.com/blog/2010/07/05/success-story-automated-information-retrieval-and-report-production/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 14:12:01 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Success Stories]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1245</guid>
		<description><![CDATA[This was posted to the forum recently and I thought I would share:
I&#8217;m currently using [Macro Scheduler] to pull aviation electronic manufacturing information from a SAP database, compile into a MS Access database, then generate a report such that the data becomes useful information needed to identify and prioritize manufacturing tasks and processes across a [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/02/07/macro-scheduler-success-story-epa/' rel='bookmark' title='Permanent Link: Macro Scheduler Success Story &#8211; EPA'>Macro Scheduler Success Story &#8211; EPA</a></li><li><a href='http://www.mjtnet.com/blog/2006/03/09/macro-scheduler-success-story-isbvi/' rel='bookmark' title='Permanent Link: Macro Scheduler Success Story &#8211; ISBVI'>Macro Scheduler Success Story &#8211; ISBVI</a></li><li><a href='http://www.mjtnet.com/blog/2008/11/13/success-story-progressive-dairy-health-services-saves-16kyear/' rel='bookmark' title='Permanent Link: Success Story: Progressive Dairy Health Services Saves $16k/year'>Success Story: Progressive Dairy Health Services Saves $16k/year</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This was <a href="http://www.mjtnet.com/usergroup/viewtopic.php?p=27937">posted to the forum</a> recently and I thought I would share:</p>
<blockquote><p>I&#8217;m currently using [Macro Scheduler] to pull aviation electronic manufacturing information from a SAP database, compile into a MS Access database, then generate a report such that the data becomes useful information needed to identify and prioritize manufacturing tasks and processes across a diverse profile of complex systems being manufactured. </p>
<p>Had to spend hour+ (heavy on the +) every day spread out throughout an entire shift getting this information manually. Often, due to the length of time to acquire the info, the information would be derived too late in the shift to make good use of it. Lost opportunities and manufacturing delays galore. </p>
<p>The information can now be gleaned by anyone within minutes. The entire department is empowered to work smarter through making use of accurate real-time visual status information. Status is no longer hidden or obscure to visualize. </p>
<p>I was able to understand and adapt to the very easy to use Macro Scheduler structure with little frustration. I found that things I tried actually worked as anticipated and worked far more reliably than I dared hope for. When stuck, I found EXACTLY what information I needed in your forums. In fact, I ecstatically found differing superior methods in other areas of interest while searching for these solutions. </p>
<p>I haven’t had this much fun in decades. I want to thank the crew @ mjtnet and the users of Macro Scheduler for the efforts that brought enlightenment to me of a better way to do things.</p></blockquote>
<p><a href="http://www.mjtnet.com/usergroup/viewtopic.php?t=17">Share YOUR story &#8211; what do you use Macro Scheduler for and how does it benefit you?</a></p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Success+Story%3A+Automated+Information+Retrieval+and+Report+Production+http://mjtnet.com/u7249" title="Post to Twitter (http://mjtnet.com/u7249)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/02/07/macro-scheduler-success-story-epa/' rel='bookmark' title='Permanent Link: Macro Scheduler Success Story &#8211; EPA'>Macro Scheduler Success Story &#8211; EPA</a></li><li><a href='http://www.mjtnet.com/blog/2006/03/09/macro-scheduler-success-story-isbvi/' rel='bookmark' title='Permanent Link: Macro Scheduler Success Story &#8211; ISBVI'>Macro Scheduler Success Story &#8211; ISBVI</a></li><li><a href='http://www.mjtnet.com/blog/2008/11/13/success-story-progressive-dairy-health-services-saves-16kyear/' rel='bookmark' title='Permanent Link: Success Story: Progressive Dairy Health Services Saves $16k/year'>Success Story: Progressive Dairy Health Services Saves $16k/year</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/07/05/success-story-automated-information-retrieval-and-report-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebRecorder Update</title>
		<link>http://www.mjtnet.com/blog/2010/06/28/webrecorder-update-3/</link>
		<comments>http://www.mjtnet.com/blog/2010/06/28/webrecorder-update-3/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:35:06 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1243</guid>
		<description><![CDATA[WebRecorder has been updated with a new version of the runtime component &#8211; IEAuto.DLL version 2.07.  
This fixes a small bug preventing the ExtractTagByName function from extracting form field values.  ExtractTag was working correctly but the same functionality to retrieve form field values was missing from ExtractTagByName.
Registered users can download the WebRecorder update [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/02/02/webrecorder-165-update/' rel='bookmark' title='Permanent Link: WebRecorder 1.65 Update'>WebRecorder 1.65 Update</a></li><li><a href='http://www.mjtnet.com/blog/2007/09/18/webrecorder-update/' rel='bookmark' title='Permanent Link: WebRecorder Update'>WebRecorder Update</a></li><li><a href='http://www.mjtnet.com/blog/2010/01/15/webrecorder-2-2-update/' rel='bookmark' title='Permanent Link: WebRecorder 2.2 Update'>WebRecorder 2.2 Update</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>WebRecorder has been updated with a new version of the runtime component &#8211; IEAuto.DLL version 2.07.  </p>
<p>This fixes a small bug preventing the ExtractTagByName function from extracting form field values.  ExtractTag was working correctly but the same functionality to retrieve form field values was missing from ExtractTagByName.</p>
<p>Registered users can download the WebRecorder update from the <a href="http://www.mjtnet.com/dldregd.htm">registered downloads area</a>.</p>
<p><a class="tt-small" href="http://twitter.com/home/?status=WebRecorder+Update+http://mjtnet.com/u7221" title="Post to Twitter (http://mjtnet.com/u7221)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/02/02/webrecorder-165-update/' rel='bookmark' title='Permanent Link: WebRecorder 1.65 Update'>WebRecorder 1.65 Update</a></li><li><a href='http://www.mjtnet.com/blog/2007/09/18/webrecorder-update/' rel='bookmark' title='Permanent Link: WebRecorder Update'>WebRecorder Update</a></li><li><a href='http://www.mjtnet.com/blog/2010/01/15/webrecorder-2-2-update/' rel='bookmark' title='Permanent Link: WebRecorder 2.2 Update'>WebRecorder 2.2 Update</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/06/28/webrecorder-update-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macro Scheduler 12.0.4 Update Available</title>
		<link>http://www.mjtnet.com/blog/2010/06/28/macro-scheduler-12-0-4-update-available/</link>
		<comments>http://www.mjtnet.com/blog/2010/06/28/macro-scheduler-12-0-4-update-available/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:13:01 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1241</guid>
		<description><![CDATA[Macro Scheduler 12.0.4 is now available with the following fixes:

Fixed: _DUMP_VARS not working in all circumstances
Fixed: XLSetCell help file topic has missing result variable
Fixed: XLSetCell help file topic has missing result variable
Fixed: XLSave not working if variable in filename

Workflow Designer and the SDK have also been updated to the same MacroScript version.
Registered Downloads/Upgrades &#124; Evaluation [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/06/03/macro-scheduler-12-0-1-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.1 Update Available'>Macro Scheduler 12.0.1 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/07/macro-scheduler-12-0-2-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.2 Update Available'>Macro Scheduler 12.0.2 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2008/12/04/macro-scheduler-11027-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.27 Update'>Macro Scheduler 11.0.27 Update</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mjtnet.com/macro_scheduler.htm">Macro Scheduler</a> 12.0.4 is now available with the following fixes:</p>
<ul>
<li>Fixed: _DUMP_VARS not working in all circumstances</li>
<li>Fixed: XLSetCell help file topic has missing result variable</li>
<li>Fixed: XLSetCell help file topic has missing result variable</li>
<li>Fixed: XLSave not working if variable in filename</li>
</ul>
<p>Workflow Designer and the SDK have also been updated to the same MacroScript version.</p>
<p><a href="http://www.mjtnet.com/dldregd.htm">Registered Downloads/Upgrades</a> | <a href="http://www.mjtnet.com/downloads.htm">Evaluation Downloads</a> | <a href="http://www.mjtnet.com/sales.htm">New License Sales</a></p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Macro+Scheduler+12.0.4+Update+Available+http://mjtnet.com/u7194" title="Post to Twitter (http://mjtnet.com/u7194)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2010/06/03/macro-scheduler-12-0-1-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.1 Update Available'>Macro Scheduler 12.0.1 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/07/macro-scheduler-12-0-2-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.2 Update Available'>Macro Scheduler 12.0.2 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2008/12/04/macro-scheduler-11027-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.27 Update'>Macro Scheduler 11.0.27 Update</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/06/28/macro-scheduler-12-0-4-update-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Associating a File Extension with a Compiled Macro</title>
		<link>http://www.mjtnet.com/blog/2010/06/23/associating-a-file-extension-with-a-compiled-macro/</link>
		<comments>http://www.mjtnet.com/blog/2010/06/23/associating-a-file-extension-with-a-compiled-macro/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 10:14:46 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1237</guid>
		<description><![CDATA[I have a few scripts which perform actions on files.  Rather than have the script ask me what file to use, it is easier to associate the file type with the script so that I can just double click on the file (or right click and choose &#8220;Open with&#8221;) in Windows Explorer.
For this to [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/11/09/code-signing-compiled-macros/' rel='bookmark' title='Permanent Link: Code Signing Compiled Macros'>Code Signing Compiled Macros</a></li><li><a href='http://www.mjtnet.com/blog/2009/11/05/how-to-sort-a-csv-file/' rel='bookmark' title='Permanent Link: How to Sort a CSV File'>How to Sort a CSV File</a></li><li><a href='http://www.mjtnet.com/blog/2006/02/16/scripting-file-upload-boxes/' rel='bookmark' title='Permanent Link: Scripting File Upload Boxes'>Scripting File Upload Boxes</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I have a few scripts which perform actions on files.  Rather than have the script ask me what file to use, it is easier to associate the file type with the script so that I can just double click on the file (or right click and choose &#8220;Open with&#8221;) in Windows Explorer.</p>
<p>For this to work the script must first accept a file on the command line.  Here&#8217;s a really simple script which reads the content of a file passed into the script with the &#8220;thefile&#8221; command line parameter:</p>
<pre name="code" class="macroscript">ReadFile>%thefile%,fdata
MessageModal>fdata</pre>
<p>If you were to compile this script and then pass thefile on the command line it would read in the file content and display it in a message box:</p>
<blockquote><p>c:\path\myexe.exe /thefile=c:\somefile.mjt</p></blockquote>
<p>Now, if we create a file association for .mjt files we would only need to double click on the .mjt file to have it open in the exe.</p>
<p>The easiest way to create a file association for a file that does not already have one is to just double click on the file in Windows Explorer.  Then when asked choose to select from a list of installed programs and on the next dialog click on the &#8220;Browse&#8221; button to locate your executable.</p>
<p>If the file extension is already associated with other applications then right click on the file and choose &#8220;Open With&#8221; and then &#8220;Choose program&#8230;&#8221;, then UNCHECK &#8220;Always use the selected program to open this kind of file&#8221; and click on &#8220;Browse&#8221; to locate your executable.</p>
<p>Initially this won&#8217;t quite work.  We need to make a small change, as this creates a mapping in the registry which looks like this:</p>
<blockquote><p>&#8220;c:\path\myexe.exe&#8221; &#8220;%1&#8243;</p></blockquote>
<p>We want to change it to:</p>
<blockquote><p>&#8220;c:\path\myexe.exe&#8221; /thefile=&#8221;%1&#8243;</p></blockquote>
<p>So after creating the file association via Windows Explorer we need to make a small registry change:</p>
<p>1. Fire up RegEdit.exe (Start/Run and then type regedit.exe)<br />
2. Open HKEY_CLASSES_ROOT<br />
3. Search for your exe name to find the &#8220;c:\path\myexe.exe&#8221; &#8220;%1&#8243; entry<br />
4. Make the change as above, changing the &#8220;%1&#8243; to /thefile=&#8221;%1&#8243;</p>
<p>Now, when you double click the file (or right click/Open with) it will launch your exe, with the filename passed to it in the &#8220;thefile&#8221; parameter.  </p>
<p>You could actually code the script in such a way that you don&#8217;t need to do the registry change.  You could parse the COMMAND_LINE system variable to get the file from the command line, without requiring a custom parameter name.  This is discussed in this <a href="http://www.mjtnet.com/usergroup/viewtopic.php?t=5951">forum post</a> which talks about being able to drag and drop a file onto a script.  </p>
<p>If you want to create the file association programmatically, take a look at what registry entries are created by Windows when you do it manually.  Then you can use the registry functions to achieve the same.  E.g. this script associates .why files with the &#8220;c:\where\why.exe&#8221; executable expecting the file in a parameter called &#8220;thefile&#8221;:</p>
<pre name="code" class="macroscript">RegistryWriteKey>HKEY_CLASSES_ROOT,.why,,why_auto_file
RegistryWriteKey>HKEY_CLASSES_ROOT,why_auto_file\shell\open\command,,"c:\where\why.exe" /thefile="%1"</pre>
<p><a class="tt-small" href="http://twitter.com/home/?status=Associating+a+File+Extension+with+a+Compiled+Macro+http://mjtnet.com/u7171" title="Post to Twitter (http://mjtnet.com/u7171)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2006/11/09/code-signing-compiled-macros/' rel='bookmark' title='Permanent Link: Code Signing Compiled Macros'>Code Signing Compiled Macros</a></li><li><a href='http://www.mjtnet.com/blog/2009/11/05/how-to-sort-a-csv-file/' rel='bookmark' title='Permanent Link: How to Sort a CSV File'>How to Sort a CSV File</a></li><li><a href='http://www.mjtnet.com/blog/2006/02/16/scripting-file-upload-boxes/' rel='bookmark' title='Permanent Link: Scripting File Upload Boxes'>Scripting File Upload Boxes</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/06/23/associating-a-file-extension-with-a-compiled-macro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macro Scheduler 12.0.2 Update Available</title>
		<link>http://www.mjtnet.com/blog/2010/06/07/macro-scheduler-12-0-2-update-available/</link>
		<comments>http://www.mjtnet.com/blog/2010/06/07/macro-scheduler-12-0-2-update-available/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 10:38:06 +0000</pubDate>
		<dc:creator>Marcus Tettmar</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mjtnet.com/blog/?p=1234</guid>
		<description><![CDATA[Macro Scheduler 12.0.2 is now available with the following fixes:

Fixed: Exit command not working inside dialog event sub when macro run outside of debug 
Fixed: Error when trying to save script opened in new tab  
Fixed: &#8220;Macro in command line does not exist&#8221; error when running, via command line, a macro which calls another [...]


Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2008/12/08/macro-scheduler-11030-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.31 Update'>Macro Scheduler 11.0.31 Update</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/03/macro-scheduler-12-0-1-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.1 Update Available'>Macro Scheduler 12.0.1 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2010/08/06/macro-scheduler-12-0-6-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.6 Update Available'>Macro Scheduler 12.0.6 Update Available</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mjtnet.com/macro_scheduler.htm">Macro Scheduler</a> 12.0.2 is now available with the following fixes:</p>
<ul>
<li>Fixed: Exit command not working inside dialog event sub when macro run outside of debug </li>
<li>Fixed: Error when trying to save script opened in new tab  </li>
<li>Fixed: &#8220;Macro in command line does not exist&#8221; error when running, via command line, a macro which calls another macro</li>
<li>Added: Version check when performing news feed check </li>
</ul>
<p>Workflow Designer and the SDK have also been updated to the same MacroScript version.</p>
<p><a href="http://www.mjtnet.com/dldregd.htm">Registered Downloads/Upgrades</a> | <a href="http://www.mjtnet.com/downloads.htm">Evaluation Downloads</a> | <a href="http://www.mjtnet.com/sales.htm">New License Sales</a></p>
<p><a class="tt-small" href="http://twitter.com/home/?status=Macro+Scheduler+12.0.2+Update+Available+http://mjtnet.com/u7023" title="Post to Twitter (http://mjtnet.com/u7023)"><img class="nothumb" src="http://www.mjtnet.com/blog/wp-content/plugins/tweet-this/tweet-this-small.png" alt="[Post to Twitter]" /> Tweet This</a></p>

<p>Related posts:<ol><li><a href='http://www.mjtnet.com/blog/2008/12/08/macro-scheduler-11030-update/' rel='bookmark' title='Permanent Link: Macro Scheduler 11.0.31 Update'>Macro Scheduler 11.0.31 Update</a></li><li><a href='http://www.mjtnet.com/blog/2010/06/03/macro-scheduler-12-0-1-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.1 Update Available'>Macro Scheduler 12.0.1 Update Available</a></li><li><a href='http://www.mjtnet.com/blog/2010/08/06/macro-scheduler-12-0-6-update-available/' rel='bookmark' title='Permanent Link: Macro Scheduler 12.0.6 Update Available'>Macro Scheduler 12.0.6 Update Available</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mjtnet.com/blog/2010/06/07/macro-scheduler-12-0-2-update-available/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
