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
4
votes
1answer
107 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 ...
0
votes
0answers
13 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 ...
1
vote
2answers
38 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 ...
0
votes
0answers
33 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 ...
0
votes
1answer
35 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 ...
3
votes
1answer
117 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 ...
3
votes
1answer
647 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 ...
1
vote
0answers
30 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 [...
0
votes
0answers
40 views

When CleanMyMac X disables or enable a service, what does it actually do to launchd? How to recover?

I disabled a service (com.qiuyuzhou.shadowsocksX-NG.local) with CleanMyMac X by mistake, and the software stopped working, I tried some commands but they failed. launchctl load "$HOME/Library/...
2
votes
1answer
41 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 ...
0
votes
0answers
17 views

MacOS Macbook Pro Map Services not loading

I am facing issues with my MBP 2018 when trying to request map data. There is absolutely no problem in opening Maps but as soon as other Applications try to embed a MapView somehow, only a grid is ...
0
votes
0answers
16 views

Run Automator service when program cannot access accessibility services

I've read this: How do I assign a keyboard shortcut to an AppleScript I wrote? The app I am trying to add the service to under Accessibility does not allow me to see the service. It's a game running ...
4
votes
1answer
87 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 ...
2
votes
1answer
593 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 ...
2
votes
1answer
49 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 ...
0
votes
1answer
16 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 ...
1
vote
2answers
142 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-...
1
vote
0answers
45 views

Where in the filesystem is the “New Terminal Tab at Folder” service?

I'd like to take a look at the internal workings of the New Terminal Tab at Folder service you can enable in System Preferences. My goal is to find out how to open a new tab in a running Terminal ...
1
vote
0answers
64 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), ...
3
votes
1answer
1k 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 + ...
2
votes
1answer
682 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
2answers
2k 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 ...
2
votes
2answers
13k 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/...
2
votes
1answer
640 views

Shove installed a launch daemon or agent popup window, what is it?

Please check the following screenshot: Today, I suddenly have this popup window warning. I have no idea what it is. Basically I have three questions. (1) Is this BlockBlock app warning? I have no ...
0
votes
1answer
253 views

Automator crop image is doubling the inputted dimensions

I'm using the recommendation from this answer to create an Automator service that crops all photos I send to it. It works perfectly except that the crop automatically doubles the dimensions. I've ...
7
votes
2answers
345 views

Why can an app create daemons on the fly without sudo permission and how to stop it?

First, I come from Linux so there are many things which confuse me such as daemons. I installed VOX.app and it has some kind of agents and cloud-related processes which can be started automatically. ...
3
votes
0answers
48 views

Where are services that belong to a certain application stored? E.g., Make New Sticky Note or New BBEdit Document With Selection

Where are services that belong to a certain application stored? E.g., Make New Sticky Note or New BBEdit Document With Selection. They are not in /System/Library/Services nor in ~/Library/Services or ...
1
vote
1answer
314 views

How to replace the currently selected text in Applescript? How does Devontechnologies WordServices' do it?

Devontechnologies offers a collection of services that let's the user perform some common tasks on text (upper case, lower case, ROT13 and so on). They do it without (as far as I can tell at least) ...
0
votes
0answers
102 views

Automator script not working

I've created a new automator Service. This service executes the following AppleScript: on run {input, parameters} do shell script "open ~/" return input end run If I execute this ...
2
votes
1answer
5k views

How can I disable Photos Agent on High Sierra (10.13.4)?

Looks like Photos Agent is running in the background. I'd like to dedicate this machine to file services and not run unnecessary processes. How can I disable "Photos Agent" at boot time. I'm hoping to ...
6
votes
3answers
2k 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 ...
2
votes
1answer
85 views

Cannot print period ('.') from simple AppleScript to VMware Fusion virtual machine

So I have a simple AppleScript that I think should type a bunch of keys, but the period character doesn't print in VMware Fusion's virtual machines. This is odd because my period key (.) enters a ...
0
votes
1answer
192 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 ...
2
votes
0answers
797 views

