2022 Developer Survey is open! Take survey.

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
0 votes
1 answer
12 views

Set Date Modified to oldest of selected files in Finder?

I'm trying to write a shell script to use in a Service I'm creating in Automator to change the "Date Modified" of all files selected in Finder to the date of the oldest modified file ...
user avatar
  • 225
0 votes
1 answer
65 views

How to add version to an Automator service workflow

I have a workflow which is installed as a Service. It is used to call code in my AppleScript applet. The Service has one action: a "Run AppleScript" action. I update the Service quite often ...
user avatar
  • 21
0 votes
0 answers
18 views

How to add "Open in Safari" to Chrome right-click menu?

When I'm in Chrome, I'd like to be able to right-click on some links and choose "Open in Safari" from the Services submenu. As a security precaution, how can this be done without relying on ...
user avatar
0 votes
2 answers
579 views

Running Launchd Services with Non Root User on macOS

I am building a launchctl service which can run a java service. I am able to create launchctl service with root user and test start/stop/status/automatic start at reboot use cases. I am struggling ...
user avatar
0 votes
2 answers
35 views

Does a service exist to open selected filename from the Terminal in an app?

I know I can do an open -a Textmate FILE or open FOLDER by typing, but is there already a text service so that a name can be Ctrl-clicked to "Open in Finder" or "Open in Editor"? A ...
user avatar
  • 113
1 vote
0 answers
38 views

How to force a service shortcut to override an application one?

I want to have a global "send to omnifocus" shortcut. I have enabled it and set via Keyboard -> Services. Unfortunately, it seems to conflict with some default shortcut in the Apple Mail. ...
user avatar
  • 111
2 votes
2 answers
78 views

Changing text via a Services-based Perl shell scripts in Shortcuts on macOS 12 Monterey

I have a handful of Automator actions that I'm trying to port to Shortcuts. One of them works like this: I select some text in an app. I right-click the selected text and select Services → Prefix ...
user avatar
  • 153
0 votes
0 answers
71 views

macOS 11.6 Big Sur dns privacy service inactive/not running

How is macOS 11 dns privacy restarted? Installed dns privacy profile from here: https://github.com/paulmillr/encrypted-dns download rename extension to filename: google-https.mobileconfig double-...
user avatar
  • 11
2 votes
1 answer
557 views

Keyboard shortcut to stop an Automator service (Quick Action)

I have a Watch Me Do automator service / quick action that uses pause and a long running loop to repeat the actions when I am away. I have created a keyboard shortcut for the service But since it uses ...
user avatar
0 votes
0 answers
37 views

Remove 'Search the web' / 'Search with Google' service

How would you remove 'Search with Google' from the right-click menu? The setting in System Preferences > Keyboard > Shortcuts has no effect at all. Uninstalling Safari just turns 'Search with ...
user avatar
0 votes
1 answer
67 views

Change path of file before running a command in automator

I created a service in automator to open a file via quicklook, using the below code qlmanage -p "$@" I'm able to open the selected file via quicklook. But I want to open a different file ...
user avatar
1 vote
0 answers
36 views

Showing a macOS service in the menu

I have written a simple Automator workflow which process selected text. It does the job, and is available from most applications in the Service menu in the Text group. I have one application, the ...
user avatar
  • 2,867
3 votes
0 answers
4k views

What is com.apple.MobileSoftwareUpdate.UpdateBrainService doing?

What is com.apple.MobileSoftwareUpdate.UpdateBrainService? I have it running and using a lot of CPU resources. (about 300% CPU core in top) I also found out it would mount a partition at /System/...
user avatar
  • 1,685
0 votes
2 answers
63 views

Service to underline plain text with a line of dashes

I am looking for a text service that I can call from a plain text editor (BBedit for example) and will operate the following modification: Before: This is a line of text After: This is a line of text ...
user avatar
  • 578
1 vote
1 answer
128 views

Problems starting vnstat installed with brew

After installing vnstat with homebrew: brew install vnstat and opening it, i got following error: Error: Failed to open database "/usr/local/var/db/vnstat/vnstat.db" in read-only mode. The ...
user avatar
  • 21
0 votes
1 answer
126 views

What service to restart after modifying /etc/sudoers for macOS to make changes active without reboot?

