July 26, 2012

Retrieving all Items and Indexes from a Listbox

Filed under: Announcements,Scripting — Marcus Tettmar @ 11:26 am

Some people have reported issue with the GetListItem command failing to work with some applications. While we investigate the issues we’ve created a small workaround. This is a .Net tool called ListInspector. It’s a command line tool which you can pass a listbox handle to and it will dump out a list of all the items and their indexes.

Here’s an example of use:

//get handle of putty and find handle of listbox
GetWindowHandle>PuTTY Configuration,pHwnd
FindObject>pHWnd,ListBox,,1,hWnd,L,T,R,B,res

//run ListInspector to get a list of items
Let>RP_WINDOWMODE=0
Let>RP_WAIT=1
Run>cmd.exe /C "%SCRIPT_DIR%\ListInspector.exe" %hWnd% > %TEMP_DIR%\items.txt
ReadFile>%TEMP_DIR%\items.txt,items

//find the index of the item we want
Let>item_required=Pluto Server
RegEx>\d*(?=:%item_required%),items,0,matches,nm,0
If>nm>0
  Let>index=matches_1
  MessageModal>Index of %item_required% is %index%
Endif

The script here gets the items of the session selection box in the Putty SSH client. The first thing it does is get Putty’s window handle, then find the handle of the list box we want to inspect. It then runs ListInspector.exe and passes the listbox handle to it, piping the results to a temporary file. It then reads in the file and uses a RegEx to extract the index for the item we are looking for.

This is useful for those listboxes which don’t allow us to “drill down” properly and where the items and order of items may be dynamic, leaving us with no easy way to automate the selection of an item. Using ListInspector we can get the item’s index and then we know how many times we need to “Press Down” (first using Home to make sure we’re at the top).

You can download ListInspector here. The zip file contains the example script and a small readme file. .Net 2.5 or higher is required.

May 15, 2012

Macro Scheduler 13.1.06 Available

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

Macro Scheduler 13.1.06 maintenance release is now available.

History
Evaluation Downloads
Registered Downloads

April 20, 2012

Macro Scheduler 13.1.05 Available

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

Macro Scheduler 13.1.05 maintenance release is now available.

History
Evaluation Downloads
Registered Downloads

March 12, 2012

And The Winner Is …

Filed under: Announcements — Marcus Tettmar @ 2:07 pm

Many thanks to everyone who submitted and/or voted on an entry to our Kindle Fire contest.

We had so many great entries that it was so hard to choose and the decision was hotly debated between all the judges lobbying for their favourites. But we ended up going with Lorence Sing’s “Because everything matters” story which everyone loved.

For the past 13 years, the Laboratory at Nationwide Children’s Hospital in Columbus, Ohio, has benefited enormously from a small piece of software found on the internet, software that has saved staff time, assured patient and management reports have run at the right time, on time, every time.

In 1997, the laboratory changed to a new Laboratory Information Ssystem, a new more modern LIS. For 10 years prior, we ran a system that required 24×7 computer operators to run jobs, print specimen labels, patient reports, microbiology and virology reports, blood bank reports. Our new system would eliminate the need for most of that, with many of the reports able to be scheduled and run unattended. Several reports, though, specifically reports microbiology reports concerning infectious disease, nosocomial reports, and basic epidemiological reports all had to be run manually, as did all of the blood bank reports.

These reports are incredibly important to the health and welfare of Children’s Hospital’s patients and doctors and need to be run on time, every time.

To enable proper execution of theses critical reports, I searched online for a product that would let me schedule tasks. I was NOT impressed with the Windows Task scheduler. I found Macro Scheduler at www.mjtnet.com. I’m not sure where, possibly through download.com, but I knew when I read about its many features that I had to try it. The free download showed me immediately that this was the product I’d been looking for. Since that first very inexpensive purchase we have painlessly upgraded several time, migrated to new hardware without incident, helped to save lab tech frustration, countless hours of system analyst time, and most importantly, innumerable lives. Every day, the epidemiology report that Macro scheduler initiates may potentially save a child’s life.

In the many years that we have used MJT Net’s Macro Scheduler, we’ve expanded its use, executing reports, renaming files, backing up data, zipping log files, restarting system interfaces, manipulating printers via their internal web server, even created a stand alone password reset application for the hospital’s help desk to utilize. My next major project with Macro Scheduler will involve its graphics recognition capabilities to automate a tedious weekly interface wiretap reset.

At the end of nearly every user satisfaction survey I’ve ever taken, there is one common question – “Would you recommend this product to a friend?” Marcus hasn’t asked me this question, but I can say without hesitation “Yes!” Not only would I recommend Macro Scheduler to a friend, but I have, many times. I frequently give presentations to the Sunquest Users Group (SUGInc.org) and Macro Scheduler is the basis for one of my presentations, “The Unschedulables” (http://lorencesing.com/SUG-XI,The_Unschedulables.zip).

In conclusion, Macro Scheduler from http://www.mjtnet.com/ hasn’t just been a useful tool, it has been a lifesaver. Our Hospital’s slogan is “When your child needs a Hospital, everything matters.” Macro Scheduler is one of the small details that help us make that true.

Lorence sing, MT(ASCP)
LIS System Analyst
ChildLab Database Analyst
Nationwide Children’s Hospital, Columbus, Ohio
http://www.nationwidechildrens.org/

Congratulations Lorence, your Kindle Fire is on its way.

Thanks to everyone for the great entries.

January 24, 2012

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

Two Days Left to Enter to Win a Kindle Fire

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

Our Kindle Fire contest closes for entries on Sunday 15th January.

So if you haven’t already, submit your entry now before voting commences.

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.

« Newer PostsOlder Posts »