Questions tagged [services]

OS X Services allow sharing data and capabilities across applications. They are invoked by the user either through the active application menu's "Services" submenu or via keyboard shortcuts, typically to act on the data selected in the currently active application.

Filter by
Sorted by
Tagged with
50
votes
5answers
13k views

How do I remove duplicate “Open With” context menu items in Finder.app?

For whatever reason, the "Open With" context menu in Finder is always listing every app four times (exactly). I've read about (and tried) rebuilding the Launch Services database to restore the ...
20
votes
7answers
60k views

How to disable Apple Push Notification Service (apsd) which is trying to bypass firewalls

I am using an iMac at work, and the IT security guys are raising issue with the Apple Push Notification Service (apsd) trying to bypass the proxy continually. I would like to know how I can disable ...
20
votes
2answers
7k views

Keyboard shortcut for service only works after I manually run the service

After I assign a keyboard shortcut to initiate a service in System Preferences, I press the keyboard shortcut and nothing happens. I have to first click on the service title under the services menu (...
39
votes
2answers
86k views

Disable Services in OSX (services.msc)

Is there a Services.msc or ntsysv utility for OSX? I just want to harden my OSX by disabling any unwanted service and it's ports.
6
votes
1answer
8k views

How can I control (start/stop) applications and services that start up after reboot?

I have a Mac that is slow when using the internet, but other PCs on the same connection aren't as slow. I suspect there are too many AV scanners running concurrently, or there is some process that ...
2
votes
3answers
21k views

How to disable or remove the YaraScanService (MRT.app)?

Recently on MacOS 10.13.6 I have noticed high CPU usage and identified the process YaraScanService as consuming close to 90% CPU. The Activity Monitor lists it under: /System/Library/CoreServices/...
7
votes
1answer
13k views

How to create a service (shown in the context menu on the URL) in Safari?

I want to create a service which will be shown in the context menu when I right-click on any link in the Safari (need get the URL into the service). This is my current contextual services menu on the ...
4
votes
1answer
2k views

How can I restrict Mac sharing services to a specific network/adapter?

I want is to set up a Mac to connect to multiple networks. So far, so good. However, I only want to grant AFP access to users on ONE of the networks, but not the other. How can I accomplish this on (...
3
votes
3answers
9k views

Create a zip file using an Automator Service

I am trying to create a service in Automator in Mac OS X Mountain Lion. The command that I want to use is as follows: zip zip-file.zip "$@" And here is a screen capture of what I did: It works. But ...
2
votes
1answer
5k views

Weird spam message overlay appears on my iPhone's screen (FLASH SMS)

This weird message keeps appearing every few days and it's very irritating. It always contains spam messages that asks me to accept or cancel invitations to random services (weekly jokes, pics etc). ...
2
votes
1answer
543 views

Can automation service to get the parent folder path?

I already have a service that will create a network file:/// link to a share point over AFP but I would like to have one that does the parent folder of a file. If I right click a file I would like to ...
1
vote
1answer
72 views

I'm trying to make a service to archive a folder using tgz. I can't get this to work

I'm trying to learn to build services on my iMac running High Sierra. I open system preferences and then I click on Keyboard. From there I click on the Shortcuts tab. I get the window shown below. ...
7
votes
2answers
5k views

Why does setting the hard-limit for maxfiles to “unlimited” using `launchctl limit` result in a hard-limit slightly above the soft-limit?

Why does setting the hard-limit for maxfiles to "unlimited" using launchctl limit result in a hard-limit slightly above the soft-limit? By setting the maxfiles limit using launchctl to launchctl ...
8
votes
3answers
3k views

How to get nfsd to serve NFSv4 on High Sierra?

I'm hoping to serve an NFS mount from my High Sierra (10.13.4) server to a linux client. The linux client can mount using NFSv3 protocol, but I use ACLs on the served files and directories, so I think ...
14
votes
1answer
4k views

Is the “Lookup in Dictionary” context menu option hardcoded in Google Chrome for Mac?

I'm having a hard time removing the "Lookup in Dictionary" context menu element in Chrome for Mac (see screenshot). I tried deactivating the Dictionary Service shortcut in Preferences / Keyboard, and ...
8
votes
2answers
5k views

How to disable/always allow assistive access on Mavericks?

I've been using this script (AppleScript) bound to a global hot key as an Automator Service to open new terminals using a global keyboard shortcut. After upgrade to OS X Mavericks when the ...
5
votes
1answer
1k views

launchd: Confusion on semantics of bootstrap and bootout etc. after reading manual pages

I've read the following manual pages on launchd: launchctl, launchd, and launchd.plist. However, nothing is really said in these manual pages regarding what the launchctl boostrap and launchctl ...
4
votes
1answer
3k views

Is it possible to create a user without a home directory?

I want to create a user to run tomcat on my system and was wondering if it is possible to create a user without a home directory like it is possible in linux.
4
votes
2answers
3k views

Show all services on right click

Whenever you have more than 4 services, they are put in a dropdown option "Services" on right click instead of just being added to the right click menu itself. Is this an option somewhere that can be ...
3
votes
1answer
1k views

Set Keystroke for Service from Terminal

I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the ...
7
votes
4answers
4k views

Automator service not showing in services menu

I know next to nothing about the OS X, but I've been asked to make a few different scripts for actions in Apple Mail. One is to bind a hotkey that will create a reminder with a followup time of two ...
6
votes
2answers
3k views

Services submenu disappeared from contextual menu of right click

I am using OS X Yosemite 10.10.4 at my office. Last week, I was still able to right click files or folders and choose services from the bottom of contextual menu. However, after I started my Mac this ...
5
votes
1answer
1k views

Grant “Full Disk Access” to Workflows run via the Services menu

I have an Automator Workflow installed as a service, that I run via Finder → Services → My Automator Workflow. The workflow copies some files to a DOS formatted thumb drive, and them attempts to ...
2
votes
1answer
385 views

Recreate an alias with the same name and timestamp programmatically

Let us develop a utility to batch process legacy alias files. Implemented as: Finder File Service, Automator Workflow, Applescript, Shellscript, or whatever else that those the job. Per each file ...
2
votes
0answers
1k views

Get a list of ALL services running and not and whether or not they should be running

The basic problem I am trying to solve is that a Norton Anti-Virus process got stuck soaking up one full processor, and I had to kill it. (there was also a message on the norton app that said ...
2
votes
1answer
149 views

Services bug that prematurely activates an application

I have discovered a very strange bug with Services. To witness this behavior, please do the following: Make sure that Safari is in your Dock. Open Automator. Create a new Service. Set the service to ...
1
vote
2answers
3k views

How to create Automator Service to change font of selected text?

I'm trying to create a "Service" in Automator that changes the font of the selected text in the frontmost app.
0
votes
1answer
287 views

Service crashes when using AppleScript to click menu bar icon [duplicate]

The following AppleScript code clicks the WiFi icon found in the menu bar (source): tell application "System Events" to tell process "SystemUIServer" to tell (menu bar item 1 of menu bar 1) to click ...
7
votes
5answers
3k views

What is the difference between 'Application' and 'Process' in OS X?

As I increasingly dabble with AppleScript and OS X tweaking in general, I arrive at this question: What is the difference between these two words in terms of OS X's inner operations - e.g. do some ...
6
votes
0answers
2k views

Workflow Services not showing in Service Menu

All of a sudden my Automator services are no longer showing in the Service menu in Mail. None of them. All I see is No Service Apply (grayed out). I know they still work, if I open them in ...
2
votes
1answer
3k views

How to pass inputs to a shell script in automator?

I want to pass the filename of the file I rightclicked to a shell script through automator: # encrypt file.txt to file.enc using 256-bit AES in CBC mode openssl enc -aes-256-cbc -salt -in file.txt -...
2
votes
2answers
295 views

What is the best way to update the name of a Service?

I changed the name of a Service by navigating to /Users/Me/Library/Services/ and renaming the .workflow file in Finder. I tried restarting the computer, but the previous Service name still exists in ...
1
vote
2answers
678 views

Cannot get httpd to listen on port 80

I installed httpd using brew. I edited /usr/local/etc/httpd/httpd.conf and changed: Listen 8080 to: Listen 80 Restarted the service: brew services restart httpd But Apache's still listening on ...
1
vote
1answer
2k views

How do I add a script to the Service menu?

See "How do I automate this repetitive task?" I'm posting here so I can show some screenshots of the work in progress. I'm very new to both StackExchange and also Automator. Don't yet know my way ...
1
vote
2answers
4k views

Automator Get Filename of Selected File

I'm trying to create a Service where I can select an individual file, right click, go to Services and tap Perm Delete using Automator - i.e.: rm <path> I've looked around and i just can't find ...
1
vote
1answer
152 views

How to start a service automatically after openning an application?

For example, I have a service that I want it to be started automatically when I open Firefox. I know how to write scripts as services in automator, but I don't know how to make a hook that when ...