Jump to content
Macro Express Forums

Command to count the number of active windows in the Windows 7 taskbar?


Recommended Posts

Is there any command that can be used to count the number of active windows in the Windows 7 taskbar? If not, may I suggest adding such a command in a future version?

 

The way I would use such a command is...

 

I'm on Windows 7. I have to activate a macro on the taskbar and I want it to activate the last focussed window after the macro runs. Anyone know if there is a macro method to switch back to a previously focussed window after running a macro? It has to be a previously focussed window and not a specific window. I've already tried various (SHIFT+)ALT+TAB tricks but they don't work reliably because results differ between having 1 or 2+ windows active in the taskbar.

 

Is there any command that can be used to count the number of active windows in the Windows 7 taskbar? If so, then maybe I can make it work using "if" logics.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...