How to disable core services safely without screwing up the OS?

There are certain core services in macOS which takes up a significant amount of your CPU and RAM. I don't use iCloud so nothing synchronises but, still Safari needs to run Bookmarks Sync Agent for no ...
2
votes
1answer
335 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 ...
8
votes
1answer
677 views

How to disable the “locate” command in Mac OS?

According to this article, I can use this command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist To enable "locate" command to find files. However, recently I find this ...
2
votes
1answer
364 views

How to modify text selection in applescript in an automator service

I wrote an Automator Service (intended for use on any selected text in any application) that modifies the length of the selection given a number/length that the user specifies. Here's a snippet of ...
1
vote
0answers
126 views

Workflow works from Automator but generates timed out error when run as service

This Automator workflow works perfectly when run from Automator. However, when launched as a service from a keyboard shortcut, the script generates a timed out error. The keyboard shortcut is valid. ...
2
votes
1answer
31 views

Include backspace key in custom keyboard shortcut

I want to make the keyboard shortcut for a Service I made ⌃⌥⌫ (Ctrl+Opt+Backspace); however, System Preferences doesn't let me do this. Is there a way I can include the key manually?
0
votes
2answers
865 views

Automator Service that opens URL from rich text

I would like to make an Automator Service that will open any link in a different browser (i.e. Firefox) than default (Safari). Precisely: I want to right click on any link in Mac OS and select a ...
0
votes
1answer
29 views

Finder Services - Cannot get specific service to appear/run

I cannot get the default Finder "New Terminal at folder" service to work, no matter what. I've tried every trick I could find online. So I created a new service and it appears in the Services list, ...
0
votes
1answer
626 views

How can I make an Automator service run a Terminal and display the output?

I'm using Automator to run a shell script (Rar selected files) as a 'Service', so that I can just right click a folder and select the service. It works fine, but i've added verbose and testing (to see ...
2
votes
1answer
2k views

AppleScript: How to search files in folder for string and show results in Finder?

I am trying to create an Automator-based Service that searches my computer for the selected text. (When I say "my computer," I specifically mean Macintosh HD, not This Mac, because This Mac includes ...
3
votes
1answer
724 views

How can I restart the smart card service since OSX Yosmite without rebooting?

In OSX Yosmite, the pcsc service was replaced with Apple's own "Crypto Token Kit" for handling smart cards. We used to be able to restart pcscd like in this answer, but I have not been able to find a ...
0
votes
2answers
100 views

Hotkey script manager for Mac?

I always forget keyboard shortcuts to scripts I write (or sometimes the keyboard shortcuts I use don't work in a certain application). I'm looking for a service that I can remedy this by allowing me ...
3
votes
1answer
145 views

Location Services shown on menu bar even though all apps are disabled

I have encountered a weird problem with my Macbook Pro (mid 2017/macOS Sierra 10.12.6). It shows the Location Services icon on the menu bar, many times a day, even after unchecking all application ...
2
votes
0answers
301 views

How do I create an Automator-based “Replace Text” Service that works with sandboxing?

I want to create a Service using Automator on macOS 10.12.6. I selected: Service receives selected rich text in any application Input is entire selection ☑️ Output replaces selected text I then ...
1
vote
1answer
525 views

Run a particular Python script as a Service

I've got a Python 3 script going that will overlay a particular transparent PDF file on top of another for the purpose of watermarking. Copying and pasting the file location of each PDF into the ...
1
vote
1answer
58 views

Are Mac OS X services name sensitive?

Are Mac OS X services name sensitive? I have the following Applescript code and can install it as a service (using Automator) with the name "Move_Mail_L5", but can't install it as a service with the ...
1
vote
0answers
169 views

Service does not appear in application menu

I created a simple service, that applies Quartz Black&Wite filter (the only block in the program) to a currently opened PDF and would like it appear in Services menu in Preview app. I have chosen ...