added files for using imessage over terminal
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
|||||||
|
# ==============================================================================
|
||||||
|
# Auth: Alex Celani
|
||||||
|
# File: XXX.xx
|
||||||
|
# Revn: MM-DD-YYYY 0.0
|
||||||
|
# Func:
|
||||||
|
#
|
||||||
|
# TODO: create
|
||||||
|
# ==============================================================================
|
||||||
|
# CHANGE LOG
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# MM-DD-YYYY: init
|
||||||
|
#
|
||||||
|
# ==============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
for i in {1..10}
|
||||||
|
do
|
||||||
|
osascript mes.as +15863812670 "hewwo uwu"
|
||||||
|
done
|
||||||
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
on run {targetBuddyPhone, targetMessage}
|
||||||
|
tell application "Messages"
|
||||||
|
set targetService to 1st service whose service type = SMS
|
||||||
|
set targetBuddy to buddy targetBuddyPhone of targetService
|
||||||
|
send targetMessage to targetBuddy
|
||||||
|
end tell
|
||||||
|
end run
|
||||||
Reference in New Issue
Block a user