koden Posted November 1, 2007 Report Share Posted November 1, 2007 Hello I use remote server on my pc. On the terminal server i log on to diff. servers. I would like to run a macro from my pc without installing it on the servers. I have tried to do it with mouse clicks. But what I click manuel is not workin when the macro runs... I works fine, but one thing is not working. I copy from the remote server and go to a notepad omn my pc. I ctrl+v to my notepad. I go back to the remote picture. I make a arrow down I can see the color is moving down to next object, but the mouse cursor is not moving. So when i then make a right click, it's the mouse cursors position and not the objects color, that the macro uses. And that is the object from last time... When i do a manuel mouse move and right click it works fine... Do you understand my problem? In short description the problem is: right click used the mouse arrow as position and not what is highlightet. Anyone tried this before? PS. is there anything I have to take notice of, when i use macro ekspress and remote servers. remote server I surpose is another computer on my computer, so maybe there vcan be a problem about that??? Quote Link to comment Share on other sites More sharing options...
koden Posted November 1, 2007 Author Report Share Posted November 1, 2007 If i move the mouse cursor down to next object while macro is running, then it works :-) Can i make a "mouse move" that moves the mouse down the Y +20 and put this in my repeat command? Then it would resolve my problem. Quote Link to comment Share on other sites More sharing options...
koden Posted November 2, 2007 Author Report Share Posted November 2, 2007 Hmmm... no one knows anything. Or is my explanation not good enough? I'm sure someone knows about: "Can i make a "mouse move" that moves the mouse down the Y +20 and put this in my repeat command?" If I just can do that, it would be fine.... :-) Quote Link to comment Share on other sites More sharing options...
kevin Posted November 2, 2007 Report Share Posted November 2, 2007 "Can i make a "mouse move" that moves the mouse down the Y +20 and put this in my repeat command?" Sure. Variable Set Integer %N2% from Mouse X Position Variable Set Integer %N3% from Mouse Y Position Repeat Start (Repeat 20 times) Variable Modify Integer: Inc (%N3%) Mouse Move Screen %N2%, %N3% Repeat End Quote Link to comment Share on other sites More sharing options...
koden Posted November 2, 2007 Author Report Share Posted November 2, 2007 Oh...thanks... a great help for me... :-) But i'm not sure i understand the code... What am I setting in: Variable Set Integer %N2% from Mouse X Position Variable Set Integer %N3% from Mouse Y Position Quote Link to comment Share on other sites More sharing options...
koden Posted November 5, 2007 Author Report Share Posted November 5, 2007 TRY and you will find out.....thanks it's working but i don't understand what it's doing :-) Quote Link to comment Share on other sites More sharing options...
paul Posted November 6, 2007 Report Share Posted November 6, 2007 I go back to the remote picture.I make a arrow down I can see the color is moving down to next object, but the mouse cursor is not moving. So when i then make a right click, it's the mouse cursors position and not the objects color, that the macro uses. And that is the object from last time... This is because the mouse is moving on the wrong machine! In order to demonstrate this, try the following: open a remote desktop fullscreen session with the connection bar pinnedwrite and run 2 macros on the remote machine to simply move the mouse up the screen until its top coordinate is 0- in the 1st macro have the left coordinate to the left of the connection bar; this works as expected- in the 2nd macro, have the left coordinate halfway across the screen so that towards the top of the screen, the connect bar will interfere; as soon as the mouse pointer overlaps the connect bar (which will be before the top coordinate is 0), the mouse will no longer appear to move! I believe this is because the connect bar belongs to the local computer, whereas the mouse is moving on the remote computer. Quote Link to comment Share on other sites More sharing options...
koden Posted November 7, 2007 Author Report Share Posted November 7, 2007 I'm sure you are right. My problem is that I can't get permission to install macro express on the remote computer. But Kevins ex. is working fine :-) 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.