Script for Multiboxing

Third-party application discussions can be found here.
Post Reply
Nameious
Posts: 5
Joined: Mon Apr 10, 2017 10:59 am

Script for Multiboxing

Post by Nameious » Wed Nov 22, 2017 10:32 pm

Not sure if anyone would be interested in this, but I'll post it anyways. Hotkeynet is needed and afaik controller can't be used. Buddy of mine saw a stream and wanted to be able to play XI like that so here we are. :) This particular script is for tribox, but can be edited for as many as needed.

Features:
Hotkey for Window Switching instead of alt tab. (Tilde key)
Picture in Picture (Shows Mules Windows)
Toggle for PiP (On/Off) I haven't figured out how to make it permanent yet. (Alt Tilde)
Click to Switch Windows (Alt LMB)
I added a hotkey for autohide for taskbar since XI doesn't seem to like it and doesn't want to lose focus. (END) which also makes focus follow windows.

It still needs work and features, but I figured someone might be interested in it probably not though. :P

Image

Code: Select all

// ----------------------------------------------------------------
// AUTOHIDE TASKBAR FINAL FANTASY XI ISSUE?
// ----------------------------------------------------------------
<Hotkey END>
   <SetTaskbarAutoHide toggle>
   <SetActiveWindowTracking On>
 
// ----------------------------------------------------------------
// SET PIP CONFIGURATION
// ----------------------------------------------------------------
<Command ResizeAndPosition>
    <TargetWin %1%>	<SetWinRect 0 0 1920 1080>
    <TargetWin %2%>	<SetWinRect 51 186 480 270>
        <SetWinRegion None>
    <TargetWin %3%>	<SetWinRect 51 456 480 270>
        <SetWinRegion None>
    <TargetWin %1%>
        <SetWinRegion 51 186 480 270>
        <SetWinRegion 51 456 480 270>

// ----------------------------------------------------------------
// Cycle through the windows. 
// ----------------------------------------------------------------
 <Hotkey Oem3> // THIS IS WHERE YOU DEFINED HOTKEY
	<Toggle>
        <ResizeAndPosition Char1 Char2 Char3>
    <Toggle>
        <ResizeAndPosition Char2 Char1 Char3>
    <Toggle>
        <ResizeAndPosition Char3 Char1 Char2>
 
 
// ----------------------------------------------------------------
// Cycle through the windows via mouse clicks
// ----------------------------------------------------------------
 
 <Hotkey alt RButton>
   <PassThrough>
   <DoHotKey Hotkey Oem3>

<Hotkey alt LButton>
   <PassThrough>
   <If ActiveWinIs Char1>
         <ResizeAndPosition Char1 Char2 Char3>
   <Else If ActiveWinIs Char2>
      <ResizeAndPosition Char2 Char1 Char3>
   <Else If ActiveWinIs Char3>
      <ResizeAndPosition Char3 Char1 Char2>
 
 
// ----------------------------------------------------------------
// TOGGLE PIP ON/OFF ONLY OFF FOR NOW
// ----------------------------------------------------------------
 
 <Hotkey ALT Oem3>
    <If WinSizeIs Char1 1920 1080>
          <TargetWin Char1>
                <SetWinRegion none>
                <SetForegroundWin>
                <UpdateWin>
     <If WinSizeIs Char2 1920 1080>
          <TargetWin Char2>
                <SetWinRegion none>
                <SetForegroundWin>
                <UpdateWin>
	<If WinSizeIs Char3 1920 1080>
          <TargetWin Char3>
                <SetWinRegion none>
                <SetForegroundWin>
                <UpdateWin>
                
Iori88
Posts: 2
Joined: Sat Jul 28, 2018 10:08 pm

Re: Script for Multiboxing

Post by Iori88 » Sat Aug 04, 2018 12:53 pm

Hey everyone!

I'm new to Ashita and I'm not sure if this is the correct sub to post this in but I was looking through the forum and saw the Hotkeynet:

https://forums.ashitaxi.com/viewtopic.php?f=9&t=261

I'm very new to all this so I was wondering if anyone could explain how to use this. Where do I save it and how to start it up. I tried to save it in the script section and load in but to no avail.
Post Reply