Город МОСКОВСКИЙ
00:31:17

Better Touch Tool: In-Depth Tutorial

Аватар
Питоновская трансформация кода
Просмотры:
21
Дата загрузки:
03.12.2023 17:10
Длительность:
00:31:17
Категория:
Технологии и интернет

Описание

Check out Better Touch Tool on Setapp: https://bit.ly/fishsetapp

Update: the YouTube subscriber count tutorial in this video is old, and has been updated in this video here - https://youtu.be/8C7k2pO3rHI

Hey people, hope you enjoy this tutorial for better touch tool. Let me know in the comments below if this helped you and if you have any questions!

Check out my Touch Bar Audio Visualizer app (AVTouchBar) here: https://www.avtouchbar.com

Check out all my Better Touch Tool Videos Here ?: http://bit.ly/bttplaylist
Full Tutorial - https://bit.ly/btttutorial
Full Tutorial Q&A - https://bit.ly/updatedtutoria
Full Tutorial #2 - https://bit.ly/bttnum2
Automate Typing - https://bit.ly/bttautomate
Custom Trackpad Gestures - https://bit.ly/bttgestures
Turn Your Trackpad into a Volume Knob - https://bit.ly/volumeknob
MacOS Control Center - https://bit.ly/mccbtt

Resources:
Better Touch Tool: https://bit.ly/bettertouchtooljf
Golden Chaos Download Page: https://bit.ly/goldenchaos
BetterTouch Tool Community: https://community.folivora.ai/
Download my Settings Preset: https://bit.ly/fishmansettings
Download Python 3: https://www.python.org/downloads/
Beautiful Soup 4: https://pypi.org/project/beautifulsoup4/
Requests: https://pypi.org/project/requests/
YouTube Python Script: https://bit.ly/SubCountScript

If you are getting a "No Module Name BS4" then that means the module did not install correctly. The easiest way to install beautiful soup 4 is through the terminal using pip. Might take a little googling to get the correct code to use in the terminal, but the code that works for me is: pip install beautifulsoup4 and pip install requests. If it's successful you will see the download begin in your terminal window. Make sure that in your script import, it has ".py" at the end. If it is not the exact file name, it will come up as an error.

Python Script for YouTube Subscriber Count:
from bs4 import BeautifulSoup
import requests
source = requests.get('https://www.youtube.com/c/JakeFishmanTech').text
soup = BeautifulSoup(source, 'html.parser')
this = (soup.find(class_='yt-subscription-button-subscriber-count-branded-horizontal').text)
print(this)

My Gear:
Camera - Panasonic GH5: https://amzn.to/3q8rTrL
Lens - Sigma 18-35: https://amzn.to/3yGpBnF
Laptop of Choice: https://amzn.to/321P4fv
MX Master 2 Mouse: https://amzn.to/3eYodCE
Drevo Keyboard: https://amzn.to/2W2IL4e
Blue Yeti Microphone: https://amzn.to/3cXlFTd
Peak Design Tech Pouch: https://amzn.to/35mdTzH

0:00 - Intro
3:15 - Activating BTT GC Settings Button
3:45 - Resetting the TouchBar to Golden Chaos Settings
5:15 - How to Hide or Show a setting
5:27 - Changing Golden Chaos Settings
10:35 - Further in depth adjustments with Configuration Menu
11:48 - Control, Option, and Command Menus
13:30 - Adding a widget to Menu Bar
14:20 - Hiding a button when a trigger is pressed
15:25 - App Switcher Widget
16:29 - Changing Background Color of Buttons
18:08 - Adding the Emoji Widget
19:32 - YouTube Subscriber Button
19:50 - Python Script for YT Button
22:05 - PewDiePie Example
22:45 - Flaws of my Simple Program
23:50 - Implementing Python Code with BTT
26:08 - Adding an Icon to a Button
26:40 - Adjusting display order of buttons
27:05 - Adding an additional action to a button
28:20 - Explanation of code errors
30:00 - Adjusting Touch Bar Feedback

~Some links may be affiliate links, which at no extra cost to you will give me a slight income if you click and make a purchase~

Рекомендуемые видео