Open the Keyboard and Start Texting


So this Profile will start a messaging app when you open the physical keyboard if the screen was off.
It will disable the keyguard and load the app, but only if the screen was off when the keyboard was opened.

State: Keyboard Out

Enter Task:

  1. Variable Set %SCREENWAS to 'off if %SCREEN ~(matches) 'off'
  2. Keyguard Set 'off' if %SCREENWAS ~(matches) 'off'
  3. Load App [whatever app name here] if %SCREENWAS ~(matches) 'off'
  4. Variable Clear %SCREENWAS

Exit Task:

  1. Keyguard Set 'on'

I'm not sure why this works, but Tasker reads the variable %SCREEN as off, if it was before the keyboard opened.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License