Scrcpy Android

An Alfred Workflow


Short Description

Alfred workflow for choosing an Android device to start scrcpy with

Last Updated

19 Feb 2021

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0
 

Bundle ID

com.afzaln.scrcpy
 

Author

This workflow lists all the devices connected that adb can detect, and lists them so you can choose and start scrcpy for the selected device without starting the terminal and copy/pasting tahe device ID.

Setup

You still need scrcpy for this workflow to work so get it from here: https://github.com/Genymobile/scrcpy (or use brew as explained in the Readme)

Important (Set the path in Alfred workflow):

PATH = /bin:/usr/bin:your-android-sdk-platform-tools-folder

Usage

Invoke by typing "scp" and you'll see a list of devices, select a device and press enter to start scrcpy with that device.

Alternate way to launch it is by typing "scx", then press enter. This prevents listing other other search results from Alfred.

By default, `--show-touches` and `--stay-awake` options are passed to scrcpy.

Screenshots