Comments (6)
You are welcome, thanks for your feedback, it is thanks to people like you that I can keep AltDrag working for everyone.
from altsnap.
Sorry for late reply
Could you give me the full .ini file?
How does those new instances appear? is there something you do that can create new instances or does they just appear by themself? Did you try without AutoHotKeys enabled?
I will review my code when I have more time.
from altsnap.
Does the latest release fixes this problem?
from altsnap.
Hi,
Sorry for being away. I've since moved on to using an alt+drag script in AutoHotkey, but I will still test out your latest AltDrag build to see how it goes since you released a build that hopefully addresses the issue. Answering your questions: the new instances show up by themselves after starting AltDrag, and not once did I manually start another instance of AltDrag. Also, the full ini file from the previous build (the one that had the multiple instance issue) is below as requested.
; Disable and enable AltDrag to refresh configuration.
[General]
AutoFocus=0
; Automatically raise and focus the windows you drag.
Aero=1
; Mimic Windows 7 Aero Snap behavior.
; Drag windows to the left, right, top or bottom side of the monitor.
; Corners work too! Hold Ctrl to trap the mouse cursor within the current
; monitor for easier snapping when using multiple monitors.
AeroHoffset=50
AeroVoffset=50
; Horizontal ans vertical position (from top left in percent) where the aero
; windows will meet default is 50 50, center of the monotor.
; If you set AeroHoffset=33 for example, it means that the windows snapped
; on the left will use only 33% of the monitor width, those on the right will
; have the remaining 67%. I really advise to play around with this if you use
; Aero snapping...
InactiveScroll=0
; Add ability to scroll inactive windows. Hold shift to scroll horizontally.
AutoSnap=2
; Makes the window automatically snap to other windows, without the need to press shift.
; List of settings:
; 0: Disabled.
; 1: Automatically snap to the screen borders and the taskbar.
; 2: Also automatically snap to the outside of windows.
; 3: Also automatically snap to the inside of windows.
MDI=1
; Enable support for MDI windows (Multiple Document Interface), e.g. mIRC.
; A blacklist can be set to prevent this behavior on some windows (see below)
ResizeCenter=1
; Enables the center mode for resizing
; if set to 0 Bottom right mode will be used at the center.
; if set to two, the windows Will be moved instead.
CenterFraction=24
; Fraction in percent from 0 to 100 that defines the size of the central
; resizing region. Default is 24
Language=en-US
; Available languages: en-US (English), fr-FR (French), pl-PL (Polish) etc...
[Input]
LMB=Move
MMB=Maximize
RMB=Resize
MB4=Nothing
MB5=Nothing
Scroll=Nothing
; Mouse actions for Left, Middle and right mouse buttons (MB), MB4,5 and wheel.
; Available: Move, Resize, Close, Minimize, Lower, AlwaysOnTop, Center, Nothing.
; Scroll actions: AltTab, Volume, Transparency, Nothing
; When moving and resizing windows, hold shift to snap to other windows.
; For Volume and Transparency, try holding shift to adjust the speed.
LowerWithMMB=0
; Lower windows by middle clicking on the title bar, without pressing Alt.
AggressivePause=0
; Allows to pause the pointed window with Alt+Shift+PAUSE shortcut.
; resuming is done with Alt+PAUSE. Windows XP and later...
; Be carefull as it uses the undocumented NtSuspendProcess function.
Hotkeys=A4 A5
; Space separated hexadecimal values.
; Quick reminder:
; A4 A5 => Left (A4) and right (A5) ALT
; 5B 5C => Left (5B) and right (5C) WIN
; A0 A1 => Left (A0) and right (A1) SHIFT (not recomended)
; A2 A3 => Left (A2) and right (A3) CTRL (not recomended)
; 70 to 87 => F1 to F24 keys
; Values at: https://msdn.microsoft.com/en-us/library/dd375731(VS.85).aspx
; You can specify up to 10 keys.
[Blacklist]
; For all blacklists items must be separated with coma and without spaces.
; Spaces can be present in the item itself. eg: "Virtual PC.exe"
; Unicode is fully supported for blacklist items in Windows 2000+
; UCS-2 only in Windows NT4.
Processes=Virtual PC.exe
; List of processes (coma separated) that AltDrag will not interfer with.
; Requires the 'GetProcessImageFileName' function available on WinXP+
; On NT4 and 2000 you are limited to the window name|class blacklist
Windows=*|MultitaskingViewFrame,Volume Control|Tray Volume,Volume Control|Windows.UI.Core.CoreWindow,*|TaskSwitcherWnd,*|TaskSwitcherOverlayWnd,|WorkerW,|Shell_TrayWnd,|BaseBar,|#32768,Start|Windows.UI.Core.CoreWindow|*Notepad++
; List of Windows for Which AltDrag is completly disabled
Snaplist=*|BaseWindow_RootWnd,*|SkinWnd,*|ChatSkinWnd,*|SpotifyMainWindow,*|USurface_33202
; List of Windows on that should be snapped to, even though they have no caption.
MDIs=*|PPTFrameClass,*|MMCMainFrame
; List of Windows for Which AltDrag ignores MDI option
; Default is Powerpoint and Microsoft Management Console.
Pause=AltDrag.exe,taskmgr.exe,explorer.exe,Virtual PC.exe
; List of processes that can not be paused when using the AgressivePause
; Applies only to Windows XP or later...
; For Windows, Snaplist and MDIs:
; Three options are offered to you in this case:
; 1) Set the whole title|class windows info.
; 2) Set all windows from this class with ,*|class.
; 3) Set the windows title only with ,title|*.
; Use the "Identify window" option in AltDrag Config.
[Advanced]
AutoRemaximize=0
; Automatically re-maximize windows when you move them between monitors.
SnapThreshold=20
; The distance in number of pixels when snapping starts (default 20).
AeroThreshold=5
; Distance in pixels when Aero snapping to monitor sides (default 5).
MultipleInstances=0
; Set to 1 to allow multiple instances of AltDrag.
AlwaysElevate=0
; Set to 1 to have AltDrag always request elevation.
ResizeAll=1
; Set to 1 to be able to resize all windows even those without borders.
AeroTopMaximizes=1
; Enable if you want the window to be maximized when snapped at the top
; of the monitor. You can always hold Shift to invert the behavior.
UseCursor=1
; Use 0 to disable any cursor handeling.
; Use 1 to have all cursors set (default)
; Use 2 in order to disable the Hand cursor when moving
; Use 3 to always use the normal cursor, even when resizing.
PearceDBClick=0
; Set to 1 to disable the maximizing/restore on Alt+dboube-click.
; Instead the double-click will "pearce" through the move action.
[Performance]
FullWin=1
; Enables the Drag Full Windows set to 0 for beter performances,
; when not using desktop composition.
RefreshRate=7
; Minimum delay in miliseconds between two refresh of the window.
; I advise a value slightly lower than your refresh rate ie:
; 60Hz monitor => RefreshRate=16
; Max value is 255 (4 Hz), sane values are below 100 (10 Hz).
; Use 0 if you want the most reactivity.
MoveRate=2
ResizeRate=4
; The number of pixels to wait before actually moving the window.
; Use 1 for instant updates. You will have better perf with higher values
; but you will loose precision in moving/resizing. Sane values are below 10.
; Recommended is 1 to 5
; In case you want even better performances, just use FullWin=0
from altsnap.
It is all fine, no hurry.
I made a change that, I expect, should resolve the problem, because I think that other instances of AltDrag might have been created depending onyour power saving options in Windows 10 (hopefully no more).
If you keep encountering the problem with the latest release, then inform me here, if you give AltDrag another try...
Thanks for the ini file as well.
I was mostly disconected from the web for the new-year period.
from altsnap.
Well, I've been running v1.34 for the past several hours, the first few without AutoHotKey running and then the last couple with AutoHotKey running (AHK's alt+drag script commented out), and there's no longer any additional instances being spawned over the entire span. Thanks!
from altsnap.
Related Issues (20)
- Windows always snap, no matter AltSnap settings.
- Feature Request : Autoborderless zone-snapped windows (minus blacklist) ? HOT 1
- Resize windows from center - like osx [Feat] HOT 5
- Cant seem to clear shortcut keys - keyboard tab [v1.63] HOT 8
- Feature request : Somehow be able choose overlapping zones ? HOT 8
- Feature request : reload config explicitly option in systray context menu HOT 2
- [bug?] Snapping after Alt-Tab doesn't work. HOT 3
- Fix minimize action HOT 1
- [question] how to bring window to front after Alt-Click-MouseMove? HOT 2
- Intermittently stops interacting with windows HOT 3
- Move to left/right/top/bottom zoone limitation HOT 2
- Compatibility with Komorebi HOT 5
- Add UIAccess flag to allow managing admin windows without running as admin HOT 10
- Chocolatey packaget not updating HOT 10
- PiercingClick doesn't work on windows11? HOT 5
- Cursor can't left-click until a right-click is issued HOT 22
- Centering a window is misaligned
- A separate blacklist for showing Window lists/Changing Windows
- Highlight selected zones before snapping HOT 1
- Allow resizing while alt+left click held down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altsnap.