5. More Hotkey Examples

Here's a hotkey that controls two characters at the same time. One of them is on the same PC that the hotkey is pressed on (the local PC). The other is on a computer whose IP address is 192.168.1.102. Note that the hotkey does different things on the two machines. It types "Whoopee!" on the first and presses F1 on the second.


    <hotkey numpad_enter>
        <sendpc local>
            <sendwin Ubertastic>
                <text Whoopee!>
        <sendpc 192.168.1.102>
            <sendwin Ubertastic>
                <key F1>

Here's a hotkey that controls two characters on the same computer. To do this, the windows that contain the characters have to be given different names. This is done with the Rename button which is explained on the next page. The restore keyword flips back to the original foreground window after the hotkey finishes. This is necessary because sendwin flips windows before it sends characters. To avoid flipping the window, you can use sendwinM instead. You could also use foreground to move a particular window to the top.


    <hotkey LALT 4>
        <sendpc local>
            <sendwin UberOne>
                <text Dance and sing!><key enter>
            <sendwin UberTwo>
                <key F1>
            <restore>

Here's a different version of the hotkey that was just shown. This one uses sendwinM instead of sendwin, so it doesn't need restore at the end.


    <hotkey LALT 4>
        <sendpc local>
            <sendwinm UberOne>
                <text Dance and sing!><key enter>
            <sendwinm UberTwo>
                <key F1>

Here's a hotkey that uses toggle to flip between two windows on the same PC:


    <hotkey numpad_minus>
        <sendpc local>
            <toggle UberOne UberTwo>

Next page

 
INSTRUCTIONS


REFERENCE


OTHER STUFF


WORLD OF WARCRAFT