Est-il possible de créer une action de dossier qui peut pousser des notifications temporisées?

Plus précisément, je voudrais joindre une action de dossier qui transmettrait au centre de notification une alerte chronométrée qui se triggersrait après 60 jours … possible?

Activer at :

 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist 

Ajoutez une action Exécuter le script shell qui utilise terminal-notifier pour afficher une notification:

 at 2 months <<< 'terminal-notifier -message "some message" -title "title"' 

Remplacez le terminal-notifier par /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier si vous l'avez installé en téléchargeant l'set d'applications.

now+5 <<< 'say a' exécuterait une command dans cinq secondes. Vous pouvez listr les commands planifiées avec atq et les supprimer avec atrm . Voir l' man at pour plus d'informations.

D'accord, comme il s'avère que j'ai trouvé la réponse à cela. Je devais juste éditer mon applescript attaché existant. Et voici est avec le formatting en place:

 property myList : "Invoices" on adding folder items to this_folder after receiving these_items repeat with this_item in these_items set fName to name of (info for this_item) if fName does not start with "." then -- avoid new todo for .dsstore files or something similar set startTime to (current date) + 60 * days tell application "Reminders" make new reminder at beginning of list myList with properties {name:fName, due date:startTime, remind me date:startTime} end tell end if end repeat end adding folder items to