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().

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:
When the input string is tokenizable you'll be prompted with different output options for your data:
Select any output format and the generated text will be copied to the clipboard and pasted in the front most app.

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


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



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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...