The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Oni/macros"

From A Tale in the Desert
Jump to navigationJump to search
Line 34: Line 34:
 
<br>
 
<br>
 
Command: <b>MousePos</b><br>
 
Command: <b>MousePos</b><br>
Used in the form of <b> MousePos X,Y </b>where X,Y are the mouse coords. Easiest use of this command is by using the <b>CTRL+M</b> function listed above.
+
Used in the form of <b> MousePos X,Y </b>where X,Y are the mouse coords. Easiest use of this command is by using the <b>CTRL+M</b> function listed above.<br>
 +
<br>
 +
Command: <b>Delay n</b><br>
 +
Used in the form of <b>Delay n</b> where "n" is the amount of time in milliseconds. 1 second = "Delay 1000".<br>
 +
<br>
 +
Command: <b>Leftclick, Rightclick</b><br>
 +
Self explanatory: will leftclick or rightclick on desired coordinates.<br>
 +
<br>
 +
Command: <b>Keys n</b><br>
 +
Used in the form of <b>Keys n</b> where "n" is a letter or number. This command will simulate that key stroke. If you want to spell something out or put in a 2 or 3 digit number, the command must be repeated. <br>
 +
ie: wanting to type in the number "100" <br>
 +
Keys 1<br>
 +
Delay 50<br>
 +
Keys 0<br>
 +
delay 50<br>
 +
Keys 0<br>
 +
<br>

Revision as of 23:37, 30 December 2008


Oni's Macro Guide



Step 1: Get the program I use

If you do not have ACTool yet, got to ACTool Download Page

Install the Program

I've found this to be the easiest to learn and most of the commands make logical sense to me. ie. "mousepos", "delay", "loop" ect.
There are a lot more advanced macro creating tools out there but most of them are similar to scripting language and confuse the hell outta me



Step 2: Basic functions

Function: CTRL+M .
This will capture the mouse position and place the coordinates of the mouse in the macro. To use this command, place the mouse on the object you want to click on, use ALT+TAB to tab over to the ACTool program, and press CTRL+M .

Function: F2.
This will start the macro with out having to press the start button.

Function: ALT+TAB ALT
This will Tab over to the macro program, then the 2nd "ALT" will select the file menu which will pause the macro, from there mouse over to "Macro" menu and click "Stop". This is very useful sometimes to stop a macro that is running and not functioning correctly. Many times it is nearly impossible to tab over and click stop on the macro.

Function: "Search" menu, "Replace"
Self explanatory: replaces any value in the macro with the given value.


STEP 3: Basic Commands

Command: MousePos
Used in the form of MousePos X,Y where X,Y are the mouse coords. Easiest use of this command is by using the CTRL+M function listed above.

Command: Delay n
Used in the form of Delay n where "n" is the amount of time in milliseconds. 1 second = "Delay 1000".

Command: Leftclick, Rightclick
Self explanatory: will leftclick or rightclick on desired coordinates.

Command: Keys n
Used in the form of Keys n where "n" is a letter or number. This command will simulate that key stroke. If you want to spell something out or put in a 2 or 3 digit number, the command must be repeated.
ie: wanting to type in the number "100"
Keys 1
Delay 50
Keys 0
delay 50
Keys 0