Florian Posted March 24, 2020 Report Share Posted March 24, 2020 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 ! Quote Link to comment Share on other sites More sharing options...
acantor Posted March 24, 2020 Report Share Posted March 24, 2020 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%"/> 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.