Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[In-app feedback] #1423

Closed
alt-tab-macos-bot opened this issue Mar 8, 2022 · 2 comments
Closed

[In-app feedback] #1423

alt-tab-macos-bot opened this issue Mar 8, 2022 · 2 comments

Comments

@alt-tab-macos-bot
Copy link

This issue was opened by a bot after a user submitted feedback through the in-app form.

From: [email protected]

Message:

I'd really like to be able to trigger this with touchpad gestures like three finger swipe. I miss that from Windows, and I'm not too sure how to set that up with BTT.

@steventheworker
Copy link

steventheworker commented Mar 8, 2022

I use a BetterTouchTool script (to toggle on 4 finger swipe up & down (but it's up to you)), if you're willing to buy it it comes with a trial I believe, (hooked up to the script below) and a custom app (which I'd gladly share, which sets AltTabSwitcherOpen to 0 when a click hides the AltTab preview overlay).

The script:

tell application "BetterTouchTool"
	set overlayState to get_number_variable "AltTabSwitcherOpen"
	if overlayState is equal to 0.0 then set_number_variable "AltTabSwitcherOpen" to 1.0
	if overlayState is equal to 1.0 then set_number_variable "AltTabSwitcherOpen" to 0.0
end tell
tell application "System Events"
	#hide (Esc)
	if overlayState is equal to 1.0 then
		key code 53
		return
	end if
	#show (Command+Tab)
	key code 48 using {command down}
	# move back a preview (Left Arrow)
	delay 0.02
	key code 123
end tell

@lwouis
Copy link
Owner

lwouis commented Mar 8, 2022

Also see #756

@lwouis lwouis closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants