Coder Social home page Coder Social logo

goodlock-hex2color's People

Contributors

apearson avatar blindingstars avatar stephymiehle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

imfog

goodlock-hex2color's Issues

Mac: "Command not found" with bundled adb

Without adb in my $PATH:

❯ python hex2goodlock.py '#253f3f'
Input Hex: #253f3f
Hue Screen Location: 924.0px
Saturation Screen Location: 249.0px
Value Screen Location: 1390.0px
./mac-tools/adb shell input tap 850 924.0 && adb shell input tap 249.0 1390.0
sh: adb: command not found

❯ which adb
adb not found

MacBook Air Early 2015; happy to share any other debugging info!

Reddit Discussion

No luck on my Mac so far; will try Windows after a meeting.

First, tried without ADB in my $PATH:

❯ python hex2goodlock.py '#253f3f'
Input Hex: #253f3f
Hue Screen Location: 924.0px
Saturation Screen Location: 249.0px
Value Screen Location: 1390.0px
./mac-tools/adb shell input tap 850 924.0 && adb shell input tap 249.0 1390.0
sh: adb: command not found

❯ which adb
adb not found

No dice there. With ADB installed:

❯ brew install android-platform-tools

❯ which adb
/usr/local/bin/adb

❯ adb devices
List of devices attached
24923391    device

❯ python hex2goodlock.py '#253f3f'
Input Hex: #253f3f
Hue Screen Location: 924.0px
Saturation Screen Location: 249.0px
Value Screen Location: 1390.0px
adb shell input tap 850 924.0 && adb shell input tap 249.0 1390.0

USB debugging was for-sure enabled, GoodLock was on the color selector with the 4 hexagons. brew install android-platform-tools is a nice way for Mac users to get their adb and fastboot, if they already have homebrew installed... but if they do, they probably don't need much walkthrough anyways.

I'll keep you posted!

Standard mode colors off

Non condensed mode has different box points than condensed mode

Need to figure out if there is an adb command for getting standard/condensed mode.
Also need to figure out new box size for standard mode

How to take a screenshot

adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
adb shell rm /sdcard/screen.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.