User Submitted Macro

Lock Workstation

Written by Jace Greenman

What it does

Launches Windows Notepad to generate – or switch to – a new (“untitled”) document window.

To install

This macro locks a Windows NT, 2000 or XP workstation. Once a workstation is locked, you must log in again before you can use that workstation.

To use

Press Ctrl and the Right Mouse button.

How it works

This macro uses the Launch program command to run rundll32.dll and using the parameters “user32.dll,LockWorkStation”

Requirements

Macro Express 3, Windows NT, 2000 or XP.

This macro will not work as written with Macro Express 2000. However it can be modified to work with Macro Express 2000.

** Jace wins a Macro Express T-shirt for his submission.