Skip to content

Commit 1a9276c

Browse files
Lucas PengLucas Peng
authored andcommitted
add iphone_screenshot.sh
1 parent cf3ea2b commit 1a9276c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

iphone_screenshot.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
screencapture -l$(osascript -e 'tell app "QuickTime Player" to id of window 1') ./screenshot.png

0 commit comments

Comments
 (0)