New answers tagged

1

This isn’t possible. You would need to compile an app to import and run these “locked” scripts. Xcode lets you install your own apps without needing a paid developer account.


9

Try this: find . -type f -print0 | xargs -0 md5 -r Note -print0 and -0 to handle spaces in filenames. Compared to find . -type f -exec, this solution runs md5 much less frequently, although this might not have a measurable impact.


11

find . -type f -exec /sbin/md5 -r {} + ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^ | | | | | | | | | +- add as many file names as possible per call | | | +---- replace with names of found files | | +------------ command to run | +-------------...


0

Installer is the built-in macOS app for installing packages. The Installer app itself does not belong to any app in particular; it runs any package given, usually by double-clicking a pkg from Finder. Installer will request Automation permission when a script in a package requests such, which will occur at the time of running the package. When such a ...


1

This is just one of the many things that you can do with Keyboard Maestro which is $36 but which enables you to do at least 1,000 different things with your Mac. You can have triggers for sleep/wake, or when you are on a certain Wi-Fi network, or at specific times of day, etc. Those triggers can then run AppleScript events, or execute keyboard commands, or ...


0

I use a program named EventScripts which among the events it monitors, there are these events that may apply to your question, External IP address changed, Wireless network changed and or Location updated. It uses AppleScript scripts to preform the action(s) you want to have happen when a given event is triggered. It is a paid app, $3.99 USD, but does have ...


1

This is a great question and you might need to pass us (or github / pastebin) the actual script. Barring that, you could do two things to make this a minimal, complete, verifiable question where we might be able to recommend script changes. Find out exactly which line in your script is failing by setting debugger “set -x” and posting the results / line ...


0

Attaching the folder with all the files in it would zip them. But all Mac users wouldn’t see the zip but the folder itself.


Top 50 recent answers are included