Applescript Do Shell Script Call Subroutine
I utilize the following AppleScript to backup and shutdown the laptop upon the completion of the backup.
do shell script "tmutil startbackup -b && shutdown -h now" with administrator privileges
What I would like to do is make a call to a subroutine that sends an email message between the backup and shutdown. I have a subroutine named "send_email_msg" which does send a message but I'm unsure how to incorporate the call to the subroutine in the shell script.
最后更新:2017-09-22 02:35:50
上一篇:
Finder: disable confirmation pop
下一篇:
apple watch update not showing up
NFL Game Pass Europe App on US account
No air printers found on iPad Pro or iPhone 7plus
Unable to open apps after purchasing
On folders in iMac desktop
Problem syncing iCloud to Mac. (iPhone to iClou...
Where did my podcast library go in 12.7?
How to restore custom desktop to new iPhone 8+ ...
MacBook Pro 2015 doesnt charge to 100%
how do i transfer from iPad2 to new iPad pro
making a payment for the Zoosk application
相关内容
"com.apple.installer.pagecontroller error
any idea what error 3503 is?
Underallocation Detected on Main device
The operation couldn’t be completed. (BKA...
is ctoid.exe a virus on my ipad safari browser?
iTunes Error: Declined to authorize this image ...
Keep High Efficiency Original if Available Chec...
iTunes 12.7 cannot edit playlist
High Sierra Stuck & Decryption paused
Need to unlock iphone 5 to reactivate the phone...
热门内容
Christian Music Removed From Itunes
I'm being billed twice every month for Apple Mu...
iMac running slow
Fix disappearing album art after moving iTunes
Activation Locked iWatch
Can I change the iwatch to miles instead of kil...
I keep seeing the "You don't have permission to...
can't read any menus macbook air
iPad 2, iOs9.3, taking days to restore
charges made under itune memeberships