30

I don't know how to click menu items without using System Events, but if others get here searching for how to click menu items with System Events: tell application "System Events" to tell process "Finder" click menu item "New Finder Window" of menu 1 of menu bar item "File" of menu bar 1 end tell tell application "System Events" to tell process "Finder"...


24

A fresh system install, with default parameters is configured with the following system wide file limits: Kernel Max Files: 12288 Max Files per Process: 10240 Current kernel sysctl parameters can be viewed with sysctl command: $ sysctl -a |grep kern.maxf kern.maxfiles: 12288 kern.maxfilesperproc: 10240 Now let's check limits values, using ulimit command:...


20

In a nutshell, sharedfileslistd is an XPC helper agent that provides SharedFilesLists private API in CoreServices that gets called by, for instance, by LaunchServices APIs and works with so-called SharedFilesLists - special property lists that contain NSURL BookmarkData entries. These are used for recent documents/servers/hosts that you see in Apple->Recent ...


17

You can disable it like this: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.locate.plist Keep in mind, this process only runs periodically to make the database that caches the results, so your locate results will be static and not change from the time you unload the "refresh task".


17

The ‘stop’ verb to ‘brew services’ will stop the service from restarting automatically on boot having ‘unregistered it from launching at login (or boot)’ per the help text shown with ‘brew services’. The file you mention should be removed when you ‘stop’ the service. You can check whether Homebrew believes the service is running or should run on startup ...


16

Found the answer in this Apple Support Community thread: Bug: Keyboard shortcut keys do not always activate a service (a workflow) Keyboard shortcuts for services will only work properly if they have a ⌘ command key in them. That is, cmd-ctrl-k works, but ctrl-k needs help. The "help" is to go to the app's menu bar and hover over the services so it sees ...


15

Specifically for the gamed service, the following command in one of the posts about a similar topic on the Apple Support Communities worked for me, without any need to modify plists or rename files: sudo defaults write /System/Library/LaunchAgents/com.apple.gamed disabled -bool true Changing "true" back to "false" will re-enable it, although I've not tried ...


14

It is in Preferences in V 10.0.43320 which I downloaded and installed yesterday. Go to Preferences > General and there untick 'Start TeamViewer with System'.


13

I had same problem (fans at full throttle, CalNCService at 122% of CPU) and have made 2 visits to Apple store and 3rd visit I checked in the Mac for a warranty repair (replaced both fans)... Yet the problem continues. I went into notifications > edit and disabled all notifications, badges, sounds, etc, except for iMessage, Slack and Outlook. About 3 ...


13

LaunchAgents are basically the same as LaunchDaemons, except that: LaunchAgents runs only after the user Logs in, process runs on the Logged in UID (User ID) with the logged user privileges. Process can interact with the logged user via GUI. LaunchDaemons runs on boot time, before the GUI is up, during the progress bar on the boot screen. It run as root, ...


10

Definitely works, even before restarting: On your own risk! Do a Time Machine backup first. Open System Preferences, Internet accounts and untick Calendar for each account. Open Activity Monitor, search calendar and quit calendar processes. Open Finder > Go to Folder (⇧⌘G) /Library/Caches and drag contents to trash. Open Finder > Go to ...


9

The services are: ._airplay._tcp.local This is a Bonjour advertisement for the network service that enables AirPlay of video content. I.e. this allows iOS devices to discover the Apple TV as a "remote display" that it can display video on. ._mediaremotetv._tcp.local This is one of the network services that makes the Apple TV Remote work - i.e. the app or ...


7

One way is to create a service that runs a shell command. For this, open Automator, create a new Service, check "Output replaces selected text", then add the action "Run Shell Script". In the box where you enter the Shell script write: cat | sed 's/^/"/' | sed 's/$/"/' | sed 's/""//' This takes the text you entered as input, and adds a quotation mark at ...


7

UPDATE: I initially misunderstood the question. To learn how to create a service for the context menu in Safari, see part A of this answer. To learn how to create a service that takes no input and appears in the menubar > Safari > Services menu in Safari, see part B. Part A: Creating a Contextual Text Service Step 1 Follow part B's step 1 (I'll refer to ...


6

Turns out this feature has to be enabled now. After I posted my screenshot I noticed the "Service Preferences..." menu item and clicked it. Click that menu item, scroll down to where it says "Text" and tick the box that says "Summarize".


6

You probably have Dictation enabled. This setting is under Keyboard System Preferences.


6

The general security model is that normal users can add any startup items to their realm (user library for them) and not for the system, so don’t let people have admin accounts if you don’t trust them to not run software that installer system level startup items. There is no easy way to stop an admin user from changing the system. You can enforce gatekeeper ...


6

The problem is that the automator service inherits the permissions of the application it's running from. Automator has Full Disk Access. So, if you run it from Automator, it works! But let's say you're running Chess.app, and from the top menu, you select Chess → Services → My Automator Workflow. Chess.app does not have full disk access, so the workflow ...


6

apsd - Used for FaceTime push notifications ntpd - Used to synchronize clock mDNSResponder - Part of the Bonjour protocol, used to scan your network for other Bonjour-enabled devices (printers, computers, etc...) trustd - Used for validating SSL certificates netbiosd - Used when interacting with Microsoft shared drives This is all normal activity. ...


5

The standard way of approaching these terms is to say that an "application" is a specific, static program on storage. It's some piece of code stored on a hard drive, a CD-ROM or elsewhere. A "process" on the other hand is a specific instance of a running program. I.e. it is registered by the operating system as executing or being able to execute whenever ...


5

Building on Buscar’s answer, for OS X 10.10 Yosemite: To disable: sudo launchctl disable system/com.teamviewer.service To re-enable: sudo launchctl enable system/com.teamviewer.service, and restart. It seems like launchctl is under active development by Apple, and has changed substantially in Yosemite (10.10). See man launchctl. They still offer ‘legacy' ...


5

Just create an alias in your ~/.bash_profile or ~/.profile file. Check with ls -la0 ~/ if one of the files already exist, else create one with: touch ~/.bash_profile After opening .bash_profile with nano ~/.bash_profile add the lines: alias iwanttostartmysqlwithareallyshortcommand='sudo /usr/local/mysql/support-files/mysql.server start' alias ...


5

You can find more details about these services in SpeedGuide's Port Database or the IANA Service Port Registry: ndl-aas/3128 dec_dlm/625 AFAIK neither port is used by OS X out of the box, so you probably have installed some additional stuff on your own (3128 is also used by squid for instance). To check for processes actively listening on these ports, you ...


5

I had similar problem. CalNCService was consuming enormous amount of CPU. Here is how to reproduce on my side: I am using iPhone SE with iOS 11.1.2 and a MacBook with macOS High Sierra on the same Wi-Fi. I got a call on my phone, but I just did not accept it via Remind Later. After around 50 mins, I noticed my MacBook gone crazy. The fix was to delete that ...


5

As mentioned in this article YaraScanService is part of the MRT.app (Malware Removal Tool). If you are sure your system is not infected with malware and you don't want Apple to do automatic malware protection for you without asking your consent, then you can disable and/or remove the MRT service using these commands: sudo launchctl stop com.apple.mrt sudo ...


5

Yeah, no. When you deliver an interpreted script, people always get to see the code - by design. This is the same for workflows and Automator and shortcuts as it is for perl and bash and python. Unless and until there is a compiler to convert your source code into machine language and then strip the source names (or obfuscate and tokenize them) even ...


4

I don't know any way to always allow access for assistive devices, but you can add multiple applications to the list in System Preferences by drag and drop:


4

Your list of active services mirrors mine on a server with only DNS running per the server app: enabledServices = ( "com.apple.apspd", "com.apple.collabd", "com.apple.DeviceManagement.devicemgrd", "com.apple.DeviceManagement.postgres", "com.apple.DeviceManagement.SCEPHelper", "com.apple.opendirectorybackup", "com.apple.server....


4

According to the Mac App Programming Guide, You use Cocoa to write apps for OS X. Based on that definition, applications should be packaged in Application Bundles: Application bundles are one of the most common types of bundle created by developers. The application bundle stores everything that the application requires for successful operation. On ...


4

Important note regarding AppleScript actions in Automator workflows.Hopefully this helps others who are looking for a fix. Assistive Access If your script uses things like tell application "System Events" to get UI data from app windows or send virtual keystrokes, etc, then it'll require "assistive access". This may be called different ...


Only top voted, non community-wiki answers of a minimum length are eligible