- CxFreeze is best solution available as it is simple and time-saving. First, create your program or application using python and then make setup file for your application. And then build the app using build command python setup.py build, according to your requirement you need to make some changes, to make mac bundle or mac app refer this.
- Fire up Terminal.app and enter sudo chmod +x /usr/local/bin/appify to make appify executable without root privileges. After that, you can create apps based on any shell script simply by launching Terminal.app and entering something like this: $ appify your-shell-script.sh 'Your App Name'.
- Things 3 is a brilliant MacOS to-do list and task management app. Thanks to a full redesign, Things is more useful than ever, connecting to your tasks and Calendar in a seamless interface.
Basically, a Mac application has a
.app
extension, but it’s not really a file — it’s a package. You can view the application’s contents by navigating to it in the Finder, right-clicking it and then choosing “Show Package Contents”.The internal folder structure may vary between apps, but you can be sure that every Mac app will have a
Contents
folder with a MacOS
subfolder in it. Inside the MacOS
directory, there’s an extension-less file with the exact same name as the app itself. This file can be anything really, but in its simplest form it’s a shell script. As it turns out, this folder/file structure is all it takes to create a functional app!Enter appify
After this discovery, Thomas Aylott came up with a clever “appify” script that allows you to easily create Mac apps from shell scripts. The code looks like this:
Installing and using appify is pretty straightforward if you’re used to working with UNIX. (I’m not, so I had to figure this out.) Here’s how to install it:
- Save the script to a directory in your
PATH
and name itappify
(no extension). I chose to put it in/usr/local/bin
, which requires root privileges. - Fire up Terminal.app and enter
sudo chmod +x /usr/local/bin/appify
to make appify executable without root privileges.
Jun 12, 2019 Create a macOS Menu Bar App with Python (Pomodoro Timer) Learn how to create your very own macOS Menu Bar App using Python, rumps and py2app – A Pomodoro Timer Published on Wednesday, Jun 12, 2019 ? Let's stay in touch!
After that, you can create apps based on any shell script simply by launching Terminal.app and entering something like this:
Obviously, this would create a stand-alone application named
Your App Name.app
that executes the your-shell-script.sh
script.After that, you can very easily add a custom icon to the app if you want to.
Adding a custom app icon
![Macos app store Macos app store](/uploads/1/2/6/2/126217605/392829313.jpg)
- Create an
.icns
file or a 512×512 PNG image with the icon you want, and copy it to the clipboard (⌘ + C). (Alternatively, copy it from an existing app as described in steps 2 and 3.) - Right-click the
.app
file of which you want to change the icon and select “Get Info” (or select the file and press ⌘ + I). - Select the app icon in the top left corner by clicking it once. It will get a subtle blue outline if you did it right.
- Now hit ⌘ + V (paste) to overwrite the default icon with the new one.
Best Macos Apps
Note that this will work for any file or folder, not just
.app
files.Examples
Chrome/Chromium bootstrappers
I like to run Chrome/Chromium with some command-line switches or flags enabled. On Windows, you can create a shortcut and set the parameters you want in its properties; on a Mac, you’ll need to launch it from the command line every time. Well, not anymore :)
![Macos app store Macos app store](/uploads/1/2/6/2/126217605/569317475.png)
The
&
at the end is not a typo; it is there to make sure Chromium is launched in a separate thread. Without the &
, Chromium would exit as soon as you quit Terminal.app.Launch a local web server from a directory
Say you’re working on a project and you want to debug it from a web server. The following shell script will use Python to launch a local web server from a specific directory and open the index page in your default browser of choice. After appifying it, you won’t even need to open the terminal for it anymore.
More?
Needless to say, the possibilities are endless. Just to give another example, you could very easily create an app that minifies all JavaScript and CSS files in a specific folder. Got any nice ideas? Let me know by leaving a comment!
Use Shift-Command-5
If you're using macOS Mojave or later, press Shift-Command (⌘)-5 on your keyboard to see onscreen controls for recording the entire screen, recording a selected portion of the screen, or capturing a still image of your screen. You can also record the screen with QuickTime Player instead.
Record the entire screen
- Click in the onscreen controls. Your pointer changes to a camera .
- Click any screen to start recording that screen, or click Record in the onscreen controls.
- To stop recording, click in the menu bar. Or press Command-Control-Esc (Escape).
- Use the thumbnail to trim, share, save, or take other actions.
Record a selected portion of the screen
- Click in the onscreen controls.
- Drag to select an area of the screen to record. To move the entire selection, drag from within the selection.
- To start recording, click Record in the onscreen controls.
- To stop recording, click in the menu bar. Or press Command-Control-Esc (Escape).
- Use the thumbnail to trim, share, save, or take other actions.
Trim, share, and save
After you stop recording, a thumbnail of the video appears briefly in the lower-right corner of your screen.
- Take no action or swipe the thumbnail to the right and the recording is automatically saved.
- Click the thumbnail to open the recording. You can then click to trim the recording, or click to share it.
- Drag the thumbnail to move the recording to another location, such as to a document, an email, a Finder window, or the Trash.
- Control-click the thumbnail for more options. For example, you can change the save location, open the recording in an app, or delete the recording without saving it.
Change the settings
Click Options in the onscreen controls to change these settings:
Macos Make Link
- Save to: Choose where your recordings are automatically saved, such as Desktop, Documents, or Clipboard.
- Timer: Choose when to begin recording: immediately, 5 seconds, or 10 seconds after you click to record.
- Microphone: To record your voice or other audio along with your recording, choose a microphone.
- Show Floating Thumbnail: Choose whether to show the thumbnail.
- Remember Last Selection: Choose whether to default to the selections you made the last time you used this tool.
- Show Mouse Clicks: Choose whether to show a black circle around your pointer when you click in the recording.
Macos App Store
Use QuickTime Player
- Open QuickTime Player from your Applications folder, then choose File > New Screen Recording from the menu bar. You will then see either the onscreen controls described above or the Screen Recording window described in the following steps.
- Before starting your recording, you can click the arrow next to to change the recording settings:
- To record your voice or other audio with the screen recording, choose a microphone. To monitor that audio during recording, adjust the volume slider (if you get audio feedback, lower the volume or use headphones with a microphone).
- To show a black circle around your pointer when you click, choose Show Mouse Clicks in Recording.
- To record your voice or other audio with the screen recording, choose a microphone. To monitor that audio during recording, adjust the volume slider (if you get audio feedback, lower the volume or use headphones with a microphone).
- To start recording, click and then take one of these actions:
- Click anywhere on the screen to begin recording the entire screen.
- Or drag to select an area to record, then click Start Recording within that area.
- To stop recording, click in the menu bar, or press Command-Control-Esc (Escape).
- After you stop recording, QuickTime Player automatically opens the recording. You can now play, edit, or share the recording.
Learn more
- When saving your recording automatically, your Mac uses the name ”Screen Recording date at time.mov”.
- To cancel making a recording, press the Esc key before clicking to record.
- You can open screen recordings with QuickTime Player, iMovie, and other apps that can edit or view videos.
- Some apps, such as DVD Player, might not let you record their windows.
- Learn how to record the screen on your iPhone, iPad, or iPod touch.