Jump to content
Macro Express Forums
garlicnonions

win key not working

Recommended Posts

I am using mex 3.9.0.1 on Windows 7.  Texttype win does not work for me, either. 

Edit: Also does not work for me with ME Pro.

Edited by rberq
additional information

Share this post


Link to post
Share on other sites

I am also noticing something unusual about assigning the Win key in ME Pro:


 

Text Type (Simulate Keystrokes): <WIN>

After running the command that includes this statement, nothing seems to happen. But then I press a key that includes <WIN> as a modifier. For example, when I press "D" or "P" the computer responds as though I had pressed <WIN>d (minimize all windows and show the desktop) or <WIN>p (display options).

 

It would be interested to find out what happens with <WIN DOWN> and <WIN UP>

 

At any rate, this behaviour is not as expected. You may have discovered a bug, so submit a report to the good folks at Insight Software!

 

 

Share this post


Link to post
Share on other sites

Congratulations on finding a bug. Will you file a bug report?

 

Here is a workaround, which works for me:

 

Instead of Text Type <WIN>, substitute Text Type <CONTROL><ESC>.

Ctrl+Esc has been the non-Windows key way to invoke the Start menu since Windows 95. It works in Windows 7, I think I have tried it in Windows 10, but I am not sure about Windows 8.

Share this post


Link to post
Share on other sites

Stan Jones from Insight Software Solutions, Inc. got back to me....

Hi John,

 Essentially the <WIN> key is to be used with a letter after, such as the letter "r" to open the Run dialog. If you want to open the Start menu, then use the Win Down and Win Up keys - <WIND><WINU>.

 

Share this post


Link to post
Share on other sites

A clue to the answer is in acantor's answer. TextType <CONTROL><ESC> works like Control Key Down, ESC, Control Key Up. This can also be written like this: TextType <CTRLD><ESC><CTRLU>

If you use <WIN> in a TestType command it affects the next keystroke. For example, use TextType <WIN>e to bring up File Explorer. This can also be written like this: TextType <WIND>e<WINU>.

So, as garlicnonions & Stan said, to bring up the Start Menu To just press and release the Windows key: TextType: <WIND><WINU>

All modifier keys work this way in Macro Express and Macro Express Pro. Any of these affect the next keystroke: <ALT>, <CTRL>, <SHIFT> and <WIN>.

Share this post


Link to post
Share on other sites
<TEXT TYPE Action="0" Text="<RIGHTWIN>"/>

The above works for me, if it's of any help.

<RIGHTWIN> is in Misc Keys in the Text Type command.

Share this post


Link to post
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...

×
×
  • Create New...