StarCraft II Mouse Scroll (edge of screen) while windowed

Discussion in 'StarCraft 2 Maps, Replays, Modding' started by Bkid, May 4, 2010.

StarCraft II Mouse Scroll (edge of screen) while windowed

Discussion in 'StarCraft 2 Maps, Replays, Modding' started by Bkid, May 4, 2010.

  1. Bkid

    Bkid New Member

    Joined:
    May 4, 2010
    Messages:
    5
    Likes received:
    0
    Trophy points:
    0
    I really enjoyed the fact that you can scroll the map by moving your mouse to the very edge of the screen, but I wasn't happy with the fact that the game didn't lock your mouse into its window if you play the game in windowed mode.

    I wanted to have the best of both worlds, so I came up with this script. It's a good amount of borrowed code from "corrupt", a user on the AutoHotKey forums. I've modified the code a little so that it doesn't go all the way to the top of the window (bar and all), and doesn't go to the very edges of any side of the screen. Also, it's now activated with CapsLock.


    Download: http://www.mediafire.com/download.php?zndtnm3wydd

    A readme is included in the download.



    What needs to be added/changed:

    * A better way to activate the window (right now it can be screwed up if you have a folder open named "StarCraft II")

    * Bug fixes/things I haven't realized are wrong yet. :p

    * Code clean up
     
    Last edited: May 5, 2010
  2. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    Does it include instructions on how to load the script in the download?
     
  3. Gardian_Defender

    Gardian_Defender New Member

    Joined:
    Nov 30, 2008
    Messages:
    691
    Likes received:
    1
    Trophy points:
    0
    From:
    Oregon_USA
    why not just play full screen?
    seems like alot of work for something that would only help a few that accually play it in windowed form.
     
  4. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    For those of us with dual screen setups or debugging maps on the fly, this is obscenely helpful.
     
  5. Bkid

    Bkid New Member

    Joined:
    May 4, 2010
    Messages:
    5
    Likes received:
    0
    Trophy points:
    0
    I multitask far too much to play fullscreen. Also, the script wasn't too bad to make. I originally made it just for myself, but I figured I would release it to everyone so that it could help whoever else may need it.

    Also, there is a readme.txt file included in the download.