Giter Club home page Giter Club logo

Comments (6)

RamonUnch avatar RamonUnch commented on August 20, 2024 1

You are welcome, thanks for your feedback, it is thanks to people like you that I can keep AltDrag working for everyone.

from altsnap.

RamonUnch avatar RamonUnch commented on August 20, 2024

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.

RamonUnch avatar RamonUnch commented on August 20, 2024

Does the latest release fixes this problem?

from altsnap.

ms6676749 avatar ms6676749 commented on August 20, 2024

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.

RamonUnch avatar RamonUnch commented on August 20, 2024

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.

ms6676749 avatar ms6676749 commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.