Sample Macros – Jitbit

Here are some example macros that will help you get started:

This macro renames all files in a given folder to "file1", "file2", "file3" etc. Just keep pressing Ctrl + Alt + Z in Macro Recorder and the macro will iterate to the next file.

This macro launches the Windows Update tool and forces it to check for updates by simulating a mouse click on the Check now link. The mouse-click uses relative coordinates, so its immune to window size and location change.

This macro has been tested under Windows 7 only, might not work under Vista or XP.

This macro launches Internet Explorer's "Proxy server" dialog.

The macro actually has no practical use, but it's a fine example of how a macro can use:

This script for Jitbit Macro Recorder launches Internet Explorer privacy cleaner. Tested under IE7, IE8. Never tested it with IE9 though.

Windows 7 introduced a new disk defragmenter tool that is automated in by this macro.

The macro simply starts the defragmenter and sends an Alt+D keyboard combination to its window.

1) The first line of the macrolaunches the Windows XP Disk Defragmenter:

2) The next line simply waits for the defragmenter window to appear:

3) Finally this block launches the appropriate item in the defragmenter window menu (which in our case is "Actions -Defragment"):

Of course you don't have to actually type these commands when you create a script in Macro Recorder, you can use the toolbar instead. First you click "Insert 'Open file' command", then you click "Insert 'Wait for window' command" etc... Jitbit's macro-language remains "hidden", it is used only if you decide to edit a saved macro in some external text editor like Notepad (which is the preferred way for some programmers and tech-geeks).

Full macro:

Last updated: 4/29/2017 more whitepapers

Read this article:

Sample Macros - Jitbit

Related Posts

Comments are closed.