garlicnonions Posted April 28, 2018 Report Share Posted April 28, 2018 texttype win not working on my x64 windows 10 laptop. I am using mex 3.11a 1 Quote Link to comment Share on other sites More sharing options...
rberq Posted April 28, 2018 Report Share Posted April 28, 2018 (edited) 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 April 29, 2018 by rberq additional information Quote Link to comment Share on other sites More sharing options...
acantor Posted April 30, 2018 Report Share Posted April 30, 2018 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! Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted April 30, 2018 Author Report Share Posted April 30, 2018 Ancantor , I have same behavior...I just didnt figure out what it was like you did...as in its acting like win has been pressed but the win menu doesnt show. Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted April 30, 2018 Author Report Share Posted April 30, 2018 Also tested on Windows 7 machine...same behavior Quote Link to comment Share on other sites More sharing options...
acantor Posted April 30, 2018 Report Share Posted April 30, 2018 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. Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted April 30, 2018 Author Report Share Posted April 30, 2018 Thanks for the work around Ancantor! The workaround works for 7, I will try on 10 when I get home tonight. I have emailed insight about the problem...we shall see. Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted April 30, 2018 Author Report Share Posted April 30, 2018 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>. Quote Link to comment Share on other sites More sharing options...
Samrae Posted April 30, 2018 Report Share Posted April 30, 2018 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>. Quote Link to comment Share on other sites More sharing options...
amonaghan Posted April 30, 2018 Report Share Posted April 30, 2018 <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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.