Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Image AppleScript #60

Closed
moshed opened this issue Dec 5, 2016 · 3 comments
Closed

Custom Image AppleScript #60

moshed opened this issue Dec 5, 2016 · 3 comments

Comments

@moshed
Copy link

moshed commented Dec 5, 2016

how would you set a custom image using applescript?
i would be comfortable doing it from terminal also but try to just change the color from terminal with echo -n "black" nc -4u -w0 localhost 1738 changes it for instant (ala issue #45)

EDIT: i figured out why it was reverting back for me when using bash. i was running a looping applescript to show the playing state of spotify and it was still running. oops

@moshed moshed closed this as completed Dec 5, 2016
@moshed
Copy link
Author

moshed commented Dec 5, 2016

figured it out place images in /path/to/AnyBar.app/Contents/Resources/ and use
tell application "AnyBar" to set image name to "image_name"

@tonsky
Copy link
Owner

tonsky commented Dec 5, 2016 via email

@moshed
Copy link
Author

moshed commented Dec 5, 2016

i know this isnt the place for this but thanks so much for this! ive looked for years for a way to get a simple play/pause indicator in my menubar like iOS of old had. i tried googling place custom images in menubar with a million variations to see if i could do it manually and finaly i stumbled in this awesome project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants