Do you ever want to count the number of words in a text on your Mac?
Here’s an Automator Workflow to do just that.
This script is available from the context menu as a Mac Services menu, so you can count words anywhere you can select a string.
Features
- No copy needed. Only select and run to get the result.
- Assign a keyboard shortcut as you like.
- Auto-shut off the Word Count result window.
Download and Install
- 1.Download Script
Click the download button below and save the Workflow on your Mac.- Word Count Download
- 2.Install this Workflow to your Mac
Double-click the workflow file to install.
To setup keyboard shortcut
You can map any keyboard shortcut as you like.
Setup Keyboard Shortcut
- 1.
Open System Preferences and go to the Keyboard Setting.
Then select Services in the Shortcuts tab.System Preferences > Keyboard > Keyboard Shortcuts > Services
- 2.
Select “Word Count” and click (or double-click) the blank area on the right.
Now push down the keys you want to use as a shortcut.
How to use
- 1.Select String
Select the text you want to know how many words are in.
- 2-a.Via Context Menu
Use it from context menu “services”.
Control-click (or two-finger tap) to invoke the context menu and select “Word Count” from “services”.or - 2-b.Use Shortcut Keys
Strike the shortcut key you’ve been assigned.
Reference Links
- Apple Scriptによる選択範囲の文字カウント(改行、スペース抜き)について | Apple サポートコミュニティ
- 【DL有り】Macで選択中のテキストの文字数をカウントするスクリプト | くにぽんず☆きちめきパラダイス
コメント