How can I get feedback that the command was executed remotely?
-
How can I get feedback that the command was executed remotely?
I leave in a hurry, and forget the Mac is turned on and unlocked with Amphetamine active. I have doubts when away from the computer, I ask for Alexa on the iPhone. But would you like to know how to get feedback that the computer was actually locked/turned off?
Even though I request the command, I don't have reliable feedback that it was executed successfully. Is there any other app that I can use together to find out if my Mac is active or an app that tells me if someone has turned on my computer every time it is turned on?
I want to monitor my computer when I'm away, I'm worried if someone tries to use the computer to read my stuff.
-
@Murilo-Callegari, if you look at the Runs list for your command, it should say "Command ran" if the command actually ran on your computer.
If you're worried the screen still didn't lock even though your "lock screen" command ran, you could have your "lock screen" script also check whether the screen is locked, and send that information to the Runs list using the ~/.TRIGGERcmdData/result.sh script.
Just run ~/.TRIGGERcmdData/result.sh from your "lock screen" script with a status message like "Locked" or "Unlocked" as the parameter when you run result.sh.
You can also have Alexa speak the "Locked" or "Unlocked" result if you add {{result}} to your command's Voice Reply field and use one the Conversational Alexa skills.
This article has more about that.