LaunchBar action to generate spoken audio files

You may know that macOS comes with a rather powerful text-to-speech system. It’s capable of speaking text in different languages, and can be triggered via keyboard shortcut or the “Speech” context menu.

A lesser-known fact is that it has a command line interface.

Continue reading →

アマゾンのTMG便 (ファイズ) に自動再配達電話をかける

(2017年2月8日 追記 — ウェブ版もできました)

このところアマゾンからの荷物がTMG便/デリバリープロバイダ/PHYZ (ファイズ) という、正式名称もはっきりしない配送業者から来ることが増えてきた。この業者、ウェブサイトにアマゾン客専用の照会・再配達ページがあるにも関わらず、実際に追跡番号を入力してみると「お問い合わせ情報が存在しません」と表示されるだけで、登録されていたためしがない。2016年にもなって、わざわざ電話をかけないと再配達の依頼もできない。

私は自動受付電話が肉声電話の次に嫌いなので、少しでも心労を和らげようと Mac の iPhone通話機能を利用して半自動的に再配達電話をかける AppleScript を書いてしばらく使っている。

Continue reading →

iTunes: 30-second skip podcasts/audiobooks only

Here’s a nice AppleScript I use to rewind or skip 30 seconds in iTunes, but only when the current track is a podcast or audiobook.

This allows you to have a single keyboard shortcut that works as a normal “previous track” key when listening to music, but automatically switches to a 30-second rewind when listening to podcasts, audiobooks, or whatever else you specify.

Continue reading →