Jump to content


Photo

Multiboxing Script


  • Please log in to reply
No replies to this topic

#1 Avaro

Avaro

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 23 November 2017 - 06:59 AM

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
 
e7b043.png
 
 
// ----------------------------------------------------------------
// 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>

 

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users