jpo Posted November 3, 2009 Report Share Posted November 3, 2009 Is it possible to simulate a shift-click action (holding down the shift key while clicking the mouse button)? I tried the following: Text Type: <SHIFTD> Mouse Left Button Click Text Type: <SHIFTU> but this doesn't seem to be working (I get a click, but not a shift-click). This is on Vista, on a web page viewed in Firefox. Thanks for any assistance. Quote Link to comment Share on other sites More sharing options...
stevecasper Posted November 3, 2009 Report Share Posted November 3, 2009 Your solution worked for me................... Text Type: <SHIFTD> Left Click Text Type: <SHIFTU> This tested successfully for me. To test it, I opened a Word document with text on it. I built the macro to activate Word, click at the beginning of a line of text, and finally to Shift+Click at the end of the text. If it worked, the entire line would be highlighted. It was. Since I don't know what it is you're trying to do with your macro, I can only speculate about what is going wrong. And each time I start to write down my speculations, I end up seeing how this one or that one couldn't be the problem. So it comes down to me wondering if Firefox, or the specific webpage itself is interrupting or limiting the functionality of this macro. Quote Link to comment Share on other sites More sharing options...
terrypin Posted November 4, 2009 Report Share Posted November 4, 2009 Your solution worked for me................... Text Type: <SHIFTD> Left Click Text Type: <SHIFTU> This tested successfully for me. To test it, I opened a Word document with text on it. I built the macro to activate Word, click at the beginning of a line of text, and finally to Shift+Click at the end of the text. If it worked, the entire line would be highlighted. It was. Since I don't know what it is you're trying to do with your macro, I can only speculate about what is going wrong. And each time I start to write down my speculations, I end up seeing how this one or that one couldn't be the problem. So it comes down to me wondering if Firefox, or the specific webpage itself is interrupting or limiting the functionality of this macro. I tried a similar simple macro in Notepad, using ME Pro not ME 3. I wish I hadn't! I'll have to leave it for now, but hope to study it more closely later. But in short it's caused some very strange behaviour. After running the macro, (Forrest has disappeared), my PC behaves as if the Shift key is still pressed. The Scroll Lock is not on. I have to press Shift to return to normal. -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
paul Posted November 4, 2009 Report Share Posted November 4, 2009 Very strange. If I run this using a hotkey, it works as expected and the Shift key does not need to be pressed. If I run this using F9 in the Script Editor, it also works. But if I run this using F8 instead of F9, I never get past the Mouse Left Click command, so the Shift key does need to be pressed after killing the macro. 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.