-
Notifications
You must be signed in to change notification settings - Fork 0
/
AltSnap.ini
547 lines (464 loc) · 42.1 KB
/
AltSnap.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
; Disable and enable AltSnap to refresh configuration.
; Created for AltSnap v1.57
[General]
AutoFocus=0
; Automatically raises and focuses the windows you drag.
Aero=1
; Mimics 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.
SmartAero=3
; If set to 1 (default), AltSnap will adjust the dimensions of
; a snapped window to other resized snapped windows.
; If set to 0, disabled, restores the old AltDrag behavior.
; If 2 is added, AltSnap will be smarter and snap to more windows.
; If 4 is added, AltSnapped windows will never be restored.
StickyResize=1
; If set to 1 or 3, other windows that are snapped to the current one
; can be resized by holding the Shift key.
; If set to 2, The above is done without the Shift key (Shift will disable it instead).
; If set to 0, sticky resizing is disabled.
MMMaximize=2
; Set the way MouseMove can maximize default is 1.
; If set to 1, to use resize/move combo (default).
; If set to 2, restores a window on a single left click instead of a drag.
; If set to 3, does both of the above (like the original AltDrag).
; If set to 0, disabled, does none of the above.
AeroHoffset=50
AeroVoffset=50
; Horizontal and vertical position (from top left in percent) where the aero
; windows will meet default is 50 50, at the center of the monitor.
; If you set AeroHoffset=33, for example, the windows snapped
; on the left will use only 33% of the monitor width, those on the right will
; have the remaining 67%. I strongly advise you to play around with this if
; you use Aero snapping...
InactiveScroll=0
; Adds the ability to scroll inactive windows. Hold shift to scroll horizontally.
; DO NOT USE under Windows 10/11, it is reserved for Win 8 and previous.
AutoSnap=2
; Makes a window automatically snap to other windows, without the need to press shift.
; List of settings:
; 0: Disabled.
; 1: Automatically snaps to the screen borders and the taskbar.
; 2: Also automatically snaps to the outside of windows.
; 3: Also automatically snaps to the inside of windows.
MDI=1
; Enables 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
; 0: Bottom right mode will be used at the center.
; 1: Enables the center "All directions" mode for resizing (default).
; 2: The windows will be moved instead.
; 3: The closest side mode will be used at the center.
CenterFraction=24
; A fraction in a percent from 0 to 100 that defines the size of the central
; resizing region (default is 24), used to be 33% in AltDrag beta.
MoveTrans=255
; Transparency from 1-254, which is set to the window that is currently
; moved/resized. Lower values are more transparent.
; If set to 0 or 255, the feature is disabled (default is 255).
Language=en-US
SidesFraction=255
; Available languages: en-US (English), fr-FR (French), pl-PL (Polish) etc...
; Default is Auto for automatic selection based on local.
[Input]
UniKeyHoldMenu=0
; If enabled, then a long key press will popup a menu with a list of
; extended/unicode characters that can be typed.
LMB=Move
MMB=Close
RMB=Resize
MB4=AltTabList
MB5=Nothing
Scroll=Maximize
HScroll=Nothing
; Mouse actions for Left, Middle, and Right mouse buttons (MB), MB4,5 and wheel.
; List: Nothing, Move, Resize, Menu, Minimize, Maximize
; Center, AlwaysOnTop, Close, Lower, Borderless
; Kill, Pause, Resume, MaximizeHV, MinAllOther, Mute, SideSnap,
; NStacked, NStacked2, PStacked, PStacked2, StackList, StackList2, ASOnOff, MoveOnOff
; MLZone, MTZone, MRZone, MBZone XLZone, XTZone, XRZone, XBZone
; Wheel actions : Roll, AltTab, Volume, Transparency, HScroll
; Zoom, Zoom2, NPStacked,
; When moving and resizing windows, hold shift to snap to other windows.
; For Volume, Transparency and Zoom, try holding shift to adjust the speed.
LMBB=Nothing
MMBB=AltTabList
RMBB=Nothing
MB4B=Nothing
MB5B=Nothing
ScrollB=HScroll
HScrollB=Nothing
; Alternative action for each button (used when the ModKey is pressed).
LMBT=Nothing
MMBT=Close
RMBT=Nothing
MB4T=Nothing
MB5T=Nothing
ScrollT=Roll
HScrollT=Nothing
; Actions to be performed in the titlebar,
; with or without Alt, see TTBActions.
LMBTB=Nothing
MMBTB=Nothing
RMBTB=Nothing
MB4TB=Nothing
MB5TB=Nothing
ScrollTB=Nothing
HScrollTB=Nothing
; Alternate titlebar actions (.ini only)
GrabWithAlt=Nothing
GrabWithAltB=Nothing
; Substitute Nothing with a hotkey, so you can perform the action
; without needing to click. This is useful for touchpads.
; Try with GrabWithAlt=Resize and set ResizeCenter=2 and CenterFraction=60
MoveUp=Nothing
MoveUpT=Nothing
ResizeUp=Nothing
ResizeUpT=Nothing
MoveUpB=Nothing
ResizeUpB=Nothing
; Actions that will be performed on the click UP even of a Move/Resize
; IF no drag occured AND the click was long or PiercingClick=1.
; The B sufixed version apply if the ModKey is down, as usual.
; /!\ Those actions are not associated with buttons but with Move/Resize.
TTBActions=3
; Perform specific actions when clicking in the titlebar
; If set to 1, to perform the action without Alt
; If set to 2, to perform the action with Alt.
; If set to 3, does both of the above.
ScrollLockState=0
; If set to 1, AltSnap will be disabled when Scroll Lock is OFF.
; If set to 3, AltSnap will be disabled when Scroll Lock is ON.
HScrollKey=10
; List of keys used to transform a vertical scroll into a Horizontal scroll,
; applies only when the InactiveScroll option is used (Old windows versions).
; Default value is 10 ie VK_SHIFT.
Hotkeys=5B 06
; 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
; A2 A3 => Left (A2) and right (A3) CTRL
; 70 to 87 => F1 to F24 keys
; Values at: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
; You can specify up to 7 keys.
ModKey=A4
; Modifier keys to use the B action of each button.
Killkeys=09 2E
; Keys that will disable AltSnap when pressed down!
; Space-separated hexadecimal values.
; All keys from A-Z always disable AltSnap, so do not add them here.
; Default is TAB: 09 (for DisplayFusion's Alt+Tab).
; 2E for the DEL key (for Ctrl+Alt+DEL).
Shiftkeys=A0 A1
; Key that is used to snap windows and modify actions
; defaut sis A0 A1 for left and right shift.
EndSendKey=0E
; Key sent at the end of a movement to avoid menu selecting because of Alt
; or to avoid poping up the Windows menu when using WinKey as a hotkey.
; Since the original AltDrag the default value is 11 (VK_CONTROL).
; You can try sending other keys or set to 00 to disable key sending.
; You can try WinKey(5C) if you use Alt(12) as a hotkey or vice-versa.
; You can try using some of the undefined VK-codes such as 0E.
Hotclicks=
; Mouse clicks that can be used to trigger AltSnap.
; This can be used together with the Hotkeys or as a replacement.
; Space-separated hexadecimal values.
; Values: MMB=04, MB4=05, MB5=06, MB6=07, MB7=08, MB8=09, MB9=0A,
; MB10=0B, MB11=0C, MB12=0D, MB13=0E, MB14=0F, MB15=10,
; MB16=11, MB17=12
; Just do not try this with LMB and RMB, please....
; For example, I would suggest using MB4 and MB5 ie: Hotclicks=05 06
; And using MB4=Move and MB5=Resize.
; To use MB6-MB9 see the XXButtons section.
XXButtons=
; List of keys that are actually mapped to extra mouse button (6-17)
; You can specify up to 15 values in the button order you prefer.
; Any key specified here will behave like a mouse button for AltSnap.
; Also the key will ALWAYS be unusable outside of AltSnap
; This is intended for mouse buttons that that are mapped by a
; driver to keyboard keys, If possible use keys that does not exist
; on your keyboard ie: F13-F24.
; The extra buttons defined like this are mapped to MB6/7/8/9(B)(T)
; If you set for example XXButtons=7C 7D 7E 7F, then:
; the F13 key will be mapped to MB6, F14 to MB7 etc.
; MB20 is the maximum button. Those buttons can be added to the Hotclicks
KeyCombo=0
; If set to 1, you will actually need to press two hotkeys
; to enable AltSnap (any combination of two hotkeys).
; You need at least TWO hotkeys!
; Does not apply to Hotclicks!
LongClickMove=0
; Turns a long click in a move.
; This is a way to use AltSnap without keyboard.
; Set to 0 to disable (default)
; Set to 1 to enable and long click delay will be double click delay.
FrameColor=80 00 88
; Hexadecimal color of the hollow rectangle that is used when you disabled
; the FullWin option/Show window content while dragging.
; You need to put spaces between each pair of characters (RR GG BB)
; eg: 00 00 00 for black, FF 00 00 for red, 80 00 80 dark violet...
PinColor=FF FF 00 54
; Like FrameColor but concerns the color of the always on top indicator
; The last byte represents the hex ASCII of the letter to be drawn.
; Default is FF FF 00 54 for Yellow with a T (54).
[Blacklist]
; For all blacklists, items must be separated with a comma 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,StartMenuExperienceHost.exe,SearchApp.exe,osk.exe
; List of processes (comma separated) that AltSnap will not interfere with
Windows=Program Manager|Progman*|MultitaskingViewFrame,Volume Control|Tray Volume,Volume Control|Windows.UI.Core.CoreWindow,*|TaskSwitcherWnd,*|TaskSwitcherOverlayWnd,|WorkerW,|Shell_TrayWnd,|BaseBar,|#32768,*|XamlExplorerHostIslandWindow,*|TSSHELLWND,|MozillaDropShadowWindowClass,*|RAIL_WINDOW,VistaSwitcher|VistaSwitcher_SwitcherWnd
; List of windows for which AltSnap is completely disabled
Scroll=
; List of windows that should just ignore the scroll action
; eg: *|Photoshop
MDIs=*|PPTFrameClass,*|MMCMainFrame,*|classFoxitReader
; List of windows for which AltSnap ignores MDI option
; Default is Powerpoint, Microsoft Management Console and Foxit.
Pause=taskmgr.exe,explorer.exe,dwm.exe,Virtual PC.exe,AltSnap.exe
; List of processes that will not be paused or killed
; when using the Pause/resume and Kill keyboard actions.
Snaplist=*|BaseWindow_RootWnd,*|SkinWnd,*|ChatSkinWnd,*|SpotifyMainWindow,*|USurface_*,*|Winamp*,*|M4W_MainWindow,*|SunAwtDialog
; List of windows that should be snapped to, even though they have no caption.
; Use Snaplist=*|* if you want to enable snapping to all border-less windows.
MMBLower=*|CASCADIA_HOSTING_WINDOW_CLASS,*|MozillaDialogClass
; List of windows for which the Titlebar action should not be performed.
; default is MS-WindowTerminal and some popup windows of Firefox.
; 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 window title only with ,title|*.
; Use the "Identify window" option in AltSnap Config.
AResize=*|SunAwtDialog
; List of windows that AltSnap should consider as resizeable
; Only applies when ResizeAll=0
; eg: *|SunAwtDialog for MATLAB's help.
SSizeMove=*|iTunes
; List of windows to which the WM_ENTERSIZEMOVE / WM_EXITSIZEMOVE will not
; be sent. Keep the default value unless you know what you are doing.
NCHittest=*|ApplicationFrameWindow
; List of windows for which AltSnap should try directly to question the
; ancestor window for the Hittest, in order to know where the title bar is.
; Default is *|ApplicationFrameWindow for all METRO apps on Win10+
Bottommost=*|RainmeterMeterWindow
; List of windows that should be kept below other Windows that are lowered
; by AltSnap. Default is *|RainmeterMeterWindow for Rainmaker skin windows.
[Advanced]
TopmostIndicator=1
; Show an indicator on the always on top windows
NumberMenuItems=0
; Use numbers instead of a-z for shortcuts in windows list menu.
AutoRemaximize=1
; 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).
SnapGap=0
; Gap in pixels from -128 to +127 between two snapped windows.
; Use negative values if you want an overlap, default is 0
; I suggest -1 under Win10.
KBMoveStep=100
KBMoveSStep=20
; Value in pixels from 1-255.
; To change the steps in pixels
; when moving windows with the keyboard
AeroMaxSpeed=65535
AeroSpeedTau=64
; Speed beyond which AeroSnaps will not occur while Moving.
; AeroMaxSpeed is in pixels/Tau (from 0-65535).
; AeroSpeedTau to specifies Tau time in milliseconds (default 64).
; (i) Set AeroMaxSpeed to a "high" value (like 100) and try to move fast
; a window between two monitors, if it gets aero-snapped, decrease the value
; until it no longer snaps, and check that the window still snaps when you
; want it to.
MultipleInstances=0
; If set to 1, allows running multiple instances of AltSnap.
AlwaysElevate=0
; If set to 1, AltSnap will always request elevation.
ResizeAll=0
; If set to 1, all windows are resizable, even those without borders.
; Note that windows that are in the AResize list will still be resizable.
; Also windows that were made borderless by AltSnap will be resizable.
FullScreen=0
; If set to 1, all fullscreen windows are moveable.
; If set to 0, blacklists all fullscreen windows.
; A fullscreen window is set to your monitor size and has no title bar.
; It is not exactly the same than a Maximized window (see below)
BLMaximized=0
; Set to 1 to disable AltSnap on all Maximized windows.
; If set to 0 (default) maximized windows will be restored by AltSnap.
; Not the same thing than "fullscreen" window but looks quite similar.
AeroTopMaximizes=1
; If set to 1, windows get maximized when snapped at the top
; of the monitor instead of being resized to fill its top half.
; If set to 2, Shift behavior will be inverted for double-right-click:
; Aero Snap <-> Extend border to monitor.
; If set to 3, both of the above work.
; You can always hold Shift to invert the behavior.
UseCursor=1
; If set to 0, disables any cursor handling (not recommended).
; If set to 1, enables all cursor sets (default)
; If set to 2, disables the Hand cursor when moving
; If set to 3, normal cursor is always used, even when resizing.
; If set to 4, uses the ResizeAll cursor for movement instead of the Hand.
MinAlpha=32
; Minimum alpha for the transparency action, from 1-255 (default 32).
AlphaDelta=64
AlphaDeltaShift=8
; Alpha step for the transparency action, from -128 to +127 (default 64).
; The other value is applied when Shift is pressed (default 8).
ZoomFrac=16
ZoomFracShift=64
; By which fraction (2-255) the Zoom action should increase/decrease the size
; of the pointed window. ZoomFrac is without shift and ZoomFracShift
; is with shift. Default is 16th/64th (ZoomFrac=16, ZoomFracShift=64).
; Formula: New Window Size = OldSize + OldSize/ZoomFrac
ShiftSnaps=1
; Set to 0 if you do not want border-to-border windows snapping to be
; Enabled by the shift key (default is 1: enabled).
PiercingClick=1
; Set to 1 to enable, in this case, if you press Alt+Click without moving,
; the click will be transmitted to the pointed program.
; Enabling this option will disable doubleclicking actions!
; If you keep it disabled (default) you still will have the click
; transmission if you hold the click down more than a double click delay.
DragSendsAltCtrl=0
; If set to 1, then Alt_Down, Ctrl_Down, Ctrl_Up, Alt_Up will be sent.
; at the begining of a move/resize action, unless Alt is already down.
; This can help to pop down context menu when the drag starts.
BLCapButtons=3
; Mouse Buttons for which the caption buttons will not be considered
; by AltSnap for the Titlebar action.
; Use 0 to include all mouse buttons.
; Use 1 to exclude the left mouse button only.
; Use 3 (1+2) to exclude the left and right mouse buttons (default).
; Use -1 to exclude all mouse buttons and wheel.
; You can specify any value in decimal converted from a bit mask in the order
; of mouse buttons ie: LMB RMB MMB MB4 MB5...MB20 VWHEEL HWHEEL.
; use BLCapButtons=0 if you always want titlebar actions to be applied
; when clicking caption buttons and use -1 if you never want this.
; For a custom value add the numbers corresponding to each mouse button:
; LMB: 1, RMB: 2, MMB: 4, MB4: 8 MB5: 16 MBX: 2^(X-2)
; VWheel: 1048576, HWheel: 2097152 (buttons 21 and 22)
BLUpperBorder=3
; Same than BLCapButtons except that it concerns the top resizing borders
; instead of only the caption buttons. Default value is 3.
ACMenuItems=-1
; Menu items that will be displayed in the action menu (bit-mask).
; Default is -1 for all menu items.
; If you want only a selection of the menu items, pick them up in the list
; below, sum up the associated numbers and assign the value to `ACMenuItems`
; 1 Toggle Always on top
; 2 Toggle Borderless
; 4 Center window on screen
; 8 Roll/Unroll window
; 16 Lower Window
; 32 Maximize vertically
; 64 Minimize other windows
; 128 Snap To side/corner
; 256 ------------------
; 512 Maximize window
; 1024 Minimize window
; 2048 Close window
; 4096 ----------------
; 8192 Kill program
; 16384 -----------------
; 32768 Movement disabled
; 65536 -----------------
; 131072 Send original click
; 262144 Nothing
; Example: 131072+1+2+8=131083 Nothing+Topmost+Borderless+Roll
[Performance]
FullWin=2
; Set to 1 to force the Drag Full Windows option (old default)
; Set to 0 to force off
; Default is 2: autodetect based on Windows setting
TransWinOpacity=0
; Set opacity from 1-255 of the transparent window used when FullWin=0
; default is 0 which mean no transparency is used (best for performance).
; also 255 has good performance but there is zero opacity.
; If you are using desktop composition or Windows 8+ then there will be
; no significant performance impact to any value.
PinRate=32
; Rate in miliseconds from 1-255 at which the always on top indicator
; will be refreshed. Default is 32. Smaller values will make the
; indicator more reactive but will decrease the performances.
RezTimer=0
; Set to 1 to move the window only when the timestamp of
; a mouse event is different from the previous one, every 16ms
; more or less. MoveRate and ResizeRate and RefreshRate
; will have no effect if the option is enabled.
; This is overall the option that gives the best performances.
; It can be combined with FullWin=0 mode for ~0% CPU usage.
RefreshRate=0
; Minimum delay, in milliseconds, between two refreshes of a window.
; For minimum CPU usage use a value around your monitor's rate:
; 75Hz monitor => RefreshRate=13
; Max value is 255 (4 Hz), sane values are below 100 (10 Hz).
; If set to 0 (default), you get the most reactivity.
MoveRate=2
ResizeRate=4
; The number of pixels to wait before actually moving the window.
; If set to 1, updates will be instant. You will have better perf with
; higher values but you will lose precision in moving/resizing.
; Sane values are below 10. Recommended is 1 to 5
[Zones]
UseZones=1
; If set to 1, enables Snap Layouts (Zones)
; If set to 3, enables Grid mode (configure below)
; If 4 is added window is extended without Ctrl.
; If 8 is added snapping will occur without Shift ie: 1+8 => UseZones=9.
; Shift will disable Zones instead.
; recomended is UseZones=1 or 9 for normal snap Layout with or w/o shift
; and 3+4 => UseZones=7 for grid mode.
; If you set UseZones to 3 or 7 then you enabled the
; GRID MODE that simply cuts each screen into 'parts'.
; You can set the number of parts below:
GridNx=3
; Number of grid columns
GridNy=2
; Number of grid lines
InterZone=32
; Size in pixels between zones from -128 to +127 (default 32)
; where the window will be snapped to the union of zones.
; If set to 0, you cannot cover more than one zone.
FancyZone=1
; If set to 1, enables better FancyZones integration (x64 builds only!).
; Windows snapped by FancyZones will be restored by AltDrag.
Zone0=-957,-1080,-317,0,
Zone1=-317,-1080,323,0,
Zone2=323,-1080,963,0,
Zone3=2243,-1080,2883,0,
Zone4=1603,-1080,2243,0,
Zone5=963,-1080,1603,0,
Zone6=1280,50,1920,1080,
Zone7=640,50,1280,1080,
Zone8=0,50,640,1080,
; List of zones coordinates LEFT,TOP,RIGHT,BOTTOM,
; Up to 2048 zones and all zones end with a comma
; You can use the "Identify Window" option to get the RECT of any window
; You can save a "Snap Layout" from test windows using the tray menu
; This is the preferred way to configure your snap layout.
[KBShortcuts]
UsePtWindow=0
; Set UsePtWindow=1 if you want the pointed window to be used
; instead of the foreground window.
;
; Formula: add the folowing:
; One VK_NUMBER (decimal)
; +256 Alt
; +512 Control
; +1024 Shift
; +2048 Winkey
;
; 883 => Ctrl+Alt+F4
; 1299 => Shift+Alt+Pause, 275 => Alt+Pause
; 2644 => Ctrl+Win+T
; 2336 => Alt+Win+SPACE