diff --git a/mac/dos.sh b/mac/dos.sh new file mode 100755 index 0000000..f4ae50e --- /dev/null +++ b/mac/dos.sh @@ -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 + diff --git a/mac/mes.as b/mac/mes.as new file mode 100644 index 0000000..fed99be --- /dev/null +++ b/mac/mes.as @@ -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