Category: Automation

How to Use Image Recognition

February 20, 2007 by Marcus Tettmar in Automation, Scripting

What is Image Recognition? Update. Image Recognition has been vastly improved and simplified since this article was written and in v13 we introduced an Image Recognition Code Wizard. Watch this video to see how simple it is. Image Recognition allows Macro Scheduler to find a bitmap (needle) in another, larger, bitmap (haystack) and return its […]

Read more »

AppNavigator – Point and Click Enterprise Automation

January 19, 2007 by Marcus Tettmar in Announcements, Automation

AppNavigator is a powerful new tool that lets you create automation routines graphically, without any need to write code. With this software you can create processes by highlighting screen objects and assigning actions to them. Any process can be automated based on simple graphics – by “seeing” the screen. Just show AppNavigator what to watch […]

Read more »

Web Automation in Vista

December 5, 2006 by Marcus Tettmar in Announcements, Automation, Scripting, Vista

To run WebRecorder, or VBScript macros which automate Internet Explorer in Vista (IE7), you will first need to disable “Protected Mode”. Consider this simple VBScript code: Dim IE Set IE = CreateObject(“InternetExplorer.Application”) IE.Visible=1 IE.Navigate “http://www.mjtnet.com” In IE6 and in IE7 under XP this code would create a new IE instance and then navigate it to […]

Read more »

Brilliant Image Recognition

October 26, 2006 by Marcus Tettmar in Automation, General

Wells Anderson posts: “Image Recognition is a brilliant new feature in 9.0. It allows you to write macros that press buttons that are “invisible” or have unpredictable locations. For example, add-ins to MS Outlook and other MS Office applications may have no menu equivalents and cannot be found using PushButton or FindWindowWithText. Image Recognition lets […]

Read more »

Running UI Automation Routines Concurrently

September 15, 2006 by Marcus Tettmar in Automation

Macro Scheduler is able to automate other applications by simulating what a user does. There are some exceptions – e.g. it is possible to automate Internet Explorer and Microsoft Office applications through their COM interfaces. But for the vast majority of applications the only way to automate them is by simulating user input and manipulating […]

Read more »

Get Selected Tab Index

September 7, 2006 by Marcus Tettmar in Automation, Scripting

As you probably already know, selecting a page of a tab control is usually best achieved by sending CTRL-TAB. So on opening an application we can use the following Macro Scheduler code to jump to the third tab: SetFocus>Window_Title Press CTRL Press Tab * 2 Release CTRL This issues CTRL-TAB twice and therefore cycles through […]

Read more »

Activating System Tray Icons

July 13, 2006 by Marcus Tettmar in Automation, Scripting

This one has bugged me for years – how to automate activating a system tray icon. For starters, the System Tray is designed to be manipulated with the mouse. We could send mouse clicks to icons in the system tray but for the fact that icons don’t always appear in the same place in the […]

Read more »

Automated Adobe Reader Install – Waiting for Window Content

July 5, 2006 by Marcus Tettmar in Automation, Scripting

Here’s a script to automate the installation of Adobe Reader: http://www.mjtnet.com/usergroup/viewtopic.php?t=3034 This script demonstrates how to wait for windows to change based on the text within them. As with the majority of installers, Adobe Reader’s installer has a series of windows with the same title with differing content, and “Next” buttons to progress through the […]

Read more »

Automated Google Rank Checker

June 12, 2006 by Marcus Tettmar in Automation, Scripting, Web/Tech

I’ve just had a bit of fun writing a couple of small scripts that will search Google for a set of key phrases and find the position of a specified URL for those key phrases in the results. I have built two versions of this script. One with a simple dialog where you can enter […]

Read more »

Screen OCR – Recognising Graphical Text

June 6, 2006 by Marcus Tettmar in Automation, Scripting

[UPDATE: 27.3.2018 – Since this article was written Macro Scheduler now has built in Screen OCR functions] We often need to write scripts that extract text from a window or some area of the screen. Usually this can be achieved via the clipboard, or commands such as GetWindowText and GetControlText, or via a Win32 API […]

Read more »