enable autorotate on certain apps; how would this be done?

Post your questions and help other users.

Moderator: Martin

Post Reply
joego
Posts: 10
Joined: 19 Nov 2019 13:52

enable autorotate on certain apps; how would this be done?

Post by joego » 20 Dec 2019 00:40

please forgive my ignorance, but Could someone give me a hand creating a flow that will enable autorotate on certain apps

I've auto rotate disabled on my phone but I'd like to enable it for certain apps eg excel - would anyone mind explaining or posting a script that already does this?

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: enable autorotate on certain apps; how would this be done?

Post by jassing » 20 Dec 2019 02:37

Something like this?
flow_Auto_rotate_on_sheets_20191219_183448.xml
Auto rotate on sheets
(1.08 KiB) Downloaded 775 times

joego
Posts: 10
Joined: 19 Nov 2019 13:52

Re: enable autorotate on certain apps; how would this be done?

Post by joego » 21 Dec 2019 11:27

Somehow it's not working, even after I changed the package name to com.microsoft.office.excel

thanks for you're help anyway

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: enable autorotate on certain apps; how would this be done?

Post by jassing » 21 Dec 2019 16:35

You enabled the script?
Try switching method to usage stats...

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: enable autorotate on certain apps; how would this be done?

Post by Desmanto » 21 Dec 2019 17:05

@joego : You should enable Accessibility services for Automagic to use that trigger. Otherwise, the usage statistic method also require App Usage access permission.

The flow only cover the started. There should be another ended trigger to disable the auto rotate again. But you should try the flow above first to see if it is working first, before going to the next step.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: enable autorotate on certain apps; how would this be done?

Post by jassing » 22 Dec 2019 11:24

Here is a more complete example flow...
Works with excel & sheets on my moto g6
Adjust method as needed.

Post Reply