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

Keyboard Maestro Version #14

Merged
merged 6 commits into from
Jul 15, 2016
Merged

Keyboard Maestro Version #14

merged 6 commits into from
Jul 15, 2016

Conversation

rael9
Copy link
Contributor

@rael9 rael9 commented Jul 12, 2016

I've added a Keyboard Maestro 6 macro version of the emoji substitution, which works in Chrome, and should work pretty much anywhere, as long as you have/use Keyboard Maestro.

@warpling
Copy link
Owner

This is rad @rael9! Mind adding the emoji in the latest commit before we merge?

If you created this with a script it'd be fantastic to have that hosted somewhere (See @lumaxis's Alfred port in #16) so updates can be made easily in the future.

I'm also very open to ideas on how we can best organize these different substitution files!

@rael9
Copy link
Contributor Author

rael9 commented Jul 13, 2016

Sure can! I didn't use a script, but I was literally just about to create one for that very reason. You read my mind 😄

@rael9
Copy link
Contributor Author

rael9 commented Jul 14, 2016

@warpling The emoji are up-to-date, and I added a python script to keep things up to date. Just need to run 'python update-km.py' while in the scripts directory.

@rael9
Copy link
Contributor Author

rael9 commented Jul 15, 2016

@warpling I have updated the script so that it can be used for other formats as well. If other formats are needed, they can be added to the settings.json file in the scripts folder with a name (which corresponds to the filename) and a data_format (which uses the {placeholder} and {emoji} placeholders to designate where those values go. Then a template can be added to the templates folder with a {0} where the data should go that has the same filename with .template at the end. Run the script, and all of the files are generated 😄

Let me know what you think.

@warpling
Copy link
Owner

This is fantastic! Thank you so much @rael9!!

@warpling warpling merged commit 9bcbb39 into warpling:master Jul 15, 2016
@valrus valrus mentioned this pull request Mar 12, 2017
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

Successfully merging this pull request may close these issues.

2 participants