Close
Page 2 of 3 FirstFirst 1 2 3 LastLast
Showing results 11 to 20 of 25

Thread: Pip script help

  1. #11

    Default

    ok ima say this now im a noob at this boxing software and ive got low understanding of what im trying to do ive got a understading of how to get everything but the pip working ive read tuts but i still dont understand ive copied that script he gave me and put it in my script but it wont work right what do i have to change in it

  2. #12

    Default

    take all parts that are not about hoykeys. It has to be in the first section where it sets up WoW1-WoW5. If all are set to the main screen size, what is in the PiP area?
    RAF Tour Guide files are obsolete, I went to Zygor
    MultiBoxers play with themselves

  3. #13

    Default

    I think the simplest for us, to help you, would be if you post your entire script, so that we can see if something is wrong with it, or if this must have another reason, like maybe: not running in window mode, setting to use a fixed size in wow etc...
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  4. #14

    Default

    It might also help to see the messages that HotkeyNet displays when the hotkey is pressed, because they show the actual commands that the program is executing. (The new program doesn't do this because its scripts are compiled, and I dread the thought of answering customer service questions.)
    �Author of HotkeyNet and Mojo

  5. #15

    Default

    theres my script im just trying to get everything working right only thing im haveing trubble with is the PIP and yes i run in windowed mode its much easyer and it crashes at least 1 wow when i lanch them if im in fullscreen
    Code:
    //-----------------------------------------------------------
    // PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY. 
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl R>
        <SendPC local>
           <RenameWin "World of Warcraft" WoW1> 
           <RenameWin "World of Warcraft" WoW2>
           <RenameWin "World of Warcraft" WoW3>
           <RenameWin "World of Warcraft" WoW4>
    	   <RenameWin "World of Warcraft" WoW4>
    
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%> 
          <Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
          <RenameTargetWin %2%> 
    
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl L>
        <LaunchAndRename Local WoW1>
        <LaunchAndRename Local WoW2>
        <LaunchAndRename Local WoW3>
        <LaunchAndRename Local WoW4>
    	<LaunchAndRename Local WoW5>
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES. 
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    <Label w3 Local SendWinM WoW3>
    <Label w4 Local SendWinM WoW4>
    <Label w5 Local SendWinM WoW5>
    
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT. 
    //-----------------------------------------------------------
    <Hotkey A-Z, 0-9, Plus, Minus, F6-F11 except W, A, S, D, Q, E>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%> 
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey up, down, left, right>
    <SendLabel w1, w2, w3, w4, w5> 
    <Key %Trigger%> 
    
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
    // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU 
    // WANT TO BROADCAST.
    //-----------------------------------------------------------
    <UseKeyAsModifier Oem3>
    
    <Hotkey Oem3 LButton, MButton, RButton, Button4, Button5>
       <SendLabel w1, w2, w3, w4, w5> 
          <ClickMouse %TriggerMainKey%>
    
    //-----------------------------------------------------------
    // PiP settings
    //-----------------------------------------------------------
    <Command ResizeAndPosition>
       <SendPC Local>
           <SendWin %1%>
              <SetWinSize 1024 1200>
              <SetWinPos 0 0>
              <SetWinRegion 160 1620 300 200>
              <SetWinRegion 560 1620 300 200>
              <SetWinRegion 960 1620 300 200>
              <SetWinRegion 1360 1620 300 200>
          <SendWinM %2%>
              <SetWinSize 300 200>
              <SetWinPos 160 1620>     
          <SendWinM %3%>
              <SetWinSize 300 200>
              <SetWinPos 560 1620>     
          <SendWinM %4%>
              <SetWinSize 960 1620>
              <SetWinPos 1920 0>     
         <SendWinM %5%>
               <SetWinSize 1460 1620>
               <SetWinPos 1920 512>
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
       <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <Hotkey F2>
       <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <Hotkey F3>
       <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <Hotkey F4>
       <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <Hotkey F5>
       <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>   
    
    //----------------------------------------------------------------
    // pause hotkeys
    //----------------------------------------------------------------
    <Hotkey F12>
    	<sendpc local>
    	<ToggleHotkeys>
    this is what happend when i try to switch from wow 5 to wow 1 it got bigger and didnet go into pip heres the info on it

    From this pc: <SendWin WoW1><SetWinSize 1920 1200><SetWinPos 0 0><SetWinRegion 160 1620 300 200><SetWinRegion 560 1620 300 200><SetWinRegion 960 1620 300 200><SetWinRegion 1360 1620 300 200><SendWinM WoW2><SetWinSize 300 200><SetWinPos 160 1620><SendWinM WoW3><SetWinSize 300 200><SetWinPos 560 1620><SendWinM WoW4><SetWinSize 960 1620><SetWinPos 1920 0><SendWinM WoW5><SetWinSize 1460 1620><SetWinPos 1920 512>
    <SendWin WoW1> completed: Window found. Target set to 0xB0ADE "WoW1"
    <SetWinSize 1920 1200> completed
    <SetWinPos 0 0> completed
    <SetWinRegion 160 1620 300 200> completed
    <SetWinRegion 560 1620 300 200> completed
    <SetWinRegion 960 1620 300 200> completed
    <SetWinRegion 1360 1620 300 200> completed
    <SendWinM WoW2> completed: Window found. Target set to 0xD0AA6 "WoW2"
    <SetWinSize 300 200> completed
    <SetWinPos 160 1620> completed
    <SendWinM WoW3> completed: Window found. Target set to 0x190962 "WoW3"
    <SetWinSize 300 200> completed
    <SetWinPos 560 1620> completed
    <SendWinM WoW4> completed: Window found. Target set to 0x270AE4 "WoW4"
    <SetWinSize 960 1620> completed
    <SetWinPos 1920 0> completed
    <SendWinM WoW5> completed: Window found. Target set to 0x100A22 "WoW5"
    <SetWinSize 1460 1620> completed
    <SetWinPos 1920 512> completed

  6. #16

    Default

    ok, the answer why this isn't workin is, because you using wrong parameters for <SetWinSize>, <SetWinPos>.
    You said your screen has an resolution of 1024x768 (and you are only using one screen).
    To fix your script for example simply try to replace the hole '<Command ResizeAndPosition>'-section, with the following block Imentioned above:
    Code:
    <Command ResizeAndPosition>
       <SendPC Local>
          <SendWin %1%>
                   <SetWinRect 0 0 800 600>              
          <SendWinM %2%>
                 <SetWinRect 800 0 224 168>  
            <SendWinM %3%>
                <SetWinRect 800 168 224 168>     
            <SendWinM %4%>
                <SetWinRect 800  336 224 168>     
             <SendWinM %5%>
                 <SetWinRect 800 504 224 168>
    ..and try this out (and change the window resolutions later if you want others).
    I fixed some other 'errors' in your script, so simply try the following script:
    (fixed a typo in the renaming routine, removed the borders of the windows, set the initial sizes of the windows)
    Code:
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%> 
          <Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
          <RenameTargetWin %2%>
    <RemoveWinFrame>
    
    //-----------------------------------------------------------
    // PiP settings
    //-----------------------------------------------------------
    <Command ResizeAndPosition>
       <SendPC Local>
          <SendWin %1%>
                   <SetWinRect 0 0 800 600>              
          <SendWinM %2%>
                 <SetWinRect 800 0 224 168>  
            <SendWinM %3%>
                <SetWinRect 800 168 224 168>     
            <SendWinM %4%>
                <SetWinRect 800  336 224 168>     
             <SendWinM %5%>
                 <SetWinRect 800 504 224 168>
    
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl L>
        <LaunchAndRename Local WoW1>
        <LaunchAndRename Local WoW2>
        <LaunchAndRename Local WoW3>
        <LaunchAndRename Local WoW4>
    <LaunchAndRename Local WoW5>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES. 
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    <Label w3 Local SendWinM WoW3>
    <Label w4 Local SendWinM WoW4>
    <Label w5 Local SendWinM WoW5>
    
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT. 
    //-----------------------------------------------------------
    <Hotkey A-Z, 0-9, Plus, Minus, F6-F11 except W, A, S, D, Q, E>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%> 
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey up, down, left, right>
    <SendLabel w1, w2, w3, w4, w5> 
    <Key %Trigger%> 
    
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
    // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU 
    // WANT TO BROADCAST.
    //-----------------------------------------------------------
    <UseKeyAsModifier Oem3>
    
    <Hotkey Oem3 LButton, MButton, RButton, Button4, Button5>
       <SendLabel w1, w2, w3, w4, w5> 
          <ClickMouse %TriggerMainKey%>
    
    
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
       <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <Hotkey F2>
       <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <Hotkey F3>
       <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <Hotkey F4>
       <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <Hotkey F5>
       <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>   
    
    //----------------------------------------------------------------
    // pause hotkeys
    //----------------------------------------------------------------
    <Hotkey F12>
    <sendpc local>
    <ToggleHotkeys>
    would be nice if you can tell us, if the above script worked for you, when you start your WoWs with 'ctrl + alt + l'
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  7. #17

    Default

    woot it works great and yes ctrl+alt+l works i was wondering why you guys all put scroll lock in there i just thought it was a inconvinionce to have that so i took it out and yes it all works great thank you now i need a way to figure out how to bind macros to numberpad keys like on pwnboxer cus im to lazy to buy it and i figured why not just use this ware im in charge of the script

  8. #18

    Default

    glad you got the pip working :)
    i was wondering why you guys all put scroll lock
    - well, its in most HKN scripts, because Freddie uses it in his sample scripts, and most people copy/customize them.
    Me personal never liked the ScrolllockOn approach, but defined a seperate key to toggle HKN on/off as you did.
    But this simply comes down to personal choice..

    regarding the numpad: the keynames for the Numpad are:
    -if NumLock is on: NumPad0 - NumPad9
    -if Numlock is off: NumpadHome,NumpadUp,NumpadPgUp,NumpadLeft,Clear,Nu mpadright,NumpadEnd,NumpadDown,NumpadPgDn
    ...if this is helping you.
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  9. #19

    Default

    i know the names ive looked them up im saying a way to bind macros to them lol

  10. #20

    Default

    ah ok, sorry.
    If you can't do it with your BarMod, I would try to do it with script commands like:
    /script SetBindingMacro("KEYORBUTTON","MacroName")
    /script SaveBindings(GetCurrentBindingSet())

    with something like 'numpad3' as KEYORBUTTON. (this is a guess, so not tested)
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

Similar Threads

  1. Help with this script,
    By dylan5656 in forum New Multi-Boxers & Support
    Replies: 3
    Last Post: 05-31-2009, 10:20 PM
  2. Script
    By anardelade in forum New Multi-Boxers & Support
    Replies: 5
    Last Post: 04-27-2009, 11:10 PM
  3. AHK script for using F1?
    By Rayve in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 10-08-2008, 10:30 PM
  4. AHK script
    By kiizer in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 04-25-2008, 10:41 AM
  5. WoW Script
    By Zeio in forum General WoW Discussion
    Replies: 4
    Last Post: 08-16-2007, 02:35 AM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •