September 30, 2007

Speech Recognition for Automation

Filed under: Scripting — Marcus Tettmar @ 4:52 pm

The last time I tried speech recognition was about 15 years ago and back then it wasn’t very good. I suppose it was early days for the technology but I pretty much gave up on it. This morning, however, I was reading Scott Hanselman’s post about speech recognition in Vista and wanted to give it a go myself. It just so happened that I was in PC world today so I picked up a decent microphone, which I have been meaning to get for a while anyway – for product demos and Skype etc.

So when I got back I hooked up the microphone to my vista box and started playing with speech recognition. My goodness it is pretty amazing! In fact I am writing this post using dictation.

One really cool thing is that I can start Macro Scheduler macros using voice recognition by speaking the keyboard shortcuts assigned to them. This could be really handy in situations where voice recognition is needed for controlling complicated processes. E.g. Hands-busy medical applications, or for helping people with disabilities. Macros can be written to control those processes and assigned to shortcuts which can be triggered by voice commands. And all this is capable using Windows Vista without extra software (except Macro Scheduler of course).

QuickButtons makes it easier because you just have to say the text of a button rather than the shortcut key sequence. With QuickButtons you can create an AppBar with buttons assigned to keystroke macros, applications or Macro Scheduler macros. The AppBar can remain visible above or below the application you are working in. Just speak the caption of a button and that button is “clicked” and the macro is executed.

So not only have I learnt how cool Vista’s speech recognition is today, I’ve also discovered how it can be used with our very own Macro Scheduler and QuickButtons to great effect. Dedicated voice recognition software can cost thousands. Yet with Vista and Macro Scheduler and/or QuickButtons you can make voice recognition do anything for far less. Awesome.

September 27, 2007

The Excel 2007 Bug Explained

Filed under: General — Marcus Tettmar @ 7:36 pm

If you haven’t already heard about the Excel bug, open up Excel 2007 and try multiplying 77.1 with 850:

=77.1*850

Clearly that should give you 65,535. But Excel 2007 returns 100,000. Oops.

It turns out it’s just a presentational bug. The displayed result is wrong, but the underlying value is correct. If you were to create a graph or access the value from VBA, you’d get the right result. Read Joel’s post for a clear explanation of why this is.

Speaking of Office 2007, I had a near disaster with Outlook today when it refused to work. It crashed on startup, and kept trying to restart itself, only to crash again. Got it sorted in the end. But I’ve been meaning to implement a decent backup solution for Outlook since I switched to it a few months ago. So today I installed BackupOutlook from our friends at Wisco. Does the job nicely. If you’re looking for a decent Outlook Backup tool you should check it out.

September 20, 2007

Direct Access Discount Day

Filed under: General — Marcus Tettmar @ 8:11 am

There’s a great deal on Direct Access, one of my favourite apps, over on Bits du Jour today. 40% off. Today only. Go grab it.

Direct Access lets you assign textual abbreviations to applications and other actions on your PC. Say you want to open Microsoft Word, you can just type “word” wherever you are, whatever application you’re working on. You can also create text substitutions. E.g. you could be writing an email and type “sign” and it will replace “sign” with your signature. Of course, there’s a confirmation key so you have to hit Shift, or F12 to confirm these actions. Otherwise I’d have opened Word three times and inserted my signature twice while trying to write this post 🙂

Direct Access is a really smart tool, written by my good friend Andrea Nagar of Nagarsoft. Please do check it out. I don’t often recommend other people’s software, but I just love Direct Access.

Macro Scheduler 9.1.05 Released

Filed under: Announcements — Marcus Tettmar @ 8:08 am

Macro Scheduler 9.1.05 maintenance update was released yesterday.

– Fixed: delay on some systems when saving scripts
– Fixed: Rare issue starting trial on Win2003 Svr RC2
– Fixed: SCRIPT_FILE variable showing garbage in compiled script
– Fixed: Possible “Invalid Pointer Operation” error on windows shutdown

Download the evaluation | Registered Updates

September 18, 2007

WebRecorder Update

Filed under: Announcements, Automation — Marcus Tettmar @ 8:51 am

Today we have released an update to WebRecorder:

WebRecorder GUI: 1.73
IEAuto.DLL: 1.79

