Awesome update ! Thanks!
jText Delayed Time iMessage
v1.0 19Oct2018 - Initial version
v2.0 20Oct2018 - Added informational display to “Select Contact To Message” alert dialogue
@jonathandodds - jonathan.dodds@outlook.com
(NB; read until the end to see why this will not always work due to an apparent security limitation)
Allows a user to send a delayed-in-time iMessage.That is, select your contact and write your message now, but have it sent automatically at a later date and time of your choosing.
Can only select a cell/mobile number for the moment, not iCloud email address, thus can only say this will work with iPhones and not iPads.
The app will work as expected for some length of time as long as the device is or remains unlocked. It appears that as soon as the device auto-locks then the process is hung up with the follow error given:
"The request was denied by service delegate (SBMainWorkspace) for reason: Locked ('unable to launch com.apple.MobileSMS because the device was, could not be, unlocked")"
If you keep your phone unlocked long enough, perhaps while playing a game or working on something else, the shortcut should work.
Novedades
Added informational display to “Select Contact To Message” alert dialogue
Qué hace
14 acciones-
CommentjText Delayed Time iMessage v1.0 19Oct2018 @jonathandodds [email protected] (NB; read until the end to see why this will not always work due to an apparent security limitation) Allows a user to send a delayed-in-time iMessage. That is, sele…
-
Show AlertSelect Contact To Message
-
Select Phone Number
-
Get Details of Contacts
-
Ask for InputEnter Your Message
-
Get Text from Input
-
Copy to Clipboard
-
Ask for InputWhen do you want to send the message?
-
Get Time Between Dates
-
Get Variable
-
Calculate
-
Wait
-
Nothing
-
Send Message
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/text'
#include 'actions/contacts'
#define color taupe
#define glyph messageBubbles
/*
jText Delayed Time iMessage
v1.0 19Oct2018
@jonathandodds
[email protected]
(NB; read until the end to see why this will not always work due to an apparent security limitation)
Allows a user to send a delayed-in-time iMessage.
That is, select your contact and write your message now, but have it sent automatically at a later date and time of your choosing.
The app will work as expected for some length of time as long as the device is or remains unlocked. It appears that as soon as the device auto-locks then the process is hung up with the follow error given:
"The request was denied by service delegate (SBMainWorkspace) for reason: Locked ('unable to launch com.apple.MobileSMS because the device was, could not be, unlocked")"
If you keep your unlocked long enough, perhaps while playing a game or working on something else, the shortcut should work.
*/
alert("Works only with cell/mobile numbers at the moment, and not iCloud email addresses.", "Select Contact To Message")
const PhoneNumbers = selectPhoneNumber()
getContactDetail(nil, PhoneNumbers)
prompt("Enter Your Message")
getText(nil)
setClipboard(nil, true, "")
prompt("When do you want to send the message?", "Date")
rawAction("is.workflow.actions.gettimebetweendates", {
"WFTimeUntilCustomDate": "",
"WFTimeUntilReferenceDate": "Right Now",
"WFTimeUntilUnit": "Seconds"
})
// TODO: Get Variable not supported: Assign variable here to 'TimeBetweenDates'.
const CalculationResult = nil * 1
wait(CalculationResult)
nothing()
sendMessage(PhoneNumbers, Clipboard, false)
Valoraciones y reseñas
Escribe una reseñaAwesome Work! @jonathandodds and welcome to ShareShortcuts.com :) 🎉