Enhanced Dock for macOS

Artboard 2 copy 8

Easily manage media, control media, quit apps, specific shortcuts for apps & more

How to Use

Move your cursor to preferred dock icon then use related gestures

Primary Action (3 finger tap / Middle Mouse Button)

Artboard 2 copy

Finder - Close All Finder Windows
Trash Bin - Empty Trash
Other Apps - Quits App Under Cursor

Secondary Action (4 finger tap / CMD + Middle Mouse Button)

Artboard 2 copy 2

Native Apps
Finder - Opens new finder window
Safari - New Tab
Music - Play / Pause
Messages - New Conversation
Mail - New Mail
Notes - New Note
Stickies - New Note
TextEdit- New Text
Contacts - New Contact
Maps - New Tab
Preview - Open Document
Pages , Numbers , Keynote - New Document
Terminal - New Tab / Window
Script Editor - New Script

3rd Party Apps
Spotify - Play / Pause
Word , Excel , Powerpoint - New Document
Adobe Apps - New Document
Brackets - New Document
Evernote - New Note
Piezo - New Recording
Skype - New Call

Up Action Primary (2 Finger Swipe Up / Scroll Up)

Artboard 2 copy 4

Application Expose for App Under Cursor

Up Action Secondary (3 Finger Swipe Up / CMD + Scroll Up)

Artboard 2 copy 5

Unminimize All Windows of App Under Cursor

Down Action Primary(2 Finger Swipe Down / Scroll Down)

Artboard 2 copy 3

Minimize All Windows of App Under Cursor*

Down Action Secondary (3 Finger Swipe Down / CTRL + Scroll Down)

Artboard 2 copy 10

Hides All Windows. This gesture works anywhere on dock*

Hide Other Apps (3 Finger Tap + fn / Middle Click + fn)

Artboard 2 copy 9

Hides Other Apps Not Under Cursor*

Next Action (Tap Right Top / Scroll Right)

Artboard 2 copy 6

Music - Next Track
Spotify - Next Track
Other Apps - Resizes window to right half of screen

Previous Action (Tap Left Top / Scroll Left)

Artboard 2 copy 7

Music - Previous Track
Spotify - Previous Track
Other Apps - Resizes window to left half of screen

Known Issues 🚩

  • Script works %90 of time, couldn't find solution to this yet

Important Notes 🚨

  • If you cant trigger swipe gestures, please check your sensivity settings from; BetterTouchTool Settings > Trackpad > Swipes

  • Please change "Music" to "iTunes" in applescripts if you using mojave or earlier

Tips for Dock

  • Adding spacer/separators to dock best way to keep things organized
    add this lines to terminal app then hit enter;

          Screen Shot 2021-05-06 at 22.33.38

          Wide Spacer
          defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock

          Small Spacer
          defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' && killall Dock

          Here is my organized dock
         

  • CMD click on dock icon reveals app file in finder

  • ALT click on dock icon hides other windows but not works great

  • Resize dock from separator (next to left side of trash), click, hold and move cursor to up or down

          Screen Shot 2021-05-06 at 22.46.12

  • Change most used settings of dock with right clicking on separator next to left side of trash

          Screen Shot 2021-05-06 at 22.46.23

Future Plans

  • Support for more apps & gestures

Download ⏬

Download Enhanced Dock v0.1 - BTT version 3.370+

First release of Enhanced Dock

EnhancedDock-v-0-1.bttpreset (27.7 KB)

Download Enhanced Dock v0.2 - BTT version 3.370+
  • new - 3 finger swipe down / scroll down + ctrl on anywhere on dock hides all windows
  • new - 3 finger tap + fn / middle click + fn on dock icon hides other apps
  • new - next action resizes front window to right half of screen for apps ( excluding spotify and music )
  • new - previous action resizes front window to left half of screen for apps ( excluding spotify and music )
  • new - added support for Terminal to open new tab/window with 4 finder tap
  • new - added support for Script Editor to create new script with 4 finder tap
  • improvement - open new finder window now works faster without using gui scripting
  • improvement - 2 finger swipe up now raises window instead of app expose if app only has 1 minimized window
  • improvement - 2 finger swipe up / 3 finger swipe up gestures showing app expose then closes app expose to notify user to app only has 1 active window or all windows already raised
  • improvement - 3 finger swipe up gesture handles apps better multiple windows with tabs
  • improvement - Swipe up actions (primary & secondary) on app icon opens new window with app expose animation if app has no window but its running
  • improvement - Increased speed of finding active application
  • fixed - 4 finger tap actions not working , most of them working properly now
  • fixed - 4 finger tap on music isnt starting playback while music isnt running
  • fixed - 3 finger swipe up raising windows with wrong tabs
  • fixed - Gestures on spacers or separators launches actions with previous selected apps

EnhancedDock-v-0-2.bttpreset (35.6 KB)

Support & Get Bonus Content 🎁

  • All content is pay what you want. You can download them for free or you can surprise me
    with buying me a cup coffee. That motivates me to continuously create new things for community.

  • Gifts for BTT community on my gumroad page . Icons, Applescripts and many more... I will continue to add new content

  • Don't forget to watch my threads and follow my gumroad page for keep updated with fresh content

Other Presets from Me

macOS Control Center

Simple Window Manager - SWM

SIMPLE_WINDOW_MANAGER_SWM_20190104

