[Activator] | Volume Button based Shortcuts

Share and discuss your flows and ideas with other users.

Moderator: Martin

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

[Activator] | Volume Button based Shortcuts

Post by Yam » 30 Dec 2019 15:09

Hi there!

Updated 11th Feb 2020
Feedback is appreciated!


Introduction:
Inspired by a iPhone Jailbreak tweak which gives users the ability to map custom volume presses to a command.

Build a volume button command > Assign certain apps different commands, or execute it globally.

For example:
Press both volume keys on lockscreen = torch.
Press both volume keys on youtube = Toggle rotation lock.


Features:
• Create & Delete Volume button shortcuts directly from the quick notification centre.

• Customize Timing, Hold times, and key responsiveness.

• Record, Build and save Shortcuts with the record menu.

• Assign shortcuts to only work in specific applications.

• Have a custom shortcut perform different commands in different applications!


How to install:
1.) Download Here
2.) Enable flows marked [ON] and execute.
3.) Restart your device if the flow doesn't register your volume keys.
(Only restarting fixes this bug)
4.) Use the Quicktoggles shortcut to build your first shortcut!
5.) Customize & Enjoy!
6.) Please leave feedback!


Recording Guide:
Holds up to 8 keypress commands. Any variation of the keys below.

Volume Up:
• Up = U
• Up Hold = UH
• Up Long Hold = UL

Volume Down:
• Down = D
• Down Hold = DH
• Down Long Hold = DLH

Both keys simultaneously:
• Both Up and Down together = B
• Both Up and Down Together Hold = BH
• Both Up and Down Together Long Hold = BL



Pictures / Extras:
Run Options
Notifications
Button Recorder
Main Menu
Adjust Timing

Small gif showing the possibilities of volume based app shortcuts
ezgif-7-49fe6863ac0d.gif
ezgif-7-49fe6863ac0d.gif (1.01 MiB) Viewed 27028 times

Prebuilt shortcuts:
Here is a collection of prebuilt flows you can use.
Example Flows Include:
- Caffine (keep screen on)
- Flashlight
- Ringer
- Rotation
- Full Brightness


Trouble Shooting:
Please leave feedback on any bugs.


Hope you enjoy my flow!
Concept Inspired by Desmanto
Last edited by Yam on 11 Feb 2020 00:30, edited 18 times in total.
Every life altering decision you have made, has lead to you reading this.

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: Volume Button Shortcuts

Post by akhileshg1988 » 26 Jan 2020 17:39

Hi there!
Downloaded the flow. Tried figuring out what it's meant for and how to use it. Clueless.
Any help would be appreciated.

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

Re: Volume Button Shortcuts

Post by Yam » 27 Jan 2020 12:41

Sure!

Lets say your shortcut is "Volume Up, Volume Up, Volume Up"

You then assign each app that shortcut!

So Volume Up 3x on chrome:
- Toggle Rotation


AND Volume Up 3x On your lockscreen:
- Turns on flashlight.

The GIF should show you the UP UP DOWN DOWN executing different flows in different apps!
Last edited by Yam on 26 Apr 2020 12:06, edited 1 time in total.
Every life altering decision you have made, has lead to you reading this.

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: Volume Button Shortcuts

Post by akhileshg1988 » 27 Jan 2020 14:00

I just tried it, bro!
Nothing happened.
Please guide.

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: Volume Button Shortcuts

Post by akhileshg1988 » 27 Jan 2020 14:06

Irrespective of how many times I press the volume key, first, the trigger detects it, then the flow control moves to the condition and from there, the flow control always takes the 'exception' arrow route and terminates at the last action i.e. Script (//sleep(10);).

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

Re: Volume Button Shortcuts

Post by Yam » 27 Jan 2020 15:26

That's a bummer! Im running samsung s9.

My only guess is the key codes are different for every device.

I'm half way through a complete rebuild. V2 will be a little less code chaotic and way less dynamic.. But It will give users the option to build shortcuts and ignore any shortcuts that don't exist :)

Right now it was kinda a proof of concept ~ 😅 which doesn't seem to work for other people hahaha

V2 Will also introduce the "Long hold" variant.
Every life altering decision you have made, has lead to you reading this.

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: Volume Button Shortcuts

Post by akhileshg1988 » 28 Jan 2020 02:28

No worries, bro!
I'll impatiently wait for version 2 of your flow.

Thanks a lot.

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

Re: [V2] Activator | Volume Button Shortcuts Beta

Post by Yam » 30 Jan 2020 10:43

Hopefully this version works for you!
Every life altering decision you have made, has lead to you reading this.

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

Re: [Activator] | Volume Button based Shortcuts

Post by Yam » 10 Feb 2020 21:55

Updated to include:
- application specific commands
- global variable creation
- Global trigger
Every life altering decision you have made, has lead to you reading this.

Post Reply