Fixed: ContainsText unable to access content of some frames
Fixed: ExtractTag unable to access content of some frames

This update also correctly reports the version number of the WebRecorder GUI and the IEAuto.DLL version number. It now therefore works better with the online update checker and should be less confusing when checking for updates! 🙂

WebRecorder Info | Evaluation Downloads | Registered Updates

September 13, 2007

September 12, 2007

Debug, Debug, Debug

Filed under: Scripting — Marcus Tettmar @ 10:18 am

Many support requests and forum posts I see include a script snippet and a statement like “this value is wrong” or “the if statement says false but it should be true”. So we make an intelligent guess and say “so perhaps the value you are comparing isn’t what you think it is. Use the debugger”.

Stepping through the debugger reveals answers to problems like this quickly. Another way of checking values is to use a diagnostic message box. Whack a line like this into the script:

MessageModal>%MyVariable%

And see if MyVariable is what you are expecting.

Here’s an article I wrote some time ago on how to use the debugger.

http://www.mjtnet.com/blog/2006/05/17/use-the-debugger/

Use it. Debug. Debug. Debug. Please.

August 27, 2007

Date Picker Dialog

Filed under: Scripting — Marcus Tettmar @ 1:03 pm

Here’s a little script I wrote to give you a Date Picker dialog.

Useful if you need to ask the user to select a date and want to make it easy for the user and avoid too much validation.

August 23, 2007

Macro Scheduler Success Story – Convergent Solutions

Filed under: Success Stories — Marcus Tettmar @ 8:36 pm

By Ed Authier.

I used to consider Macro Scheduler just another tool to manage the technology that surrounded me everyday in my career. But at a certain point I realized that it was the best tool I had.

Many years ago a colleague introduced Macro Scheduler to me and in those days we used to supplement the Business System job streams that could not be automated inherently; nightly reports and routines, etc.

From there it evolved into complete elimination of printed reports; then through that automation we eliminated a nightly staff position from the IT team.

I then took Macro Scheduler into network engineering with me. Macro Scheduler would monitor router interfaces and call the on-staff person in the event of an outage. I also utilized it for VPN tunnel monitoring. In recent years, I’ve tied it into the clinical systems I have been working with.

There are so many possibilities with Macro Scheduler. I have read (in the forum) recently that Macro Scheduler is for the “layman” developer, but even with VBScripting you just cannot manage all your code and compile tight executables as you can with Macro Scheduler.

The other items that many people may overlook are the updates, enhancements, and fixes. Marcus and company are very commendable in this area. MJT Net also has an excellent response to support issues.

I am now a partner in my own business and I honestly believe that Macro Scheduler has had a hand in my success thus far.

Edward Authier, Chief Information Officer
Convergent Solutions, Inc.
http://www.convergentsolutions.com

Beware of Cheap and Expensive Imitations

Filed under: General — Marcus Tettmar @ 8:50 am

I just stumbled across a couple of posts in another automation product’s forum where someone was asking how to perform date calculations in their automation routines.

In Macro Scheduler you can add or subtract days to a date with one line of code. E.g.:

Sub>date,1

Or, for more advanced date calculations and formatting, you can use a few lines of simple VBScript code, right inside your macro. Here’s a link to an article I wrote on handling dates in Macro Scheduler.

The official solution to the forum post from our competitor’s tech support person was to have the macro manipulate Excel. Yes, to perform a date calculation you are supposed to write steps to open Excel, send keystrokes to it, paste in a formula, send keystrokes to copy the result to the clipboard, and then retrieve that to a variable, which must itself be created in some convoluted manner. Phew!

Imagine doing that inside a loop that iterates several hundred times. Not exactly portable or elegant, and rather prone to error. And anyway, what if you don’t have Excel installed on the computer the macro needs to run on?

Ok, so you’re thinking: “so what, this tool is probably a low end product”. Well get this, the basic version costs MORE than Macro Scheduler Std. The business edition (still with the same [lack of] functionality) costs over FOUR times more than our Macro Scheduler Pro Enterprise package.

If you’re fed up with the limitations of your automation tool and want to switch to the real deal, drop us a line and we’ll offer you a competitive upgrade discount. You know it makes sense.