Jump to content
Macro Express Forums

Shift-Click


jpo

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

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...
×
×
  • Create New...