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.

Beren/Macros

From A Tale in the Desert
Revision as of 01:44, 15 December 2008 by Beren (talk | contribs) (New page: '''Flax Weeding''' ---- This is a flax hotkey weeding macro for Linux/xautomation. #!/usr/bin/bash xte 'mouseclick 1'; sleep 0.1; xte 'mousermove 20 -10'; sleep 0.1; xte 'mouseclick 1'...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Flax Weeding


This is a flax hotkey weeding macro for Linux/xautomation.

  1. !/usr/bin/bash

xte 'mouseclick 1'; sleep 0.1; xte 'mousermove 20 -10'; sleep 0.1; xte 'mouseclick 1';

To get this to work in Gnome do the following:

1. Run "gconf-editor" from a command line. 2. Go to apps->metacity->keybinding_commands 3. Change the Value in command_1 to the command to run the above script, e.g. bash /home/beren/macros/weed.sh 4. Go to apps->metacity->global_keybindings 5. Change the value of "run_command_1" to e.g. <Alt>s

Now when you hover your mouse over flax which requires weeding and hit Alt+s it'll run the macro.