Zeroforum,
At the end of your script set a variable %KEYGUARD to 1
Start a new profile
Context - Display - Screen unlocked
Task - Display - keyguard off - if %KEYGUARD matches 1
Task - Variable - Set Variable - %KEYGUARD to 0
Awesome, that worked great - thanks.
One thing though, how do I set it to Lock like I pushed the power key on the top left? The only Lock I can find has me typing a numeric password to unlock, not the Keyboard Pattern.
The following profiles check every 15 minutes and connect me to my home router if it is in range. It will also disable wifi whenever I disconnect from my current connection whether it be at home or at a Starbucks.
Profile Home Wifi
Context
Wifi Near
SSID: myroutername
toggle wifi checked
Task(s)
Wifi On
Profile Wifi Connected
Context
Wifi Connected
Task
Profile Status "Wifi Disconnect" on
Profile Wifi Disconnect
Context
Wifi Connected invert
Task
Wifi off
Profile Status "Wifi Disconnect" off
Profile Home Wifi Checker
Context Time every 15 minutes
Task Profile Status "Home Wifi" On
Task Wait 30 seconds
Task Profile Status "Home Wifi" Off
Also, can someone tell me how to set the Profile Status "Wifi Disconnect" part bolded above? Is this supposed to refer to another profile? Not sure how to set this within a Task. Thanks.