Category: Scripting

Finding HTML Attributes For Automating Web Sites

November 24, 2015 by Marcus Tettmar in Automation, Scripting, Web/Tech

If you’re new to automating IE/websites with WebRecorder or the native Macro Scheduler IE functions you may be wondering how to determine which elements and attributes to use. In this video I demonstrate how to use IE’s F12 key to invoke Developer Tools and use that to quickly find the elements we’re interested in and […]

Read more »

Fix Unicode file with missing BOM

November 11, 2015 by Marcus Tettmar in Scripting

Macro Scheduler‘s ReadFile and ReadLn functions understand ANSI, UTF8 and Unicode files – as long as they have a valid BOM header.  But a client recently needed to read in a file with a missing BOM.  So we wrote a little bit of VBScript which reads the binary stream in, and then outputs a UTF8 […]

Read more »

Happy Holidays

December 15, 2014 by Marcus Tettmar in General, Pointless but Fun, Scripting

Just a quick note to wish all our customers and readers of this blog good tidings for this festive season. Whether you celebrate this time of the year or not, we’ll be raising a glass to all of you. Forum regular JRL has put together this snazzy little Macro Scheduler script. Paste it into a […]

Read more »

Tip: Remember – The Editor is a Debugger

November 18, 2014 by Marcus Tettmar in General, Scripting

When you run code in the Script Editor you are in fact running it inside a debugger. This allows you to run code line by line or in chunks, and evaluate the values of your script variables in the watch list as you go. By default – after a first install – the debugger always […]

Read more »

More SDK Examples – C++ and C##

October 30, 2014 by Marcus Tettmar in General, Scripting

Following on from my last post with some examples of using the MacroScript SDK within Python I thought I’d post a simple C# and C++ example. These are the same examples that ship with the MacroScript SDK: C# C++ More info on the MacroScript SDK is here.

Read more »

The Macro Scheduler MacroScript SDK in Python

October 14, 2014 by Marcus Tettmar in Automation, Scripting

Did you know there was a Macro Scheduler SDK? It allows you to run Macro Scheduler code from right within your own apps. You can run and interact with MacroScript code within VB, C++, C#, Delphi, VBScript … or any other programming language which lets you use a COM object or Win native DLL. It […]

Read more »

Detect Which Web Page IE Is On – Keep It Simple

August 8, 2014 by Marcus Tettmar in Automation, Scripting

Today we had two different support requests asking how to have a Macro Scheduler macro determine which page IE is on. One person was asking about using Image Recognition for that. You could also use the IE functions to examine the HTML or look for the existence of a specific HTML element. You could do […]

Read more »