What's the service that needs to be restarted after modifying /etc/sudoers for macOS in order to make changes active without a system reboot?
user avatar
  • 4,464
4 votes
2 answers
405 views

Hide the source code for an Automator quick action / service

I have created an Automator quick action. The quick action listens for highlighted text on any application and runs some shell script based on the highlighted text. The quick action can be triggered ...
user avatar
0 votes
0 answers
31 views

Keyboard Shortcut for Automator Service

I have a word count 'services' called with LMB and scrolling down to the services menu. I'd like to have a keyboard shortcut for it since I use it very often. All of the answers I see require that the ...
user avatar
  • 1
0 votes
1 answer
99 views

How to use `click` in a shortcut? (Run a service when clicking a link)

Is it possible to run an Automator service with an alternate click, e.g. ⌘ + ⇧ + Click? This kind of combination is built into browsers with ⌘ + Click typically opening a link in a new tab. I have a ...
user avatar
  • 425
0 votes
1 answer
153 views

Service only application

I want to build a simple service that will allow me to keep any app window always on top or always on the same screen, when switching desktops. Is there a way to build a global MacOS service-only ...
user avatar
  • 1,003
1 vote
0 answers
22 views

Access text services via code

Is there a way to access text services such as these through either Applescript or terminal commands?
user avatar
  • 153
0 votes
0 answers
23 views

Has Safari stopped forwarding link URLs to system services when using the link's context menu?

I seem to recall being able to right-click a link in Safari and use a system service from the context menu in order to send the actual link target URL to the service in question. Nowadays when right-...
user avatar
  • 1,599
0 votes
0 answers
24 views

Keyboard shortcut to a Service is not respected when Emacs is open (Emacs takes precedence)

I defined the keyboard shortcut Cmd-Ctrl-5 to a Service via System Preferences -> Keyboard -> Shortcuts -> Services. It should work globally and indeed works well except for when Emacs is ...
user avatar
0 votes
0 answers
68 views

Can a faulty MacBook be replaced for a brand new one?

7 months I ago I bought a new MacBook air 2019. Just recently the trackpad of my MacBook stopped clicking. As in, the haptic feedback from the clicking randomly stoped working. I sent my laptop over ...
user avatar
0 votes
0 answers
130 views

MacBook Pro - Mechanical Popping/Clicking Sound

I keep on getting this Popping/Clicking sound randomly throughout regardless of whether the speaker is on or not. The sound seems to be coming from the physical machine, perhaps the screen or the ...
user avatar
  • 1
1 vote
1 answer
156 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. ...
user avatar
  • 13.1k
0 votes
0 answers
89 views

Change order of services during startup or login

I've read of ways to change startup services' order of execution for Ubuntu. I'm hoping it's possible and simple to do it in macOS as well. I was thinking something like this. My objective is to ...
user avatar
1 vote
2 answers
440 views

How to uninstall mySIMBLHelper service installed by SIMBL for MAC

I wanted to install Atop which required SIMBL to be installed. Nothing at the process stated that SIMBL 0.7.5 wasn't compatible with Mojave 10.14. It started to pop confirmation if I want it to ...
user avatar
1 vote
0 answers
33 views

Automating opening a PDF from Preview.app in preferred PDF editor

When having a PDF file open in Preview.app, I'd like to click a menu item or keyboard hotkey to open the same file in my preferred PDF editor (f.x. PDF Expert). I suppose it could be done by creating ...
user avatar
  • 111
1 vote
1 answer
123 views

AppleScript to massage URLs

I want to have a Services menu item that takes the selected text (a URL) and escapes the percent character and the # character: Replace % with \% Replace # with \string# I copied and edited an ...
user avatar
0 votes
1 answer
115 views

Files and Folders services do not appear

I'm running macOS Catalina 10.15.2. I enabled "Files and Folders" in Services under Shortcuts in the Keyboard tab and I enabled all services under Files and Folders. The services do not appear in ...
user avatar
3 votes
1 answer
67 views

Services menu polluted by apps from another installation

Reinstalled 10.15, signed into icloud, had previous 10.13 on another partition for a while. 10.15 is a clean install. The apps that provide those services haven't even been installed. ~/Library/...
user avatar
5 votes
2 answers
2k views

