Skip to content

Instantly share code, notes, and snippets.

View DonMagee's full-sized avatar

Don Magee DonMagee

View GitHub Profile
@DonMagee
DonMagee / hideMyEmail.applescript
Created May 2, 2024 19:33 — forked from AkdM/hideMyEmail.applescript
Generate new "Hide My Email" email with iCloud+ using AppleScript
-- Kill System Preferences first if already open
if application "System Preferences" is running then
tell application "System Events"
set theID to unix id of processes whose name is "System Preferences"
try
do shell script "kill -9 " & theID
delay 0.1
end try
end tell
end if