January 24, 2013

Macro Scheduler Pricing Change – Beat It

Filed under: Announcements — Marcus Tettmar @ 3:24 pm

Just a heads-up that when version 14 is released our prices for new licenses will be going up.

BUT, those who buy, or have bought, Macro Scheduler within one month of v14 being released, will get v14 at no extra cost.

Therefore, if you are considering purchasing Macro Scheduler now, or thinking of getting additional licenses for your company, you might want to buy NOW to beat the price increase.

There is no need to wait until v14 is out. You’ll save money if you buy v13 now.

We will be keeping upgrade prices low for a while. So existing users will be able to benefit from the current upgrade prices.

Of course if you have maintenance you won’t need to do anything.

How to tell if the current session is a Remote Desktop session

Filed under: Automation, Scripting — Marcus Tettmar @ 10:51 am

Here’s a small piece of code which will tell you whether the current session is a Remote Desktop/Terminal Services session or not:

Let>SM_REMOTESESSION=4096
LibFunc>User32,GetSystemMetrics,isRemote,SM_REMOTESESSION
If>isRemote>0
    MessageModal>Current Session is RDP/Terminal Services Session
Else
    MessageModal>Current Session is Local Session
Endif

January 21, 2013

Why Don’t People Backup?

Filed under: General — Marcus Tettmar @ 5:10 pm

Every now and then someone will email us to let us know that they have overwritten one of their important scripts and now need to recover their old work. They write asking what we can do about it.

Well. Not much really. If the script wasn’t backed up and has been changed we can’t somehow get back the old version.

I’m always amazed at how few people seem to backup their work. Whether it’s a Macro Scheduler script or a Word document. Back it up.

Macro Scheduler stores scripts by default in a folder beneath the My Documents folder which is a default location for Windows Backup and other backup tools. So there’s not much excuse for not having a back up. Yet we meet people all the time who simply don’t back up.

For a while now Macro Scheduler has had a “Backup on Save” option which keeps the three most recent copies of scripts. But you have to switch it on.

And people still email us reporting lost data.

So with version 14 this Backup On Save option will be enabled by default. It will keep 5 copies by default and you can increase this number if you want. The main Macro Scheduler data files will also be backed up on startup.

I also recommend using source version control for important script projects.

January 18, 2013

Snow!

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

Heaps of snow here this morning. Will be working from home today! My home office looks more like Santa’s Grotto:

January 17, 2013

Powerful, Tolerant, Portable Image Recognition Coming Soon

Filed under: Announcements — Marcus Tettmar @ 10:56 pm

Macro Scheduler 14 is right round the corner and with it comes a super new Image Recognition engine with a pattern matching algorithm which can cope with changes and differences in target images. This makes it more portable across different display settings and operating system versions.

To whet your appetite here’s a video from Antonius Momac demonstrating the power of the new image recognition engine in Macro Scheduler 14:

Macro Scheduler 14 is due out very soon. Stay tuned for more news.

January 7, 2013

Happy New Year

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

2013 – the first year since 1987 to have four different digits in the name.  There’s a useless bit of info for you.

It is also our 16th year in business.  16 years of Macro Scheduler!  Still going strong.

I say it every year but I’ll say it again: We wouldn’t still be here if it wasn’t for all you guys who continue to use Macro Scheduler, support us by purchasing licenses and upgrades, tell your friends and colleagues and send us encouraging feedback.  Thank you all!

Anyway it feels like it has been a long “holiday” here in the UK.  Schools went back today so it finally feels like things have returned to their usual routine.

And now we’re back, development work continues on Macro Scheduler and I should have some more news for you later in the month.

Take care.

December 18, 2012

Play A Puzzle Game Created with Macro Scheduler

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

Forum regular, JRL, has created a little graphical puzzle game using nothing but Macro Scheduler.

Check it out here.  Very impressive.

Usually Macro Scheduler is saving businesses time and cutting their costs.  Sometimes however, it’s ok to have a little fun.  Especially at Christmas! 🙂

And speaking of puzzles, there are still 5 prizes up for grabs for the crossword.  See below.

December 11, 2012

Macro Scheduler Crossword

Filed under: Announcements, General — Marcus Tettmar @ 9:47 am

For a bit of fun this holiday try out our cryptic crossword.  Solve the clues to find Macro Scheduler functions and names of some of our regular forum users.

There are 10 MJT Gearhead mugs up for grabs for the first 10 correct entries.

If you get stuck keep an eye on our Facebook page for clues.

You can either print this out to work from or click on the puzzle for a flash version. Either way make sure you send your answers to [email protected]

I hope you enjoy solving this as much as we enjoyed putting it together.

December 7, 2012

October 30, 2012

Controlling Apps that Run as Admin

Filed under: Automation, Vista, Windows 7, Windows 8 — Marcus Tettmar @ 10:16 am

By now you are probably aware of UAC (User Account Control) that came along when Vista was released. And you probably know that to do anything like copy files to Windows\System32 or Program Files or do other administrative stuff you need to be running as Admin, or you’ll get the UAC prompt come up asking you for permission to continue. And when you continue the thing you launched is then running as admin.

For sensible reasons, Windows is designed so that an ordinary level process – i.e. an application that is running under a standard user account without administrative privileges (let’s call it an un-elevated application) is not allowed to manipulate, interact with or exchange information with an elevated process (one running with administrator privileges or “As Admin”).

Macro Scheduler runs “as invoker”. In other words it runs at the level of the user who starts it. In most cases, and by default, that means it is running without administrator privileges. Unless you have disabled UAC, or chosen to run Macro Scheduler as admin, or have set the Macro Scheduler shortcut properties to launch Macro Scheduler as admin, then Macro Scheduler will run as a standard user without administrative privileges.

Since a standard process is not allowed to manipulate an admin process, Macro Scheduler is not able, by default, to send keystrokes into windows belonging to processes running as admin.

Try it. Run Notepad as admin and then try the following simple macro in Macro Scheduler:

Setfocus>Untitled – Notepad
Send>Hello World

You’ll see nothing happen. The text “Hello world” will not arrive in Notepad.

Now close Notepad and run Notepad as normal and of course the script works.

So what do you do if you NEED to send keystrokes into an admin level window? Well, unless it is possible to run that process as an ordinary user you will need to also run Macro Scheduler as admin.

To run Macro Scheduler “elevated” as admin, right click on the Macro Scheduler shortcut and select “Run as Administrator”. If you have UAC enabled (the default) you’ll see the UAC confirmation box pop up to make sure you’re happy to continue. Ok that and now Macro Scheduler is running as admin.

Now try running Notepad as admin again and you’ll find our little macro works.

Some legacy applications written before Vista came along were developed assuming the user had administrative privileges, which was common in the days of XP. This was poor practice but widely done. A common transgression was that they would write their settings and files to the Program Folder. In order to run these applications under Vista or later they would therefore have to be run as Admin, unless there was any way to force them to write data to another more sensible location. Sadly there are still applications that do this, especially older ones that are no longer maintained. Since the only way to use such legacy apps on Vista/Win7/Win8 is to disable UAC or set them to run as admin and put up with the UAC prompt, if you need to automate them you’re going to have to also run Macro Scheduler (or your compiled macro) as admin.

Short version: If you wish to automate an elevated application (one that runs as admin), Macro Scheduler or your compiled macro, also needs to be running elevated.