Page 1 of 1

Faster creating new blocks simple version

Posted: 16 Apr 2020 03:02
by Hit
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 30231 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 1444 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

Re: Faster create for new Block

Posted: 16 Apr 2020 17:10
by icefox56
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

Re: Faster create for new Block

Posted: 17 Apr 2020 01:08
by Hit
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

Re: Faster create for new Block

Posted: 18 Apr 2020 19:22
by gilanxcheetz
useful, this idea never exist in my mind. good job

Re: Faster create for new Block

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

Re: Faster create for new Block UPGRADED Now become Faster

Posted: 20 Apr 2020 16:26
by Hit
Check out new update!

Re: Faster create for new Block UPGRADED Now become Faster

Posted: 21 Apr 2020 08:08
by Yam
Something so simple... Makes life so sweet...

Re: Faster create for new Block UPGRADED Now become Faster

Posted: 21 Apr 2020 09:13
by Hit
I'm a simple man. I have a good flow, I post.