1 Like

this is really nice and very useful, not sure if its a Mac M1 issue, but whenever I do the secondary 4 finger tap action on any app, finder window always opens even when I dont click it.

@Duval_Barrett
do you have bettertouchtool icon on dock?
does other actions working without problems? all other actions working with same logic, they find which app under cursor then runs script for that app
does finder window ask for an app or a regular window?
do you using "show recent applications on dock" option?

No, I keep BTT in the menu bar. Everything else seems to be working fine. It seems as though when i quit finder the 4-finger tap works fine to open a new window in the specific app

Finder isn't asking for anything, it seems as though when finder is open in the background regardless of what app I press a new finder window opens with the 4 finger tap. For example, if I have apple music app open and invoke 4 finger tap to play/pause in the background while I'm on browsing safari the finder window shows up and yes I am currently using the show recent applications on dock

@Duval_Barrett
its weird because other actions uses same script on run, looks like problem not related with script. can you disable enhanced dock preset then do a 4 finger tap on dock icon maybe preset conflicting with something else. actually i'm not sure what causing this

Updated first post with 0.2 release

  • new - 3 finger swipe down / scroll down + ctrl on anywhere on dock hides all windows
  • new - 3 finger tap + fn / middle click + fn on dock icon hides other apps
  • new - next action resizes front window to right half of screen for apps ( excluding spotify and music )
  • new - previous action resizes front window to left half of screen for apps ( excluding spotify and music )
  • new - added support for Terminal to open new tab/window with 4 finder tap
  • new - added support for Script Editor to create new script with 4 finder tap
  • improvement - open new finder window now works faster without using gui scripting
  • improvement - 2 finger swipe up now raises window instead of app expose if app only has 1 minimized window
  • improvement - 2 finger swipe up / 3 finger swipe up gestures showing app expose then closes app expose to notify user to app only has 1 active window or all windows already raised
  • improvement - 3 finger swipe up gesture handles apps better multiple windows with tabs
  • improvement - Swipe up actions (primary & secondary) on app icon opens new window with app expose animation if app has no window but its running
  • improvement - Increased speed of finding active application
  • fixed - 4 finger tap actions not working , most of them working properly now
  • fixed - 4 finger tap on music isnt starting playback while music isnt running
  • fixed - 3 finger swipe up raising windows with wrong tabs
  • fixed - Gestures on spacers or separators launches actions with previous selected apps

Also added some tips for native dock to first post

@Duval_Barrett i saw same bug yesterday when using external monitor and non apple mouse but its not repeated, do you using one of these

1 Like

No I'm not using an external monitor or a non apple mouse, but i still seem to be having the same issue. I also used Aquatouch and your simple manager preset and tried to see if there was a conflict with the other presets, but it seems to still do when only the enhanced dock preset is activated.

Thanks. Finally a faster way for me to open a new Finder window. I just switched the primary and secondary action. I open Finder windows way more often than closing all windows.

Thanks for this preset <3

@yw4z Hi, I tried to use this cool thing, but maybe it's not compatible with Monterey?
I click with 3 fingers on the sample Slack software icon, and something like this appears:


But nothing else happens...
I use a Macbook Pro with Monterey 12.5 OS
Original trackpad
Would love your help :slight_smile:

@_shlomo

i guess you have 1 more trigger using 3 finger tab. you should change trigger condition setting for that
or make trigger app spesific

1 Like

Thank you! It really helped

1 Like

Love the preset. didn't even know setting actions to Dock trigger and assigning to application Im hovering over was possible.
When I use the 2 finger swipe up to show expose it works correctly to activate that applications expose but then immediately closes. I tried looking at the apple script but I have limited computer "programming" skills to know what to do.
Any suggestions on how to fix this?

Instead of Safari, how do we get it to work for Firefox? Much love. Dope ass lil creation brobro.

@JCDC hi, sorry for late reply, im working on improved and better optimized version but i'm trying to fix some bugs before release, some related BTT incompatibility also some with macos. next release will much more complete on features

@deeznugs sorry i cant test on previous version atm, i added firefox support for next version

you can add this lines to secondary action applescript on BTT

this one opens a new window

else if AppNm is "Firefox" then
	do shell script "open -n -a Firefox"

this one opens a new tab with UI scripting

else if AppNm is "Firefox" then
	tell application "Firefox"
		activate
		tell application "System Events" to tell process "Firefox" to tell menu 3 of menu bar 1 to click menu item 1
	end tell

this one opens a new tab with given URL

else if AppNm is "Firefox" then
	tell application AppNm
		open location "about:home"
		activate
	end tell

any progress or updates? reason I ask is bc I have been working on something similar-basically same as you, adding various applescripts to gestures to work only for the dock and have been running into a few weird issues with a couple gestures that dont want to work but will work if set to others, 2 finger down....and some other various ???? so would be stoked to see any updates or improvements you have made. Your work has been a great inspiration

@wynstaxxx hi, i have improved detection of hovered app on dock and many things but detecting swipe / scroll events on dock is problem. my safari starts freezing on endless scroll pages if i add 2-3 swipe / scroll events with BTT. i will share new version but i got 30+ changes for 0.3 release and i have to edit first post a lot. so it will take time.

try tip taps or other gestures on dock for better detection instead of swipes / scrolls. middle click and 3 finger taps on dock also not %100 detected by BTT