winapi - Detect sending message -
When I close the lid and the desktop, I will send messages from my MacBook Desktop to my cell phone (I-Message ) send wish is in sleep mode
However, my desktop is possible to detect the lid goes quickly from sleep mode to send messages after the closing
to send the message Or is it short time to send?
I'm using Applescript, but will no suggestion in any language, because the message sent concerning to my university and other languages will be useful to do the same thing on other Microsoft desktop.
For the command line to detect Sleepvetr sleep and action of a command line < / p>
I tried to send SMS using Neksmo on your phone and it was turned off
airair2: sleepwatcher_2 .2 bis $ ./sleepwatcher -s' curl "https://rest.nexmo.com/sms/json?api_key=key&api_secret=secret&from4249996003&to=14245555555&text=Alarm%21+Temperature+inside+ (" ":" 14242179430 "," message- id ":" 020000004477EA13 "," position "," car "+ + + +% 2895F% 29" '{ "message count": "1", "message", ":" 0 "," Balance Number Balance ":" 14.06670000 "," Send value ":" 0.00480000 "," Network ":" 310260 "}}
Comments
Post a Comment