Creating flows become much more comfortable
For Better Creating new Block
Today I share a flow.
With purpose to help everybody directly create a New block instead of select from Old block.
So when you select to create example an Action block, the window Select an Action appear for you to select from an old block.
This flow help you skip it straight to The Tags window
But if it always skip the Select from old block, what happen when we need that ?
To solve that problem, this flow also have a trigger that if you press volumn down, this flow will pause in 3 second and you can select from your old block withow be skiped to the Tags window abow
If you appreciate my project, leave a like and comment below.
Please tell me if it is too fast.
Here is the file to import: Lifehack: If you want the flow to trigger faster,
goto Setting > Features and Permission > Accessibility event wait time
Then set time from 100 to 250 millisecond.
and Here is the code:
Flash wrote: <?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<data version="1.37.0">
<trigger type="user_interface_event">
<useDefaultName>false</useDefaultName>
<name>Display_window</name>
<enabled>true</enabled>
<accessibilityEventType>TYPE_WINDOW_STATE_CHANGED</accessibilityEventType>
<packageNameFilter>ch.gridvision.ppam.androidautomagic</packageNameFilter>
<textMatchType>GLOB</textMatchType>
<textFilter>Select*</textFilter>
<removeNonPrintableCharacters>false</removeNonPrintableCharacters>
</trigger>
<trigger type="key_event">
<useDefaultName>true</useDefaultName>
<name>Hardware Key Event: VOLUME_DOWN Up</name>
<enabled>true</enabled>
<keyList>VOLUME_DOWN</keyList>
<keyDown>false</keyDown>
<keyUp>true</keyUp>
<blockEvent>false</blockEvent>
</trigger>
<action type="control_user_interface">
<useDefaultName>true</useDefaultName>
<name>Control UI: if (trigger == "Display_window") { click("NEW…"); sleep(100); click("Tags"); } else sleep(2000);</name>
<script>if (trigger == "Display_window")
{
click("NEW…"); sleep(100); click("Tags");
}
else sleep(2000);</script>
</action>
<flow type="flow">
<name>Fast_create</name>
<enabled>true</enabled>
<executionPolicy>SKIP</executionPolicy>
<emergencyStopCount>60</emergencyStopCount>
<triggercontainer id="t1" x="-420.0" y="157.5">
<trigger>Hardware Key Event: VOLUME_DOWN Up</trigger>
<trigger>Display_window</trigger>
</triggercontainer>
<actioncontainer id="t2" x="-420.00012" y="297.5">Control UI: if (trigger == "Display_window") { click("NEW…"); sleep(100); click("Tags"); } else sleep(2000);</actioncontainer>
<connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow>
</data>
thunder