Questions tagged [macbookpro-touch-bar]

This tag should be used for programming questions related to modern MacBook Pros' 'Touch Bar', a wide multitouch screen above the keyboard, designed for accessing global and application-specific functions.

96 questions
1
vote
1 answer

Display list of Chrome tab's with favicon's in touchbar

I'm using BetterTouchTool to customise touchbar on MacBook Pro. So far I've used script bellow to display list of tabs opened in Chrome. I would like to display favicon next to page name. if application "Google Chrome" is running then tell…
aplaninsek
  • 134
  • 2
  • 11
1
vote
2 answers

FileNotFoundError: [Errno 2] No such file or directory: get file from a folder macbook

I am not sure what I'm doing wrong. I copied the path link and used it in my code, but I'm still getting the error. Below is my code I am trying to run and the path. import os def rename_files(): file_list = os.listdir("Macintosh…
Siv
  • 21
  • 1
1
vote
0 answers

Remove Debugging Button on Touchbar in Xcode

how can I get rid of the debugging Button on the Touchbar when my app is running on a simulator. Here´s what I mean. It is on all Apps i switch to until i stop the application
SwiftiSwift
  • 7,528
  • 9
  • 56
  • 96
1
vote
1 answer

How can I write css targeting to Macbook with touch enabled (Retina Display)

I want to show some content on "Macbook Pro with Touchbar" alone and hide the same in case of other desktops/laptops. I know using media queries lets me target the devices and pixel ratio but here am trying to target the touch enabled laptop…
1
vote
1 answer

Apple Touch Bar Favourites Icon for Website Not Working

So I'm building a website and I can't get the svg icon to show up correctly on my MacBook's Touch Bar when I add the site to my favourites list. The webpage in question can be found here: http://japesfawcett.com I have an SVG file that is a black…
Cavs28
  • 31
  • 1
  • 4
1
vote
0 answers

How to permanently display the Touch Bar from one specific app when running?

I've developed an app based on NodeJS with Electron for a web agency and try to extend it to the touch bar functionality of the MacBook Pro. Developers launch the app once, which then automatically starts various processes in the background, such as…
Foddy
  • 467
  • 1
  • 6
  • 15
1
vote
1 answer

Unlink the Touch Bar API?

Apple has rejected my app by the following reason: Your app links against the Touch Bar APIs but does not appear to include Touch Bar functionality. If your app does include Touch Bar functionality, please respond to this message in Resolution…
Maksym Bilan
  • 197
  • 1
  • 10
1
vote
1 answer

Can I programmatically change the background color of the touch bar?

Can I change the background color of the MacBook Pro touch bar programmatically (for my macOS app)? I am afraid that there is no API for doing that, but I am asking you anyway!
Nisba
  • 3,210
  • 2
  • 27
  • 46
1
vote
0 answers

Creating a Macbook Pro Touchbar .dylib extension

I'm developing a game for Mac using GameMaker Studio 2, which allows you to add extensions created with another programs. When using Mac OS X, GameMaker needs an extension of type .dylib, which includes the functions you call in GameMaker when you…
0
votes
1 answer

Flutter Hive throws TypeAdapter Error typeID: 0

I am currently using Hive for a flutter app. Im getting an error of "The following HiveError was thrown building SaveBtn(dirty, state: _SaveBtnState#f8e25): There is already a TypeAdapter for typeId 0." I have tried reinstalling the app on the…
0
votes
1 answer

Macbook M1 error with Python Azure function

We are using Python 3.9 along with Azure function in Macbook M1. But we are not able to test the code locally The type and problem matcher line comes with a yellow wiggly line and I cannot start my Test case { "version": "2.0.0", "tasks":…
0
votes
0 answers

The downloader doesn't show up while installing nltk.download() in mac book pro

Am trying to install nltk stopwords and using the command nltk.donwlaod('stopwords') in jupyter notebook or terminal. There is a pop up file but doesn't open up. How do I access that downloader pop up screen in macbook pro ?
pylearner
  • 1,358
  • 2
  • 10
  • 26
0
votes
0 answers

Installing Brew On Mac Not Working And Returns Error

I went to this website https://brew.sh and copied the command from there and paste that into my terminal: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" But after some moments, I get this…
Peter Amo
  • 9
  • 1
0
votes
1 answer

Conversion from Swift 3.0 to 4

How can I convert my code that I wrote a few years ago to Swift 4.0 without using XCode 10.1? Is there any way to run it on some online simulator or on the newest version of XCode? This is some code that I wrote for messing around and seeing what…
crooper
  • 33
  • 4
0
votes
0 answers

Solution for Undefined symbols for architecture x86_64: "_main"

MyMac@Macbook Cs50 % make adab cc adab.c -o adab Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command…
k_sw
  • 1
  • 1