I know this is an old question but If anyone’s still interested in a possible solution, there is a way to get macro-like behavior. I don’t know if this feature is documented.
To do this you need to create a two column table with the first column frozen.
Column A would be your “macro” name (e.g. “Default Name”). Column b would be its value.
If you entered =...
First of all, huge thank you to user3439894 for the awesome answer provided. This is absolutely what I needed. I did however encounter an issue completing these steps using encrypted APFS volumes, but I found a solution.
I'm using encrypted APFS volumes with macOS Big Sur. I encountered an issue running diskutil cs list as it returns "No CoreStorage ...
This following AppleScript code should serve the same function as you are looking for but the results will be almost instantaneous because you will not have to key stroke each individual letter.
— Save Anything That Is Currently On Your Clipboard
copy (the clipboard) to oldClipboard
-- Choose File Whose Contents You Want To Read
set theFile to ...
Read the file, then extract the paragraph
set theFile to open for access myPath
set fileContents to (read theFile)
close access theFile
set myParas to count paragraphs of fileContents
repeat with i from 1 to myParas
set myText to myText & "\n" & paragraph i of fileContents
tell application "app&...
The solution you’re looking for will be based around SMLoginItemSetEnabled(). This is the modern replacement for the deprecated LSSharedFileListInsertItemURL() which is used by the Users & Groups system preference pane.
You will need to create two small applications. The “main” application will be responsible for launching your payload. The “helper” ...
I don't have a lot of experience administering/doing mass deployment of scripts over Jamf but I am positive the following links would be very helpful for you. I believe what you are looking for is how to work around Apple's Preferences Policy Control Payloads (PPPC).
Please take a look at the following resources:
GitHub - homebysix
Apple Official Doc about ...
I found this in the Apple support documentation which defines communication triggers for messages and emails right now. There are no communication triggers for calls. So I believe we have no option but to wait and check if Apple plans to add triggers for calls.
cron + rsync
Use rsync to sync the folders, and cron to schedule the backups. You can open up your cron table (list of scheduled commands) with crontab -e. First you can create your backup with:
rsync -a ~/Documents <backup folder path>
This will create a backup named "Documents" in the directory you specify. Then you can schedule this ...