View Single Post
Old 11-13-2018, 03:12 AM   #324
notimp
Addict
notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 892441
Join Date: Jul 2010
Device: K2i
Quote:
Originally Posted by feelmaroon View Post
Will try out that applescript too. Appreciated.
If you do - adb has to be installed on the Mac:
https://lifehacker.com/the-easiest-w...-to-1586992378

Usb Debugging has to be activated on the Likebook:
Tap on the version number under settings device info a few times quickly, until the "developer options are now enabled" message pops up, then go into settings > developer options and enable usb debugging.

The Likebook has to be connected via USB.

If you want to test the connection pull up a Terminal window and write

adb devices

The first time it should see the device but tell you communication is unauthorized. At the same time it will pop up a message window on the Likebook that asks you if you want to authorize the computer to communicate with the android device. Say yes (you can also check a box to make it permanent).

From then on simply running the applescript will take a screenshot and save it under ~/Desktop/boyue (You can save the script in AppleScript Editor as an .app and every time you run it, it will do so.

To run it quickly - use spotlight (cmd+space), or Quicksilver (https://qsapp.com/) or Alfred, or....

Just remember to change the notimp in the script with your MacOS user (userfolder) name. (One occurance.)

edit: Urgh. The xda tutorial doesnt tell you how to install adb globally ("navigate to specific folder... run adb from there").

Use this instead:
https://forum.xda-developers.com/and...usive-t2941205
also read this:
https://forum.xda-developers.com/sho...7&postcount=34

Sorry - people not being so considerate to actually tell you how to install a binary globally. They just tell you how to unzip a thing. Anywhere. Then always use that path to call it.

Last edited by notimp; 11-13-2018 at 03:50 AM.
notimp is offline   Reply With Quote