分享

MouseImp的替代者DragToScroll ,支持xp和win7 x86 和 x64

 看见就非常 2012-09-03
MouseImp的替代者,支持xp和win7 x86 和 x64
发信站: 水木社区 (Sun Mar 13 11:05:11 2011), 站内

DragToScroll.ahk
http://www./forum/viewtopic.php?t=59726

Scroll any active window by clicking and dragging with the right mouse button.
Should not interfere with normal right clicking.
See the discussion link above for more information.

Installation:
None required; simply unzip and run DragToScroll.exe
The executable is stand alone and can be run from any directory.

Alternately, you can run the script version DragToScoll.ahk
The script depends on Tuncay's ini lib (ini.ahk) and must be in the same directory
http://www./forum/viewtopic.php?t=46226)

Configuration files will be create on the fly.
DragToScroll.ahk allows you to scroll any window or control by right clicking (RButton) and dragging the mouse. It works very similarly to the "Hand Tool" in Adobe products, such as Adobe PDF Reader.
  • Scroll both horizontally and vertically. Works in Firefox, IE, Chrome, Text Editors, Explorer, even controls within scrollable document like EditBoxes, ListViews and DropDownLists.
  • Works with background windows. Scrolls whatever you drag.
  • Will not interfere with normal RButton behavior. Only activated when clicking and dragging.
  • Control+RButton forces normal behavior
  • Great for reading or scrolling long documents. Click and drag slowly to follow along as you read, or quickly drag across the screen to jump to the end or anywhere in between.
  • Customizable! Properties for scrolling method, speed, acceleration, etc.
  • Perfect for laptops, netbooks, notebooks, or a portable mouse without a scroll wheel or middle button.
  • Grab and fling; scrolling momentum. Drag any window like TouchFlo, iPhone or Android

I may post updates or new info below, but this first post will always contain the updated 'trunk' version. Check back here for updates! Enjoy, and Let me know if you have any questions.

Thanks to the recent contributors & those reporting bugs. It's really satisfying to see a little project like this continue to grow, and to see people are finding use in it. Please feel free to post questions or ideas; i'd love to hear them! :)




'Tips & Help' wrote:
  • DragDelay is the minimum time to hold RButton before scrolling
      Increase this value if you are having trouble getting normal behavior out of the button; this allows you more time to click and release, which sends the normal click behavior.
  • Confine to target immediately stops drag/scrolling if mouse leaves target window or control
  • Changing the Scroll Method may yield different results with different applications; see below for more on the scroll method.
  • SpeedY/SpeedX globally adjusts speed of scrolling. 1.0 is default, .5 would slow scrolling by 50%, 1.5 would increase by 50%.
  • New Feature: Momentum!
      Recent updates adds momentum to your dragging and scrolling. If you drag with sufficient speed and release the mouse, the window will scroll slowly to a stop. I'm pretty pleased with the results, and am kind of surprised I hadn't thought of it before. I've been working on & using momentum for the past few days, and think I have the settings in a place that feels fluid and easy to use; you may still wish to adjust the Inertia or StopSpeed. To work properly & fluidly, I was also forced to change the DragThreshold to 0, instead of the previous chunking behavior with 5. This means that overall, scrolling should be smoother (specifically with the default WheelMessage mode), but now you can drag so slow as to not scroll at all; feel free to adjust it.

      Momentum does not work well with Smooth Scrolling; a feature found in both FireFox and IE. Smooth Scrolling is generally processor intensive and can cause slow scrolling on older machines, webpages with lots of video, etc. This script sends a lot of scroll messages, which can yield sluggish results. This may just be related to CPU power, but I always disable smooth scrolling anyway; I'd recommend you do the same, in your webbrowser options menu :)
  • UseMovementCheck will only start the drag if you click-hold and move the mouse. Clicking and holding while stationary will simply hold the binding button down.
  • Settings & per-app settings
      DragToScroll saves your settings in an INI file, so that your preferences are persisted between versions of the script.
      DtS also allows you to customize these settings for individual applications, meaning you can bring compliance to non-standard apps, or enable features only for specific applications.


'History' wrote:
    v1.0 Jun.28.2010
  • First release
  • Adds simple scroll acceleration to mirror mouse move speed

    v1.1 Jun.30.2010
  • General Cleanup, Efficiency improvements
  • Better scroll implemetations, full choice of method
  • Added scrolling by WM_MOUSEWHEEL

    v1.2 Jul.1.2010
  • Updated options menu
  • Increased precision in WM_MOUSEWHEEL
  • Added Nonlinear acceleration

    v1.3 Jul.09.2010
  • Adds separable settings for vertical and horizontal scroll methods
  • New defaults: WheelMessage for Vertical, ScrollMessage for Horizontal
  • Better compatibility for horizontal scrolling

    v1.5 Sept.15.2010
  • Code & docs cleanup, formatting fixes
  • Clean up, and inclusion of recent contributions (thanks all!)
  • Enable/Disable scrolling
  • User-defined RButton double-click action
  • Timer based hotkey activation
  • Tray Icons, if set & they exist
  • Edge Scrolling
  • Usage of 'Critical' hotkeys should finally end unintended drag-sticking

    v1.6 Sept.17.2010
  • Bugfixes & Cleanup
  • Edge Scrolling update; works with all windows, not just active
  • Added Scrolling Momentum!!

    v1.7 Sept.21.2010
  • Now Includes embedded icons
  • Update to the tray menu
  • Invertable drag

    v1.8 Oct.11.2010
  • Toggle slow mode (new double-click action)
  • Configurable selection of Hotkey
  • Movement Checking

    v1.9 Oct.20.2010
  • Rolls up beta releases & new features
  • Lots of bugfixes and cleanup
  • "Full" disable
  • User Settings saved in INI
  • Per-App customizations

    v2.0 Oct.21.2010
  • Automatic update check
  • Retroactive version numbers (yay)
  • Menu item for opening settings INI
  • Adds more per-app settings

    v2.1 Oct.27.2010
  • Automatic activation of windows for WheelKey method
  • Able to "catch" the scrolling window and re-drag
  • Supports infinite momentum (i.e. zero friction)
  • Per-app settings : invert drag
  • Per-app settings : full .exe process path (WinXP or later)
  • Tweak of default settings and app polish
  • Now Includes compiled version

    v2.2 Nov.04.2010
  • New Settings GUIs
  • Reworking of settings and menus
  • Limits Update Check trips during reload

    v2.3 Feb.15.2011
  • NEW Gesture support for flicking, scrolls one page
  • NEW Change the cursor while dragging
  • Bugfix in Momentum while using InvertDrag
  • Update to widen All Settings GUI; getting too tall.

    v2.4 Apr.08.2011
  • Updated Gesture Defaults - Back/Forward for browsers, Adobe Reader
  • Compatibility fixes - FFX4, VS2010, Apps w/o control IDs
  • Bugfix in mouse cursor changing
  • Highlighting for non-default values in All-Settings

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多