カテゴリー別アーカイブ: アプリケーション

[Macアプリ] Pause Control -終了コマンドをスケジュールする-

001

久しぶりにちっさいアプリ作ってみました。
シャットダウン、再起動、スリープ、スクリーンセーバーを時間指定して実行します。
これがあれば「あと10分でネットやめる!」とか「12時に寝なきゃ・・・」ってとき、強制的にやめることができます。
アラートやリマインダー程度じゃネットやめられないぐーたら人間にもってこいですね。

カテゴリー: AppleScript, アプリケーション | コメントをどうぞ

Macの手書き説明書さんのiTunesの歌詞表示スクリプトが超絶カッコよくて便利!!

あまりにまさかすぎて興奮しすぎてつい記事にしちゃいました。
前に作ったQuickLookで歌詞を表示するスクリプト、超便利でカッコいい僕の理想な子になってました。
iTunesで再生中の曲の歌詞をQuick Lookで綺麗に表示する『QuickLook Lyrics』 | Macの手書き説明書

カテゴリー: アプリケーション | タグ: | コメントをどうぞ

AlfredにAmazon.co.jpの検索クエリを追加する

Alfredは標準機能でAmazonから検索できますが、当然のようにAmazon.comです。
日本人用のAmazon.co.jp検索クエリがこれ。

カテゴリー: アプリケーション | タグ: | コメントをどうぞ

Alfred3作目!Evernoteで日記をつけよう、Evernote Diary!

久々にAlfredネタです。
はじめてEvernoteと連携してみました。
下はAlfred Extention本体とAlfred持ってない人用のコード。

Evernote Diary – Alfred Extention

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-- Alfred Extentionのままでサーセン
property nb : ""
 
on alfred_script(q)
	set notetext to q as text
	set t to do shell script "date +'%Y/%m/%d'"
	set timeStr to time string of (current date)
	set AppleScript's text item delimiters to ","
	try
		set tit to text item 1 of notetext
		set txt to text item 2 of notetext
	on error
		set tit to ""
		set txt to text item 1 of notetext
	end try
	set tit to "[" & timeStr & "] " & tit
	set t to t & "の日記"
 
	tell application "Evernote"
		if nb = "" then
			set foundNotes to find notes "intitle:\"" & t & "\""
			set found to ((length of foundNotes) is not 0)
			if not found then
				set curnote to create note with html "" title t
				tell curnote to append html "<h3>" & tit & "</h3>"
				tell curnote to append text txt
				tell curnote to append html ""
			else
				repeat with curnote in foundNotes
					tell curnote to append html "<h3>" & tit & "</h3>"
					tell curnote to append text txt
					tell curnote to append html "<br>"
				end repeat
			end if
		else
			set foundNotes to find notes "notebook:\"" & nb & "\"" & " intitle:\"" & t & "\""
			set found to ((length of foundNotes) is not 0)
			if not found then
				set curnote to create note with html "" title t notebook nb
				tell curnote to append html "<h3>" & tit & "</h3>"
				tell curnote to append text txt
				tell curnote to append html ""
			else
				repeat with curnote in foundNotes
					tell curnote to append html "<h3>" & tit & "</h3>"
					tell curnote to append text txt
					tell curnote to append html "<br>"
				end repeat
			end if
		end if
	end tell
	do shell script "afplay /System/Library/Sounds/Hero.aiff"
end alfred_script

カテゴリー: アプリケーション | タグ: , | コメントをどうぞ

ServiceAppleScriptで右クリックからAppleScript実行 (※Automator不要)

久々に神アプリ発見!!

いつもいろんなアプリを探してますが、今回は神アプリと呼べるアプリを発見しました!
偶然にもMacの手書き説明書さんで紹介されてる、その名もServiceAppleScript。

ServiceAppleScript – AppleScriptを実行するサービスメニュー項目を作るアプリケーション


これを使えばAppleScriptを右クリックのサービス項目から使えます!
このアプリはかなりの需要があるんじゃないでしょうか!

カテゴリー: アプリケーション | タグ: | コメントをどうぞ