Latest Headlines

How to Keep one Window/Program on top of others

Sometimes it’s useful to stop one program’s window from being hidden by others as you switch from one program to another in the cours eof your work. Some programs have an inbuilt facility for this, there are many more that don’t.

Here’s how to set a window to stay on top of others using PTFB Pro:

  1. Right-click on PTFB Pro’s tray icon and select “Stay on Top” from the resulting popup menu, OR hit the Options button in PTFB Pro’s main window and again select “Stay on Top” from the resulting popup menu.
  2. When you select “Stay on Top” a sub menu will open up. Just select your chosen window in that sub menu.
  3. The “stay on top” setting is toggled, so just repeat the process if you want to turn it off again.

Note that this version of Stay on Top is not maintained between sessions. In other words, if you close then re-open the window in question it will not have Stay on Top set. If you want to have Stay on Top active for a particular program/window all the time, you should use a Window Restore macro instead.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How to Automate Repetitive Tasks

Do you have an editing task that perform over and over again, like pasting the URL of a photo into your blog and surrounding it with style tags? PTFB Pro can collapse all those operations into a simple hotkey sequence.

How to do it …

  1. Open up PTFB Pro’s main window by clicking on its tray icon
  2. Click on “New Macro…” and choose “Screen Macro”
  3. The macro starts recording immediately, so perform the editing operations you want to automate. For example, type the opening tags to apply the styles for the embedded material, then type CTRL+V to paste the contents of the clipboard, then type the closing tags and hit the Pause/Break key to stop macro recording.
  4. Double-click on your new macro in PTFB Pro’s main window to open it for editing. Switch to the Triggers page and untick “Trigger Spontaneously”. Now tick “Hotkey” and choose the key sequence you want to use to run the macro. Pick something that’s easy to remember that doesn’t get used for anything else. How about CTRL + SHIFT + I (I for insert)?

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How To Automatically Respond to Irritating Prompts and Popups

PTFB Pro’s auto-response feature can be used to help minimize the disruption and irritation caused by today’s attention-craving programs. Tell PTFB what buttons to press and when, and you’ll finally be free of your computer’s nagging requests to check for updates, to change your default browser, and to make sure it’s “OK” to do the very thing you’ve just told it to do. It is, in effect, a “don’t show this again” option for the many prompts and messages that don’t have one.

  • Automatically respond to confirmation requests.
  • Eliminate popups.
  • Auto-fill forms.
  • Quick & easy to use.

How to do it …

Next time an irritating dialog or confirmation screen appears :

  1. Open up PTFB Pro’s main window by clicking on its tray icon
  2. Click on “Single Press”. The cursor will now change to a hand with an outstretched finger.
  3. Move the cursor over the button you want to be pressed and click the mouse (If you want PTFB Pro to carry out a more complex task use the ‘macro’ option instead).
  4. That’s all there is to it!

Finally, put PTFB Pro to work by clicking “Start Watching”, or by pressing the close box in the top-right corner. PTFB Pro will minimize to the system tray and keep watch for offending windows and dialogs. When they appear it will handle them for you.When you record a new ‘single press’ (or macro) item, PTFB Pro stores information that uniquely identifies the window that you are acting upon. By default, PTFB Pro will run your new ‘single press’ (or macro) every time that window appears in the future. If you prefer, you can tell PTFB Pro to run your macro according to schedule, command line or even in response to a short cut key. You can also tweak a whole host of settings to fine tune your macro, and even configure the default behavior for newly created macros.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How to automatically login to applications when they start up

Let’s say you have a program that requires a login each time you use it – maybe a database or source control application. If the security angle isn’t an issue (maybe everyone in the office knows the password, or maybe you’re the sole user), why not let PTFB Pro handle the login for you?

How to do it …

Next time an irritating dialog or confirmation screen appears :

  1. Open up PTFB Pro’s main window by clicking on its tray icon
  2. Click on “New Macro…” and choose “Window Macro ”
  3. Click the hand-shaped cursor on the login window and proceed with the login just as you would normally.
  4. That’s all there is to it!
    As soon as you’ve entered your name and password into the login screen and hit OK, macro recording will end automatically. Your new macro is ready to perform the login for you automatically from now on!To put PTFB Pro to work, click “Start Watching”, or press the close box in the top-right corner. PTFB Pro will minimize to the system tray and keep watch for offending windows and dialogs. When they appear it will handle them for you.

    You may wish to tweak your new macro’s settings after you’ve created it. For example, you might want to lower the initial trigger delay from the default value of 1 second to zero, so that the macro fires instantly whenever the login window appears.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

The Role of “Skip Redundant Mouse Movement” In Macro Playback

If you take a look at any screen or window-based macro you’ve recorded in PTFB Pro, you’ll see a checkbox marked “skip redundant mouse movement” on the first page of its property sheet.

So what does it do? Why is it so important in macro playback?

