winapi - Detect sending message -



winapi - Detect sending message -

i want send message(i-message) macbook desktop cell phone when close lid , desktop goes sleep mode.

however desktop goes sleep mode faster sends message after close lid.

is possible observe sending message faster or create sending time shorter?

i'm using applescript, take suggestions in language, because sending message university subjects , other languages useful doing same thing on other microsoft desktops.

you can utilize sleepwatcher http://www.bernhard-baehr.de/ in command line observe sleep , perform command line action

i tried send sms phone using nexmo , got after closed lid

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+the+car+is+critical+%2895f%29"' {"message-count":"1","messages":[{"to":"14242179430","message-id":"020000004477ea13","status":"0","remaining-balance":"14.06670000","message-price":"0.00480000","network":"310260"}]}

winapi applescript pinvoke

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -