Swipe 'Up' to take a Screenshot: possible?

Post your questions and help other users.

Moderator: Martin

Post Reply
biggie123
Posts: 8
Joined: 30 Aug 2016 21:18

Swipe 'Up' to take a Screenshot: possible?

Post by biggie123 » 08 Sep 2016 18:17

I have no idea if this is something that can be accomplished with AutoMagic, but I'd like to be able to take screenshots without actually touching the phone, or needing to use the dreaded 'Power/volume' button combination.

So, is there any way to be able to Swipe Up (for example) to take a screenshot?

If so, how? :)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Swipe 'Up' to take a Screenshot: possible?

Post by Martin » 08 Sep 2016 18:56

Hi,

You could try to use action Take Screenshot. Simulating swipe up on the screen can be accomplished with action Execute Root Command: input swipe <x1> <y1> <x2> <y2> on a rooted device. The coordinates <x1> <y1> <x2> <y2> have to be replaced by the starting and ending coordinates of the swipe.
Starting with the next version of Automagic, you can also simulate swipes without a rooted device on Android 7.

Regards,
Martin

biggie123
Posts: 8
Joined: 30 Aug 2016 21:18

Re: Swipe 'Up' to take a Screenshot: possible?

Post by biggie123 » 09 Sep 2016 22:41

Thank you Martin.

I haven't had a chance to try it yet, but can I ask: how would I ascertain the 'The coordinates <x1> <y1> <x2> <y2>', in order to determine the scope of the swipe?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Swipe 'Up' to take a Screenshot: possible?

Post by MURTUMA » 10 Sep 2016 08:06

You sould enable developer options on your phone. There is a setting Show pointer location which shows the coordinates of your touches.

Post Reply