Basically, any time you record a macro all mouse movements are preserved in that recording. When you drag your mouse from one side of the screen to the other, you aren’t just going directly from A to B, you’re taking your mouse cursor on a journey with hundreds, maybe thousands of little “course corrections” along the way.

Now if you’re recording a macro to duplicate a drawing operation for example, all those little mouse movements are important and you want to keep them. On the other hand, if you’re just carrying out a regular computing task, like moving the mouse over a button and clicking, those mouse movements are pretty much irrelevant; all that matters is that the mouse is in the right place when the click occurs. What’s more, if you want your macro to play back at maximum speed, you’re better off ditching all those redundant mouse movements entirely. That’s exactly what “Skip redundant mouse movement” does; when the macro plays with the skip option enabled, it’s as though all the unimportant changes in mouse position aren’t there. The result? More efficient  playback that consumes less computer horsepower (cpu utilization).

The real beauty of this option is that it doesn’t actually delete the excess mouse movements from the macro, never to be seen again; instead it simply skips over them. So, anytime you want the macro to play back exactly as it was recorded, you just untick the button and move the playback speed to the middle position.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

Access common windows functions by hotkey

I bet there are some Windows operations you perform regularly like flushing Internet Explorer’s cache, visiting the Add/Remove programs screen (aka “Programs & Features” in Windows 7), changing folder options, tweaking the firewall’s whitelist etc. Using PTFB Pro’s macro recorder you can get access to some of these functions a whole lot faster than you might think.

Here’s an example. Let’s say you want to flush IE’s cache of temporary files:

  1. Create a screen based macro in PTFB Pro, and quit recording immediately by hitting the Pause/Break key.  That’s right – you’re not going to simply record the action of going to the Start Menu, selecting Internet Options in the control panel and digging through IE’s screens. There’s a faster way!
  2. Open the macro you’ve just created. Give it a meaningful name on the first page, then switch to the Triggers page. Turn off “Trigger spontaneously” and click on “Hotkey”. Choose the hotkey combo you want to use for this action, and switch to the Editing page.
  3. On the Editing page, delete any existing actions and add a “Run Executable” item. Type (or copy paste) the following line into the command line box: RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
  4. Click OK to save your changes and you’re done!

You can use the same technique for a lot of other operations, just by changing the command line you use in step #3. Below there’s a list of the more common ones on Windows 7, but a bit of Googling will no doubt find you more. Also, bear in mind that this can be just the starting point for much more powerful actions.  For example, you could define a macro that uses a RunDLL command to bring up a screen, then create another macro to carry out a specific operation on that screen, then create a third “wrapper” macro that runs both the other two in sequence in response to an entirely different hotkey.

Some more RunDLL command lines for Windows 7

Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI

Control Panel
RunDll32.exe shell32.dll,Control_RunDLL

Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl

Display Settings
RunDll32.exe shell32.dll,Control_RunDLL desk.cpl

Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute

Folder Options – General
RunDll32.exe shell32.dll,Options_RunDLL 0

Folder Options – Search
RunDll32.exe shell32.dll,Options_RunDLL 2

Folder Options – View
RunDll32.exe shell32.dll,Options_RunDLL 7

Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW

Flush IE’s Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Flush IE’s Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Flush IE’s Browsing History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Flush IE’s Stored Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Flush IE’s Stored Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Full IE browsing cleanup:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Full IE browsing cleanupfiles inc settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Hibernate
RunDll32.exe powrprof.dll,SetSuspendState

IE Favourites
Rundll32.exe shdocvw.dll,DoOrganizeFavDlg

Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1

Lock Screen
RunDll32.exe user32.dll,LockWorkStation

Mouse Button – Swap left button to function as right
Rundll32 User32.dll,SwapMouseButton

Mouse Properties Dialog Box
Rundll32 Shell32.dll,Control_RunDLL main.cpl @0,0

Map Network Drive Wizard
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL Connect

Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl

Open With Dialog Box
Rundll32 Shell32.dll,OpenAs_RunDLL Any_File-name.ext

Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl

Printer Management Folder
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

Programs & Features, aka Add/Remove programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Region and Language Options
Rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,0

Safely Remove Hardware Dialog Box
Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll

Sound Properties Dialog Box
Rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,0

Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr

System Properties – Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl

System Properties – Advanced
Rundll32 Shell32.dll,Control_RunDLL Sysdm.cpl,,3

Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1

User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl

Windows – About
RunDll32.exe SHELL32.DLL,ShellAboutW

Windows Firewall Options
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl

Windows Fonts Folder
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL FontsFolder

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How to mute the sound in Windows by hotkey

Many modern keyboards have a special key for muting/unmuting the sound in Windows, but if yours doesn’t, you can create the next best thing with a PTFB Pro macro and a couple of lines of script. Here’s how to go about it.

Stage 1 – create mute/unmute script

The first stage is to create a little “.vbs” script that will toggle the sound on/off. Just open up Notepad (or your favorite text editor) and paste in the following two lines of text:

