Close
Showing results 1 to 2 of 2

Threaded View

  1. #1

    Default Help With Tera Script Mouseclicks

    Heres the script Ive been using. E is to reset cam position which lines up crosshairs somehwat for aoe spells. Follow works well but mouseclicks are not going well. WOuld love to be able to swithc windows lineup crosshairs and return to mainwindow. Any help/corrections would be greatly appreciated. This was the sample wow script 2 on 1 edited for my use with tera. Feel free to use.

    Running 2 instances of Tera on 2 monitors

    Mouseclicks as of now..when i clck left mouse it changes focus window to window 2 and if i click again it then goes back to window 1. I would love for this to work where If i hold down a hotkey..it switches to window 2 lets me line up the crosshairs..then either release hot key or press another hotkey to return to window 1 and continue broadcasting keyclicks.

    Launching and renaming doesnt really work cause of the launcher window and how that works..so ive been launching and renaming manually. But if anyone cant edit that to work..that would be great too...Please HELP!

    CNTRL R works to rename the windows only if the launcher is closed..which btw will not kill either instance of TERA after they are running. Atleast for me.

    Trying to:

    Have HKN launch Tera enter info ...click play. not sure if thats possible? rename window 1 close the launcher..wait till loaded and launch again click play rename window 2 close launcher again. and set window positions...

    Broadcast keyclicks and mouseclicks

    Have a hotkey setup to activate window 2 while holding hotkey to align crosshairs then either release hotkey or press another hotkey to return to window 1..

    Not sure if HKN ever added dragmouse feature..found a few posts mentioning adding this feature but couldnt find anything.

    any other suggestions/help would be appreciated as im new to HKN






    Code:
    //-----------------------------------------------------------
     // PRESS CTRL R TO RENAME Tera'S IF YOU LAUNCH THEM MANUALLY 
    //-----------------------------------------------------------
     <Hotkey ScrollLockOn Ctrl R>
         <SendPC local>
             <RenameWin "TERA" Tera1> 
     <Hotkey ScrollLockOn Alt R>
         <SendPC local>
             <RenameWin "TERA" Tera2>
           
    //-----------------------------------------------------------
     // SUBROUTINE TO LAUNCH AND RENAME A COPY OF Tera.
     //-----------------------------------------------------------
     <Command LaunchAndRename>
        <SendPC %1%> 
          <Run "C:\ProgramData\HappyCloud\Cache\TERA\TERA-Launcher.exe">
             <RenameTargetWin %2%>
     
    //-----------------------------------------------------------
     // HOTKEY TO LAUNCH AND RENAME BOTH Tera'S. + RESIZE AND POSITION
     //-----------------------------------------------------------
     <Hotkey ScrollLockOn Alt Ctrl L>
         <LaunchAndRename Local Tera1>
         <LaunchAndRename Local Tera2>
    
    <Command ResizeAndPosition>
       <TargetWin Tera1>
          <SetWinPos 0 0>
          <SetWinSize 1920 1080>
       <TargetWin Tera2>
          <SetWinPos 1921 0>
          <SetWinSize 1920 1080>
    ``````````````````````````````````````````````````````
    //-----------------------------------------------------------
     // HOTKEY TO FOLLOW
     //-----------------------------------------------------------
    `````````````````
    <Hotkey ScrollLockOn g>
        <SendPC local>
            <SendWinm Tera2>
                <key Enter>
                <wait 250>
                <text /follow "Player Name">
         <wait 300>
                <key Enter>
    
    <Hotkey ScrollLockOn h>
        <SendPC local>
            <SendWinm Tera1>
                <key Enter>
                <wait 250>
                <text /follow "Player Name">
         <wait 300>
                <key Enter>
     
     
               
     //-----------------------------------------------------------
     // HOTKEYS TO TOGGLE ACTIVE WINDOW  NOT WORKING---No error..
    //-----------------------------------------------------------
        <hotkey ScrollLockOn q>
             <sendpc local>
                 <toggle Tera1 Tera2>
               
     //-----------------------------------------------------------
     // HOTKEYS TO TOGGLE ACTIVE WINDOW TRACKING
    //-----------------------------------------------------------
    <Hotkey Alt F1>
    <SetActiveWindowTracking on>
    <Hotkey Alt F2>
    <SetActiveWindowTracking off>
     //-----------------------------------------------------------
     // DEFINE MAIL LABELS FOR SENDING KEY STROKES 
    //-----------------------------------------------------------
     <Label w1 Local SendWinM Tera1>
     <Label w2 Local SendWinM Tera2>
    //-----------------------------------------------------------
     // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
     // SENT TO BOTH TeraS. ADD MORE KEY COMBO'S IF YOU WANT. 
    //-----------------------------------------------------------
     <Hotkey ScrollLockOn A-Z, 0-4, 6-9, Plus, Minus, Space, F1-F12 except W, A, S, D, Q, H, E, G>
     <SendLabel w1, w2>
     <Key %Trigger%> 
     <Hotkey e>
     <SendWinM Tera2>
     <Key %Trigger%> 
    //-----------------------------------------------------------
     // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH Tera'S.
     // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
     <MovementHotkey ScrollLockOn up, down, left, right>
     <SendLabel w1, w2>
     <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 ScrollLockOn LButton>
     <SendLabel w1, w2>
     <Clickmouse LButton>
     <wait 250>
     <RestoreMousePos>
     <Else>
     <SendFocusWin>
     <Clickmouse LButton>
    Last edited by Khatovar : 03-31-2013 at 11:47 PM

Posting Rules

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