Are apsd, ntpd, mDNSResponder, trustd, netbiosd necessary for macOS functioning?

I'm seeing 5 processes with network activity ( sending/receiving bytes ). I'm not sure whether these are normal occurrences? List of processes apsd ntpd mDNSResponder trustd netbiosd I researched a ...
user avatar
0 votes
0 answers
86 views

"service" not showing up

I installed the GlobalProtect VPN on MacOS Darwin 18.7 I cannot remove it. It is attempting to start but does not succeed. It appears in the output of ps aux 518 5.6 0.3 6093596 112332 ?? S ...
user avatar
2 votes
3 answers
2k 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 ...
user avatar
  • 240
0 votes
0 answers
252 views

Applescript service which utilises "on idle"?

I have been trying to run a script on a recurring basis via an apple service. Most answers I have seen have been are for 'stay-open' apps - whilst this possibly works as a solution and I have glanced ...
user avatar
0 votes
1 answer
385 views

Starting multiple HomeBrew Services

I would like to run two different mongodb databases on my Mac. I installed mongodb with the HomeBrew manager. However I was unable to find a possibility to create new homebrew services. I already ...
user avatar
  • 1
8 votes
1 answer
5k 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 ...
user avatar
  • 1,001
11 votes
2 answers
9k 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 ...
user avatar
  • 1,001
1 vote
0 answers
80 views

Where is the "Open URL" Service?

I created a service using Automator called "Open URL in Public Window". Its purpose is to never open a selected link in a private window (which will happen if the current front-most Safari window [...
user avatar
  • 1,117
2 votes
1 answer
131 views

How to determine which keyboard shortcut combo is free to assign?

I've already spent much more time in finding a combination that works in every app (universal) than in creating the actual service. The shortcut triggers a service for increasing or decreasing the ...
user avatar
  • 171
4 votes
1 answer
288 views

How do I change the Services sub component to not use Safari web browser

When I right click and use the "Search Google for" different things happen. For one, if I am in Chrome it opens a new tab in Chrome and searches as I want. However, if I use this menu anywhere else in ...
user avatar
11 votes
1 answer
5k views

How do I prevent nginx from auto-loading using homebrew?

I'm using Mac High Sierra. I install nginx with homebrw a while back, but I can't remember how to permanently stop it from running when my computer boots. I have this file localhost:mydir davea$ ls ...
user avatar
  • 538
1 vote
1 answer
86 views

How can I delete duplicate entries in keyboard shortcuts services?

I have several duplicate entries in the keyboard shortcuts services. I want to delete the duplicate entries, and right clicked and clicked show in Finder to find the location of these. But it leads ...
user avatar
  • 334
0 votes
1 answer
33 views

How to remove text services?

I know service workflows created from Automator can be removed from ~/Library/Services, but I cannot see any services related to selected text there. See my screenshots I must have installed apps ...
user avatar
  • 311
1 vote
2 answers
236 views

How to use automator services in Fluid-created apps in Mojave

I was having an issue with Spotlight and an Apple support person had me "upgrade" to Mojave and now I'm pissed off. None of my Automator services work in my Fluid Apps anymore! I have about a half-...
user avatar
  • 1,117
1 vote
0 answers
112 views

Automator script runs twice on Finder selected files

I'm writing a simple service to open a file in Emacs through selection in Finder. for f in $@ do open -a Emacs "$f" done If a file is selected in Finder (solid blue on the file after left click), ...
user avatar
  • 11
6 votes
1 answer
5k views

What are all these tvOS services?

I noticed Apple's tvOS broadcasting no less than 7 mDNS PTR-RRs (via Bonjour, I presume): + Apple TV._airplay._tcp.local + Apple TV._mediaremotetv._tcp.local + Apple TV._companion-link._tcp.local + ...
user avatar
  • 2,009
5 votes
1 answer
2k 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 ...
user avatar
  • 465
2 votes
2 answers
4k views

Automator: Service to move files into new subfolders based on file extension *within any selected folder*

I've been searching for quite a while now but can't seem to find relevant instruction for this particular task. I'm brand new at this so apologies if I'm missing something basic. Like many ...
user avatar
  • 23

1
2 3 4 5 6