Set oShell = CreateObject("WScript.Shell")
oShell.SendKeys(chr(&hAD))

Save the file somewhere convenient, with the .vbs extension. For example, I called mine “Mute.vbs” and popped it in my documents folder. Double-click it a couple of times just to make sure it works and you haven’t made a typo anywhere.

Stage 2 – create PTFB Pro macro and bind to hotkey

OK, now we’ve got our script, we’re going to create a PTFB Pro macro to run it, and bind that macro to a hotkey.

  1. Create a new screen based macro and stop recording immediately by hitting the Pause/Break key.
  2. Open the new macro for editing. On the General page, give it a meaningful name (e.g. “Mute”).
  3. Switch to the Triggers page and turn off “Trigger spontaneously”. Now tick “Hotkey” and choose a memorable hotkey combination for the mute function. CTRL + SHIFT + M sounded good to me.
  4. Switch to the Editing page. Clear out any existing recorded actions and add just a single “Run Executable” item. For the command line, type in “cscript” followed by a space, followed by the full path to the vbs file you created earlier. If the path contgains spaces, remember to surround it with double quotes.

MuteCmdLine

That’s it. Your chosen hotkey will now execute the vbs file, toggling Windows audio between its muted and unmuted states.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How to stop the Windows Update Restart Nags using PTFB Pro’s autoclicker

Generally speaking Windows Update is a good thing, but on Vista and Windows 7 there is one aspect of it that can be exceedingly annoying, and that is the Windows Update Restart dialog:

The accursed Windows Update Restart Prompt

How is it that this damned thing always, and I mean always, pops up when you’re in the middle of work that requires your undivided attention? Yes, you can postpone it, but just like the Terminator it’ll be back again, and again, gleefully interrupting you each time.

Some sites advise dealing with this irritating popup by stopping the Windows Update service. This is complete overkill, and probably a bad idea for a whole host of reasons. PTFB Pro gives you a far more elegant way to keep this well intentioned nuisance under control:

  1. Open up PTFB Pro’s main window.
  2. Hit “Single Press”, then click the mouse anywhere on the Postpone button in the Windows Update Restart prompt. This creates a new single press or “autoclicker” item. Note that you could use the macro recorder for the restart nag, but that’s overkill because we only need PTFB Pro to hit the Postpone button automatically.
  3. Make sure the new item has an appropriate initial delay. In my case, I set the delay right down to zero. I have a particular dislike for the restart nag and would rather not see it at all if I don’t have to.
  4. Hit Start Watching on PTFB Pro’s main screen, and you’re done!

Now PTFB Pro will keep postponing the restart for you automatically. It’ll happen so fast you’ll scarcely see the prompt screen and you’ll be able complete your work in peace, restarting only at a time that is convenient to you. What’s more, all this has been done without interfering with the Windows Update service in the slightest.

Find out more about boosting your productivity with autoclicks and macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

How to recover an off-screen window with PTFB’s Window Restore Macro

If you’ve got a multi-monitor system you might find that some programs do the job of saving and restoring their own window positions almost too well. Disconnect your second monitor and you might suddenly find that your favorite program is marooned off-screen, with no obvious way of getting it back on to your main monitor. Fortunately PTFB Pro’s Window Restore macro can help in these situations:

  1. Create a new Window Restore item
  2. On the first page of the resulting Wizard, select the errant window in the list and hit Next
  3. In most cases you can probably skip past the title matching options by hitting Next again
  4. Now you’re on the Actions page, and this is where you get to force the window back on screen! Tick “Restore Position” and set both the X & Y coords to zero. Optionally you can also resize the window and/or set it to be maximized on your main monitor. Click Next when you’re done, and Finish on the final page.

Now all you have to do is hit Start Watching and suddenly your missing window will forced back on screen. If you’re confident that the program in question has now stored its new position, you can disable or even delete the Window Restore item you just created. Job done!

Find out more about automating your workflow with Macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!

Speeding up macro creation in PTFB Pro 4

In PTFB Pro 4′s default configuration, creating a macro is a two-step process. You press “New Macro” then select the macro type from the resulting screen, or press the right hand side of the New Macro button then choose from the resulting popup menu.

If you typically create a particular kind of macro, you can speed up the process via the “Configure…” screen as follows:

New Macro Button Action

  1. Use Options -> Configure to bring up the Configuration screen.
  2. In the “Presentation” screen, locate the entry marked “Default action for New Macro button”. There’s a drop-down list next to it – choose the option you use most from the list.
  3. Hit Close to save changes.

Now the “New Macro” button is dedicated to creating the macro type that you chose, e.g. Window Restore as in the following screenshot:

New Macro Action Winrestore

Note that you can still create other macro types by clicking on the drop-down part of the button (right hand side) and choosing from the resulting menu.

Find out more about automating your workflow with Macros.
CLICK HERE to download a free 30 day trial, no strings attached. If you aren’t entirely happy simply uninstall!