Mcrazy
Member
Hi all!
I made a Screen unlock macro.
It's important when you need to run operations that require a screen to be unlocked.
When activating the macro, you must first set the PIN in the Local variable to the same PIN that was set for the Phone. This will be used by the macro to unlock the display.
If the Smart Lock is unlocked, the macro will unlock the screen by swiping.
In the V1 version there is only a "Blank Event" and a "Run Macro" action at the end.
In this form you can control from another macro or add additional events.
I also created a Test version which after activation, if the display is locked, it will turn on the display after 5sec and then unlock it by swiping and entering a PIN.
Any useful info on its operation is welcome.
Update:
I made changes to the original macro and therefore deleted the previous versions.
I created an example macro which creates the action block after importing, so it is more simple to use and only the action block needs to be called in the macro.
The Aktions block has the working variables at the bottom.
Here you need to set the PIN code that you set in Phone (1.PIN Code)
If the unlock works, you can call the action block in the right place in your own macros and it will work for you.
Attention! It may not work on all phones!
If it doesn't work, try the following:
1. restart the phone ( Macrodroid sometimes forgets the gesture, but for me it works for a long time after a restart)
2. If you are using Nova launcher and have the Auxiliary options turned on, the gesture will not work, no smoothness will be created to access the numeric pad.
3. if everything works, but the macro does not enter the numbers correctly, you will need to try increasing the wait times in the Repeat action.
Good Luck!
Auto Screen Unlock Example
I made a Screen unlock macro.
It's important when you need to run operations that require a screen to be unlocked.
When activating the macro, you must first set the PIN in the Local variable to the same PIN that was set for the Phone. This will be used by the macro to unlock the display.
If the Smart Lock is unlocked, the macro will unlock the screen by swiping.
In the V1 version there is only a "Blank Event" and a "Run Macro" action at the end.
In this form you can control from another macro or add additional events.
I also created a Test version which after activation, if the display is locked, it will turn on the display after 5sec and then unlock it by swiping and entering a PIN.
Any useful info on its operation is welcome.
Update:
I made changes to the original macro and therefore deleted the previous versions.
I created an example macro which creates the action block after importing, so it is more simple to use and only the action block needs to be called in the macro.
The Aktions block has the working variables at the bottom.
Here you need to set the PIN code that you set in Phone (1.PIN Code)
If the unlock works, you can call the action block in the right place in your own macros and it will work for you.
Attention! It may not work on all phones!
If it doesn't work, try the following:
1. restart the phone ( Macrodroid sometimes forgets the gesture, but for me it works for a long time after a restart)
2. If you are using Nova launcher and have the Auxiliary options turned on, the gesture will not work, no smoothness will be created to access the numeric pad.
3. if everything works, but the macro does not enter the numbers correctly, you will need to try increasing the wait times in the Repeat action.
Good Luck!
Auto Screen Unlock Example
Last edited: