Many use one Mac for work and entertainment. During the daytime the computer is working on some tasks, and in the evening it performs completely different tasks.
Even during the workday there are several different scenarios for using Macs: morning mail and business correspondence, further working applications and communication with colleagues, social networking and messengers at lunch.
In order not to keep all applications running, you can create a simple script that launches and terminates the necessary programs, depending on the user’s needs.
Why this is necessary
So you can quickly switch from work to entertainment, from projects to communication, from one task to another.
A similar chip will be useful to owners of old Mac models, whose performance is not enough to run all programs at the same time.
In a similar way, you can save battery power (completing unnecessary applications) and control your productivity (disabling instant messengers at work time).
How to setup
The standard application Automator will perfectly cope with the task, the capabilities of which will cover the needs of even the most demanding users.
To begin with, you can create a simple script that could terminate unnecessary programs.
Complete all applications
1. Launch the Automator application and create a new Program .
2. In the action library, we find the item “End all programs” .
3. Double click to add it to our script.
4. Select the item File – Save … in the menu bar, specify the name and folder to save.
So we got a simple application, which completes all open programs on startup. What you need for the old Mac.
You can do this without stopping and adding some applications to exceptions.
Completion of applications other than specified
1. Open the already created script in Automator .
2. In the right block, click the Add button .
3. Select programs that will not be completed when the application is triggered. So, for example, we want to leave the browser or other program running.
4. Save the application.
This scenario is useful for quickly improving Mac performance or reducing power consumption.
Leave some of the most needed applications in the list and one click completes the rest.
Completing some applications and launching other applications
The initial script upon completion of programs can be modified and the launch of certain programs can be added.
1. Open the script in Automator .
2. Find the action Run the program and add it to the script.
3. Select the desired application. If you need to open several programs, you can duplicate the block.
4. Save the script.
By combining these skills, it’s easy to create multiple scripts for different usage scenarios.
For example, we create a script that starts working applications, completing all the rest, then we add a script, complete working programs and launching instant messengers, a browser, iTunes or VLC player.
When one or more scripts are created, it’s time to bride beauty.
1. Find suitable icons for each script.
2. Save the icons in *. Icns format on Mac.
3. Open the properties of the created applications and transfer the saved icon to the icon in the properties.
4. Do this for all the saved scripts and transfer them directly to the dock.
5. For convenience, you can add a separator .
That’s how you can transfer the Mac from the operating mode to the entertainment mode in one click, switch from work to communication, quickly switch to correspondence or other business.