Jump to content
Macro Express Forums

Need little help


Recommended Posts

Hello i need just a little help (Sorry for my english i'm French)

 

In my game when i type "%pos%" in the chat the game answer me in the chat my position ( [-35,55] or [4,-7] ) and i want to copy only one coordinates.

 

For exemple:

If my position is [-56,45] in the first step i want to copy and paste just -56 and after i want to take 45.

 

But it's not all time -56 and 45 they have a lot of possibility how can i select the first number, copy past and after select the second but i want the solution work for all of number (between -60 and 60).

 

Thanks for your help ! 

 

 

Link to comment
Share on other sites

This script assigns variables to the x and y coordinates of the mouse pointer relative to...

 

1. The entire screen

 

2. The window that has focus

 

Get Mouse Position into (%Screenx%, %Screeny%) Relative to Screen
Get Mouse Position into (%Windowx%, %Windowy%) Relative to Current Window


<GET MOUSE POSITION Option="\x00" X="%Screenx%" Y="%Screeny%"/>
<GET MOUSE POSITION Option="\x01" X="%Windowx%" Y="%Windowy%"/>

 

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...