guys, I have started using Tasker,and I absolutely love it.
I figured out I could write a recipe for me to start Google Now bt simply shaking the phone, and it worked.
One problem, though. If the phone is locked and the display is off, shaking the phone won't start the app, obviously, but if the phone is locked but the display is on - in lock screen - if I shake the device, it won't unlock, fortunately, but I hear the Google Now beep,and as soon as I unlock my phone, Google Now is there, open, and I have to cope with constant beeping while I'm running listening to music,or receiving a whatsapp text (what makes the display on while it's locked sometimes), and I always have to close the Google Now app, cause it will launch as soon as I unlock my phone, even if I accidentally shook the device even when it's locked.
What I want to do is have this profile disabled when the phone is locked, regardless of wether the screen is on our not. I have explored all the apparent solutions, and I have come to a conclusion that it can probably only be solved with a var (which I can't write).
Any ideas?