Faster creating new blocks simple version

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
User avatar
Hit
Posts: 91
Joined: 20 Jan 2020 11:31

Faster creating new blocks simple version

Post by Hit » 16 Apr 2020 03:02

Now Fast as Flash
Creating flows become much more comfortable

For Better Creating new Block
:D 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
IMG_20200416_094039.jpg
nnnn
IMG_20200416_094039.jpg (40.44 KiB) Viewed 28908 times
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:
Fast_create_Flash_speed.xml
(1.78 KiB) Downloaded 1384 times
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
Last edited by Hit on 30 Jul 2020 07:14, edited 15 times in total.

icefox56
Posts: 53
Joined: 15 Aug 2017 02:56

Re: Faster create for new Block

Post by icefox56 » 16 Apr 2020 17:10

Ha ha.. this is useful. Never thought of anything like this before. Come to think of it, I never use from the old blocks anyway.

Thanks for sharing
Asus Zenfone Max pro M1, Stock android, Oreo 8.1, Rooted

User avatar
Hit
Posts: 91
Joined: 20 Jan 2020 11:31

Re: Faster create for new Block

Post by Hit » 17 Apr 2020 01:08

icefox56 wrote:
16 Apr 2020 17:10
Ha ha.. this is useful. Never thought of anything like this before. Come to think of it, I never use from the old blocks anyway.

Thanks for sharing
You're welcome. But I just realize that if you press the volume down it just pause for 2 second so you can edit that yourself. :D

gilanxcheetz
Posts: 18
Joined: 08 Nov 2018 15:10
Contact:

Re: Faster create for new Block

Post by gilanxcheetz » 18 Apr 2020 19:22

useful, this idea never exist in my mind. good job
From: Redmi 5 Plus (Vince)

User avatar
Hit
Posts: 91
Joined: 20 Jan 2020 11:31

Re: Faster create for new Block

Post by Hit » 19 Apr 2020 04:28

gilanxcheetz wrote:
18 Apr 2020 19:22
useful, this idea never exist in my mind. good job
I'm glad you liked it.


User avatar
Yam
Posts: 54
Joined: 23 Nov 2019 09:07

Re: Faster create for new Block UPGRADED Now become Faster

Post by Yam » 21 Apr 2020 08:08

Something so simple... Makes life so sweet...
Every life altering decision you have made, has lead to you reading this.


Post Reply