February 3, 2012

How long does xyz take?

Filed under: Scripting — Marcus Tettmar @ 12:14 pm

Need to measure how long a process or a set of commands in your script takes?

We used to have to do this with VBScript’s Timer function. As of v13 Macro Scheduler has it’s own Timer function.

Timer>result

Returns the number of milliseconds that have elapsed since the script was started.

So let’s say we want to measure how long a script takes to run. We could use Timer at the top of the script to get the current milliseconds value, then again at the end and take one from the other to get the elapsed duration in milliseconds:

Timer>startTime
..
.. some code here
..
Timer>endTime
Let>elapsed_seconds={(%endTime%-%startTime%)/1000}
MessageModal>Seconds Elapsed: %elapsed_seconds%

January 24, 2012

WebRecorder 3.0 – Faster, More Reliable, More Functions

Filed under: Automation, Web/Tech — Marcus Tettmar @ 11:04 pm

We have today released WebRecorder 3.0.

WebRecorder 3.0 - Faster more reliable internet macros

This is a major rewrite with a better recording engine capable of recording more tags and producing leaner, cleaner, code and a faster and more reliable runtime.

It also introduces a download manager so that file downloads can be recorded and scripted more easily without recourse to sending keystrokes to IE’s standard file download box.

We’ve improved the existing commands so that you can script more tags and use more attributes and added new functions for retrieving data, retrieving the screen position of elements and interfacing with the new native IE functions in Macro Scheduler 13.1.

Oh, and you no longer need to use the mouse to record clicks and form fills!

  • Cleaner, leaner, faster code.
  • More reliable method for waiting for documents to complete loading
  • Download manager for scripting file downloads
  • Better error trapping
  • Ability to set timeout for Clicks and Form Fills etc
  • Click and Form fill functions will wait until target tags exist (within timeout)
  • New functions for extracting data
  • New function to get X,Y screen position of elements
  • No need to use the mouse to identify recorded elements
  • New, improved UI look and feel
  • Runtime component integrates better with Macro Scheduler’s script controller (faster termination, less liable to hang ups when aborting scripts etc)
  • Interface easily with Macro Scheduler’s IEGetTags and IETagEvent function
  • New script function for waiting for text in the page before continuing
  • Functions to automatically set extracted tag buffer size and avoid buffer overruns

More information on WebRecorder here.  WebRecorder 3.0 scripts require Macro Scheduler 13.1 to run.

Enterprise customers with in-date maintenance can already download WebRecorder 3.0 from the registered download area.

Other customers can view upgrade options in their registered download account, or download a trial version here.

Trial Downloads | Registered Downloads | Upgrades

Macro Scheduler 13.1 Update

Filed under: Announcements — Marcus Tettmar @ 6:33 pm

Macro Scheduler maintenance release 13.1 is now available for download.

  • Added: IEGetTags function – get an array of tags from a given internet explorer document
  • Added: IETagEvent function – click/focus/set value of a given internet explorer document tag
  • Added: Ready for WebRecorder 3.0
  • Fixed: LibFunc not handling {“..”} parms correctly
  • Fixed: Very rare failures of CopyFile, MoveFile, DeleteFile, RenameFile
  • Fixed: msGetTextPos does not return anything if nothing found
  • Fixed: Timer being reset in OnEvent subroutines
  • Fixed: Label2Var unable to assign to existing variables
  • Fixed: Macro Properties/Standalone Editor not saving form position correctly

Registered Downloads/Upgrades | Evaluation Downloads | New License Sales

January 17, 2012

Vote for Your Favourite Macro Scheduler Story

Filed under: Announcements — Marcus Tettmar @ 10:29 am

Voting for our Kindle Fire contest is now open.

We’ve had a bunch of great entries. Some great uses of Macro Scheduler revealed such as automating game play, monitoring a global network of routers and DHCP servers, automating the production of medical reports at a Childrens’ Hospital, monitoring and reacting to stock movements, audio file retrieval, and all kinds of automated data entry.

Please check out the entries and vote for your favourite and share it with your friends. If you have entered yourself share it on your wall and ask your friends to vote.

Voting is open until 29th Feb and the winner will be announced first week of March.

January 12, 2012

January 6, 2012

Macro Scheduler 13.0.05 Update

Filed under: Announcements — Marcus Tettmar @ 11:25 am

Macro Scheduler maintenance release 13.0.05 is now available for download.

  • Added: CF_RESULT / CF_RESULT_CODE to DeleteFile, CopyFile, MoveFile, RenameFile
  • Added: Show Animations for DeleteFile, CopyFile, MoveFile, RenameFile by setting CF_ANIMATE=1
  • Fixed: Editor incorrectly saving size/height/position/font settings in MSched12 hive
  • Fixed: FindImagePos scanning entire screen even if WINDOW: specified
  • Fixed: DirectoryExists returning true for non-existant UNC paths
  • Fixed: _WRITE_LOG_FILE setting being ignored in OnEvent handler subroutines
  • Fixed: hot key incorrectly reporting script is in use for some macros
  • Fixed: Some help file fixes

Registered Downloads/Upgrades | Evaluation Downloads | New License Sales

January 3, 2012

Happy New Year!

Filed under: Announcements — Marcus Tettmar @ 12:30 pm

Today is the first working day of 2012 here in the UK. It should be a positive day but the weather is doing its best to put people in a bad mood, with torrential rain and gale force winds across the country disrupting commuters and generally causing havoc.

The office Christmas decs have been taken down and Gearhead has removed his santa hat.

But we’re looking up! And looking forward to the 15th year of Macro Scheduler. Isn’t that amazing? Still pushing the boundaries, and still boosting productivity throughout the world.

So Happy New Year to you all, and thanks for being there!

Don’t forget that our Kindle Fire competition is still open to entries. We’re accepting entries until 15th January when voting will commence. Just tell us how Macro Scheduler helps (or would help) you and you could win the fantastic Amazon Kindle Fire Android Tablet (or vouchers of equivalent value).

December 16, 2011

Christmas Promo Reminders

Filed under: Announcements — Marcus Tettmar @ 12:38 pm

Win a Kindle Fire (or $199 Amazon Vouchers)
Don’t forget about your chance to win an Amazon Kindle Fire running android, or vouchers of equivalent value. There are a few entries so far. There is still time to add yours. The closing date for submissions is 15th January when voting will commence. Enter here.

Get Macro Scheduler Lite Free with every Std, Pro or Enterprise Order
Until the end of December we’re giving away a copy of Macro Scheduler Lite with every new order of Macro Scheduler Std, Pro and Enterprise. Grab a copy for use at home, or for a friend or colleague. Offer ends 31st December.

Play Santa’s Gift Grab and Share Your Score
And finally, I hope you have been having fun with our little Christmas game. We certainly enjoyed making it. The highest score I’m aware of is 554 so far! Can you do better? Let us know how you did on our Facebook page.

December 15, 2011

Play Santa’s Gearhead Gift Grab Game!

Filed under: Announcements — Marcus Tettmar @ 4:29 pm

We made a fun little Christmas game for you all:

Help Santa get the presents down the chimney, but watch out for the snowmen and coal which freeze the chimney or set the presents on fire. Of course true to form Macro Scheduler saves you time, so in the game if you catch an MJT Gearhead you get extra time!

Click on the image above or here to play. Don’t forget to share your score!

Enjoy, and Happy Christmas!

December 8, 2011

Free copy of Macro Scheduler Lite with new Std/Pro orders

Filed under: Announcements — Marcus Tettmar @ 1:31 pm

If you haven’t seen our December Newsletter you might not know that this December we’re giving away copies of Macro Scheduler Lite with all new purchases of Macro Scheduler Std, Pro and Enterprise.

If you don’t receive our newsletter you can sign up here. Every month we send an email with tips, update announcements, and, sometimes, special offers. Every subscriber also gets a 10% discount coupon and a free copy of QuickButtons. Plus you’ll be the first to get the news.

Don’t forget that this festive season there is also the chance to win an Amazon Kindle Fire.