Last but not least: Skype! Send messages directly with alfred and call users. You no longer need to use your mouse to chat in skype
Skype needs to be running for this to work. You should receive a warning from skype, that a programm wants to access its data - accept.
Commands: s - autocompletion from skype contact list, then send message. Also displays last received message. sc - autocompletion from skype contact list, call users. snew - the 5 newest messages, simply select one for reply. sr - reply to last user.
There is a Contact Action for using the alfred contacts to call skype, simply create a new Contact Action as described here http://support.alfredapp.com/workflows:config:triggers-contact-action and select "Call Skype", if you have saved skype usernames in your contacts as well, they should work too.
There's also a python equivalent (PyFred) of the PHP Workflows-Script, for those who <3 python over php. Rather use this: No need to reinvent wheels http://www.alfredforum.com/topic/403-alp-a-python-workflow-module/
Requirements:
Alfred, Skype, Python (preinstalled in OSX)
Download: http://d.pr/f/cimZ
Known Issues:
- When you hit enter too fast, a few letters can be cut off. I have optimised what is possible to remedy this, to completely remove it, a feature change in Alfred is necessary. Simple fix, add a space after your message.
Wishlist/TODO: (decreasing importance)
- Filter empty Messages. (i.e. if they contained call information that is filtered already)
- Find user image
- sr without autcomplete
- Display status for the users with icon (maybe, if you know a good way to compose images without using libraries that need installation let me know...)
- Global user search and add - More sanity checks: Was update successful, if it fails, why? etc. - Clean XML replies from Smilies code etc.
- sr - directly reply to last person.
- alt opens the chat window. (can't switch current window, but bring skype to front)
- Call skype # from adress book.
Changelog:
v0.3 (http://d.pr/f/cimZ)
- sr now directly replies, without autocomplete
- fetches all user images completely
- shows user status on search, snew, etc.
- buxfixes for encoding, snew, ...
- more caching, faster response.
v0.2 (http://d.pr/f/FcIO) - Display the history of a chat when replying. - New Command sr, to directly reply to a user. - If you use sc with an unknown username or directly a phone number, it suggests calling as well as updating the friends list. (must have accidentially removed this, will be back.) - Encoding works properly v2 - Open Skype with alt/enter.
v0.1.1 (http://d.pr/f/RGTo) - Skype startup bug removed - More debugging - Encoding works properly - snew for newest messages - Contact Action to allow calling from contacts. v0.1 - Initial release
License: CC BY-SA 3.0 Any feedback or bug reports are highly appreciated!
I just tried to build my first Workflow and it's a password generator:
Just type pwgen 13
(or any other number) to create a n-character password which will be copied to your clipboard and displayed as a notification.
Download
Comments are welcome.
<!--
Sources:
Icon by Svengraph (CC):
http://svengraph.deviantart.com/
http://www.iconfinder.com/icondetails/61825/512/lock_icon
PHP-Code by tylerhall
https://gist.github.com/521810
-->