Skip to content

Commit

Permalink
Update readme and move source code into sub directory
Browse files Browse the repository at this point in the history
  • Loading branch information
allenhsu committed Jun 23, 2014
1 parent 6347ea1 commit be59899
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Created by http://www.gitignore.io

### OSX ###
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
alfred-workflow-hmt
Sogou Haomatong Workflow for Alfred
===================

Alfred workflow to identify a phone number with Sogou Haomatong
It's a simple Alfred workflow to identify a (Chinese) phone number with Sogou Haomatong.


#Install#

Downlaod [packaged workflow](https://github.com/allenhsu/alfred-workflow-hmt/raw/master/Sougou%20Haomatong.alfredworkflow) and open it with Alfred. Everything is setup.

#Usage#
Type in `hmt number` in Alfred to identify a phone number, e.g. `hmt 18818045253`:

![Sample](https://github.com/allenhsu/alfred-workflow-hmt/raw/master/Screenshot.png)
Binary file added Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Sougou Haomatong.alfredworkflow
Binary file not shown.
6 changes: 3 additions & 3 deletions info.plist → Source Code/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ if (strlen($query) > 5) {
echo $w->toxml();
}
} else {
$w->result($query, $query, $query, 'Please input more digits...', 'fileicon:/Applications/Contacts.app');
$w->result($query, $query, $query, 'Input more digits...', 'fileicon:/Applications/Contacts.app');
echo $w->toxml();
}</string>
<key>subtext</key>
<string>Please input a phone number including area code</string>
<string>Input a phone number</string>
<key>title</key>
<string>Identify phone number with Sogou Haomatong</string>
<string>Sogou Haomatong</string>
<key>type</key>
<integer>1</integer>
<key>withspace</key>
Expand Down
File renamed without changes.

0 comments on commit be59899

Please sign in to comment.