The updater is registered with the system service launchd. Instructions to completely disable this can be found on The real way to disable Adobe Updater from your Mac OS X:
Open a Terminal window and type the following commands:
launchctl remove `basename com.adobe.ARM.* .plist`
launchctl remove `basename com.adobe.AAM.* .plist`
I think this is an option that will do exactly what you want. Using your Serial Number.jpg example, do as follows:
In the Finder browse to the image called “Serial Number.jpg” located on Server1
Right-click on the file to display the context menu
Now press and hold the option key down
Select the Copy “Serial Number.jpg” as Pathname option
Now go to the ...
You can just drag & drop a file [or a whole swathe of them] into a text area to get its [their] path[s] - not in all apps but in many, including Terminal [& incidentally in the question/answer space on Stack Exchange too.]
Some apps, like BBEdit, do not support this and take the contents of the file insteat of the full path. For these apps a Command ...
You can use ControlPlane where you can set up rules to carry out tasks such as opening apps based on various criteria which includes connecting to Wi-Fi.
ControlPlane supports multiple contexts where a context is defined as a location or activity you are performing. Using evidence sources you can create a set of rules that tell ControlPlane what context ...
This is what Parental Controls can be used for.
You can set the times where you can and cannot use the computer. The caveat is that you cannot be an Admin so you will need to give the reins of control over to a trusted person.
That said, Parental Controls is just one avenue and you cannot rely on tech to address an issue like this.
I say this with the ...
You can also use gpgtools (https://gpgtools.org) it is got all the possible GPG tools you are probably going to need (they also have a gpg plugin for Apple Mail) and adds Services for signing/encrypting/decrypting/etc. to the contextual menu (right-click->Services).
You should be able to turn your script into an application with Automator - Applications -> Utilities -> Automator.app. Look for an option called "Run Shell Script" and once you're done, it should behave like other apps in that anything that is dragged and dropped on it will be run with it. Good luck!
This sort of file can also be manually deleted from the LaunchAgents or LaunchDaemons folders in the /Library Folder - with Administrator privileges. This is where the intrusive apps like Adobe often install things--and sometimes apps that are really trustworthy. It's not a bad idea to look through these folders now and then, to see what might have been ...
The settings are stored in /Library/Application Support/com.apple.TCC/TCC.db:
$ sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'
I've created sample daemon app for this purpose. You can find it on Github.
To make it run:
Compile it using Xcode.
Move Network Listener.app to /Applications dir.
Move .networkConnected and .networkDisconnected to Your $HOME dir.
Move Network-Listener.plist to ~/Library/LaunchAgents.
Make .networkConnected and .networkDisconnected executable.
It will ...
In my opinion, the best way to do it is by using Apple's own task scheduler: launchd, because you don't need to install third-party software. First, the theory: to run a script from the command line, you just run:
Knowing this, all you have to do is create a plist file in ~/Library/LaunchAgents/ with this:
This is an alternative to the other script I posted. This one runs in the background and tests the network connection every two minutes to determine if it is using an Ethernet connection or wireless. If on Ethernet, it enables Time Machine; when the connection switches to wireless it disables Time Machine.
Step 1: System Check
While connected to Ethernet, ...
This AppleScript will check if the Ethernet connection is active, and then run a Time Machine backup if so.
First, disable Time Machine in System Preferences. The below method will run it automatically.
While connected to Ethernet, you will need to run one command manually to confirm which interface Ethernet is assigned to. Run this command:
Apple doesn't supply a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, which allows updates and installs out of the box, you can script the process of clicking buttons with a mouse using Automator.
However, the app store has been reverse engineered and released open source as well ...
You can also add the file by following the commands below.
This command will find the Bundle Identifier for the application you are trying to add to Assistive Devices.
/usr/libexec/PlistBuddy -c 'Print CFBundleIdentifier' /Applications/enterapplicaitonnamehere.app/Contents/Info.plist
Let's say the application you were trying to add was SKYPE. You would ...
How to compile
Easy version (late 2015)
make sure you have homebrew installed
download source code:
git clone https://github.com/johmathe/Shotdetect.git
run install script: ./compile.sh all
find the binary "shotdetect-cmd" in the build directory.
for details, check How to use section below
Old version (up to late 2015)...
Create a new service with automator so your wife can decrypt the file using the contextual menu in the Finder.
Create an Automator service
Service receives selected files or folders in Finder
Add a Run Shell Script action.
Add your code: gpg -d $1
Save the service.
It is now available in the Finder via Right click > Service > youServiceName.
As far as I know, you can't replicate this alert without enabling that option. If you do enable that option, you can cause a flash from Terminal using:
osascript -e "beep"
However, if you don't want to enable that option, you can use invert colours. Using the invert colours Accessibility option twice causes the screen to flash, therefore pressing the ...
You can use Sidekick which lets you perform 'actions' when changing location. The location is reported using the specific Wi-Fi, which means you can do things when the Wi-Fi changes.
Sidekick is an application that automatically updates your laptop settings based on where you are. Just install the app, configure the places that you frequent, (home, work, ...
Like Linux, OS X is designed not to require restarting. There is no system wide means to determine if a restart is required - or even requested by a process.
For situations where a restart is required, the process responsible for needing the restart is also responsible for organising the restart.
Tools that update OS X are most likely to request a restart.
There's a way to do this if you're jailbroken with tweak called Activator by Ryan Petrich, and unfortunately it's the only solution because regular App Store apps aren't allowed to access settings like Bluetooth, Wi-Fi, and Personal Hotspot (even Workflow cannot access them).
If you happen to be jailbroken, the way to do this with Activator is to go ...
Okay, I've downloaded Hazel and tested the following AppleScript code on a New Rule to validate it works. The following code when used in an embedded script will set theResult to true on theFile, an audio file that is longer than 30 minutes. Any file 30 minutes or less, or a non-audio file will set theResult to false:
set theResult to (do shell script "[[ $(...
The following has been tested under macOS Sierra 10.12.5 and macOS High Sierra 10.13.3, and works without any issue on my system.
Using the example AppleScript code, from my original answer, saved as an AppleScript application named Flip Display 180° and added to System Preferences > Security & Privacy > Privacy > Accessibility, so as to allow it to ...
As far as I know, it's not possible.
The reason is that Power Nap doesn't have an API that 3rd party apps can hook into (so apps could trigger a wake event or be notified when one occurs).
Whether this will remain like that in the future depends upon Apple. It would be interesting to see if there's a simple way to detect when one is in power nap mode, but ...
When you run that command, launchd will update the database every week automatically. On my system, the plist is set to run every Saturday at 3:15am.
Edit from OP: Yes, works, note: Also it ran once when submitted, so for me, within a few minutes I was able to use locate. the update process runs in the background so you may have to wait a few minutes ...
You can do this with Markdown.pl and htmldoc(1), both of which can be installed with Homebrew. The basic flow for making a PDF is:
markdown foo.markdown | htmldoc --no-toc --no-title -f foo.pdf -
As for your filename-per-page, you coul incorporate echo to add it as an HTML element:
echo $(markdown foo.markdown) "<p>foo</p>" | htmldoc --no-toc ...