Jump to content

Text Tokenizer Workflow for Alfred app


Recommended Posts

Text Tokenizer Workflow for Alfred app

Workflow for tokenizing different text value input, and converting them back to a string with multiple syntaxes. It was basically thought as a text exapander to convert space separated works into quoted comma separated values, to use in different languages, mostly because of envy of Ruby's array notation %w().

Usage
Type the keyword tokenizer, followed by a space and then a list of space, comma, semicolon, tab or newline separated values. You can also paste from the clipboard here, which is the only way of inserting tabs or newlines. As long as the input string is not tokenizable, you'll see:
no-results.png
When the input string is tokenizable you'll be prompted with different output options for your data:
tokenize.png
Select any output format and the generated text will be copied to the clipboard and pasted in the front most app.

Installation
For OS X 10.9 Mavericks, Download the alfred-text-tokenizer.alfredworkflow and import to Alfred 2.
For Previous OS X Versions, Download the alfred-text-tokenizer.alfredworkflow and import to Alfred 2.

Source Code
Clone or Fork the Workflow: alfred-text-tokenizer-workflow.alfredworkflow

Changelog

  • 2014-01-29 - Released
Edited by Ramiro Araujo
Link to post
  • 4 years later...

Hello,

 

Tokenizer is not working with High Sierra.

 

[2018-06-22 08:08:20][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- alfred (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./feedback.rb:5:in `<main>'

 

Any suggestions on how to fix it?

 

Thank you!

Link to post
  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...