Page 1 of 1

Swipe 'Up' to take a Screenshot: possible?

Posted: 08 Sep 2016 18:17
by biggie123
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? :)

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

Posted: 08 Sep 2016 18:56
by Martin
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

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

Posted: 09 Sep 2016 22:41
by biggie123
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?

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

Posted: 10 Sep 2016 08:06
by MURTUMA
You sould enable developer options on your phone. There is a setting Show pointer location which shows the coordinates of your touches.