http://wakabamac.blog95.fc2.com/blog-entry-518.html
Quicksilver : ¥é¥ó¥Á¥ã+¥·¥¹¥Æ¥à¤Î°ìÉô¤Î¤è¤¦¤ÊÁí¹ç¥æ¡¼¥Æ¥£¥ê¥Æ¥£
Á°¤Îµ»ö¡ØHelp Search¡Ù¤Î¤è¤¦¤Ë¡¢Quicksilver ¤Ç¤Ï AppleScript ¤ò»È¤Ã¤ÆÆÈ¼«¤ÎAction¤òºî¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¥Æ¥¥¹¥È¤ò°·¤¦Action¤Î AppleScript ¤Î¤Ò¤Ê·Á¤¬
¡Øquicksilver:creations:applescript_get_text_from_quicksilver [docs]¡Ù
¤Ë¸ø³«¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¢¦ ScriptEditor ¤Ç³«¤¯
using terms from application "Quicksilver"
on process text theString
--insert commands here:
display dialog theString
end process text
end using terms from
¤³¤ì¤Î¡Ö
--insert commands here:¡×¤Î¤È¤³¤í¤Ë¥³¥Þ¥ó¥É¤òÆþ¤ì¤ì¤Ð¡¢¥Æ¥¥¹¥È¤ò°·¤¦Action¤¬ºî¤ì¤Þ¤¹¡£
¤³¤ì¤ò¥¹¥¯¥ê¥×¥È¥¨¥Ç¥£¥¿¤Ç¡Ö¡û¡û¡û.scpt¡×¤È¤«Å¬Åö¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¼¡¤Î¾ì½ê¤ËÊݸ¤·¤Þ¤¹¡£
~/Library/Application Support/Quicksilver/Actions
¡Ê¢¨¡ÖActions¡×¥Õ¥©¥ë¥À¤¬¤Ê¤¤¾ì¹ç¤Ïºî¤ë¡Ë
¤³¤ì¤Ç Quicksilver ¤òºÆµ¯Æ°¤¹¤ë¤È¡¢¤³¤Î¥¹¥¯¥ê¥×¥È¤òAction¤È¤·¤Æ»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¡Ú ¼½ñ.app¤Çñ¸ì¤òÄ´¤Ù¤ë Action ¡Û
¡Øhow to use Dictionary Plugin - Blacktree: Quicksilver | Google ¥°¥ë¡¼¥×¡Ù
¤Ë·ÇºÜ¤µ¤ì¤Æ¤¤¤¿¤â¤Î¡¢¤½¤Î¤Þ¤Þ¤ÎAppleScript¤Ç¤¹¡£
¤³¤ì¤Ï Quicksilver ¤ÇÆþÎϤ·¤¿¥Æ¥¥¹¥È¤ò ¼½ñ.app ¤ÇÄ´¤Ù¤ë°Ù¤Î¤â¤Î¤Ç¤¹¡£
¢¦ ScriptEditor ¤Ç³«¤¯
using terms from application "Quicksilver"
on process text lookup
tell application "Dictionary" to activate
tell application "System Events" to tell process "Dictionary"
keystroke "f" using {command down, option down}
keystroke "a" using command down
keystroke lookup
keystroke return
end tell
end process text
end using terms from
¢¨¤³¤Î¥¹¥¯¥ê¥×¥È¤Ï ¥·¥¹¥Æ¥à´Ä¶ÀßÄê¤Î¡Ö¥æ¥Ë¥Ð¡¼¥µ¥ë¥¢¥¯¥»¥¹¡×¥Ñ¥Í¥ë¤Ç
¡ÖÊä½õÁõÃ֤˥¢¥¯¥»¥¹¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¡×¤Ë¥Á¥§¥Ã¥¯¤òÆþ¤ì¤Ê¤¤¤Èµ¡Ç½¤·¤Þ¤»¤ó¡£
¤³¤ì¤ò¥¹¥¯¥ê¥×¥È¥¨¥Ç¥£¥¿¤Ç¡ÖLookUp Word.scpt¡×¤È¤«Å¬Åö¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¼¡¤Î¾ì½ê¤ËÊݸ¤·¤Þ¤¹¡£
~/Library/Application Support/Quicksilver/Actions
¡Ê¢¨¡ÖActions¡×¥Õ¥©¥ë¥À¤¬¤Ê¤¤¾ì¹ç¤Ïºî¤ë¡Ë
¤³¤ì¤Ç Quicksilver ¤òºÆµ¯Æ°¤¹¤ë¤È ¤³¤Î¥¹¥¯¥ê¥×¥È¤òAction¤È¤·¤Æ»È¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
1stPane¤Ë¥Æ¥¥¹¥È¥â¡¼¥É¤Çʸ»ú¤òÆþÎϤ·¤Æ¡¢2ndPane¤ÇÀèÄø¤Î¡ÖLookUp Word¡×¤ÎAction¤òÁªÂò¤·¤Æ¼Â¹Ô¤·¤Þ¤¹¡£
¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë¤Ë¥«¥¹¥¿¥à¥¢¥¤¥³¥ó¤òŽÉÕ¤±¤ë¤È¡¢¤½¤ì¤Ê¤ê¤Ë¸«¤¨¤Þ¤¹¡£
Services Menu Module ¤Ç¡ÖLook Up in Dictionary¡×Action¤ÈƱ¤¸¤Ç¤¹¤¬¡¢¥µ¡¼¥Ó¥¹¥á¥Ë¥å¡¼¤ò²ð¤µ¤Ê¤¤Ê¬¡¢¤³¤Á¤é¤ÎÊý¤¬Áᤤ¤Ç¤¹¡£
¤Þ¤¿¡¢¡ÖProcess Text...¡×Action¤ò»È¤¨¤Ð¡¢ActionÍѤ˺î¤Ã¤¿AppleAcript¤ò Object ¤È¤·¤Æ°·¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¤³¤ì¤òº¸¤Î¤è¤¦¤ËTriggerÅÐÏ¿¤¹¤ë¤È¡¢¼½ñ¤ÇÄ´¤Ù¤â¤Î¤ò¤¹¤ë¤È¤¤ËÊØÍø¤Ç¤¹¡£
¡¦Object¡ÖLookUp Word.scpt¡×
¡¦Action¡ÖProcess Text...¡×
¡¦Arugument¡Ö¥Ö¥é¥ó¥¯¡×
¢¨command+X ¤Ç¥«¥Ã¥È¤·¤Æ¡Ö¥Ö¥é¥ó¥¯¡×¤Ë¤Ç¤¤ë
¤³¤Î»È¤¤Êý¤ò¤¹¤ë¤È¤¤Ï¥¹¥¯¥ê¥×¥È¤Î
¡Ö
keystroke return¡×¤ò̵¸ú¤Ë¤¹¤ë¤«¡Ödelay¡×¤ÇÄ´À°¤·¤¿Êý¤¬¤¤¤¤¤«¤â¡£
¤¿¤À¡¢¤³¤Î¥¹¥¯¥ê¥×¥È¤Ïñ¸ì¤ò¡Ö
keystroke¡×¤ÇÆþÎϤ·¤Æ¤¤¤ë¤Î¤Ç¡¢ÆüËܸ줬»È¤¨¤Þ¤»¤ó¡£Íפ¹¤ë¤Ë±Ñϼŵ¤Î¤ß¡£
¤À¤«¤é¡¢¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤ò²ð¤·¤ÆÆüËܸì¤â»È¤¨¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£
¢¦ ScriptEditor ¤Ç³«¤¯
using terms from application "Quicksilver"
on process text lookup
set the clipboard to lookup
tell application "Dictionary" to activate
tell application "System Events" to tell process "Dictionary"
keystroke "f" using {command down, option down}
keystroke "a" using command down
keystroke "v" using command down
--keystroke return
end tell
end process text
end using terms from
¤³¤ì¤â´Ä¶¤Ë¤è¤Ã¤Æ¤Ï¡Ö
delay¡×¤Ê¤É¤ÇÄ´À°¤·¤¿Êý¤¬¤¤¤¤¤«¤â¡£
¡Ú Quicksilver¤ÇÆþÎϤ·¤¿¥Æ¥¥¹¥È¤òGrowl¤Çɽ¼¨¤µ¤»¤ë Action ¡Û
¼«Ê¬¤Ç¤â°ì¤ÄAction¤òºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
Quicksilver ¤Î¥Æ¥¥¹¥È¥â¡¼¥É¤ÇÆþÎϤ·¤¿¤â¤Î¤ò Growl ¤Çɽ¼¨¤µ¤»¤ë¤â¤Î¤Ç¤¹¡£
¢¦ ScriptEditor ¤Ç³«¤¯
(* Send to Growl *)
using terms from application "Quicksilver"
on process text Growl_description_QS
tell application "GrowlHelperApp"
-- °ìÅÙ¤³¤Î¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Æ Growl¤ËÅÐÏ¿¤µ¤ì¤¿¸å¤Ë
-- ¤³¤Î²¼¤Î¹Ô2¥«½ê¤ÎƬ¤Î¡Ö--¡×¤òºï½ü¤·¤ÆÊݸ¤·Ä¾¤·¤Æ²¼¤µ¤¤
-- (* ¤³¤Î¹Ô¤ÎƬ¤òºï½ü
set the allNotificationsList to {"Message from Quicksilver"}
set the enabledNotificationsList to {"Message from Quicksilver"}
register as application Žâ
"Send to Growl from QS" all notifications allNotificationsList Žâ
default notifications enabledNotificationsList Žâ
icon of application "Quicksilver"
-- ¤³¤Î¹Ô¤ÎƬ¤Î¤òºï½ü *)
-- Send a Notification...
notify with name Žâ
"Message from Quicksilver" title Žâ
"Message from Quicksilver" description Žâ
Growl_description_QS application name "Send to Growl from QS"
end tell
end process text
end using terms from
¢¨°ìÅÙ¤³¤Î¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤ÆGrowl¤Ë¡ÖSend to Grwol from QS¡×¤È¤¤¤¦¤â¤Î¤¬ÅÐÏ¿¤µ¤ì¤ì¤Ð¡¢¥¹¥¯¥ê¥×¥ÈÃæ¤ÎGrowlÅÐÏ¿Éôʬ¤ÏɬÍפʤ¯¤Ê¤ê¤Þ¤¹¡£
Ê̤ˤ¢¤Ã¤Æ¤â¹½¤ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢µ¤¤Ë¤Ê¤ë¿Í¤Ï¾åµ¤Î¡Ö--¡×2¥«½ê¤òºï½ü¤·¤Æ¡¢¥³¥Þ¥ó¥É¤ò¥³¥á¥ó¥È¤ËÊÑ´¹¤¹¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£
¤³¤ì¤ò¡ÖSend to Grwol.scpt¡×¤È¤«Å¬Åö¤Ê̾Á°¤ÇÊݸ¤·¤Æ Quicksilver ¤Ç¼Â¹Ô¤·¤Æ¤ß¤ë¤È¤³¤ó¤Ê´¶¤¸¤Ç¤¹¡£
1stPane¤ÇÆþÎϤ·¤¿¥Æ¥¥¹¥È¤¬Growl¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£
»È¤¤Æ»¤È¤·¤Æ¤Ï¡¢¡ÖRun at Time...¡×Action¤Ê¤É¤Ç¥ê¥Þ¥¤¥ó¥À¤È¤·¤Æ»ÈÍѤ¹¤ë¤È¤¤Ë¡¢¤³¤ì¤ò»È¤Ã¤ÆGrowlɽ¼¨¤µ¤»¤ë¤ÈµÈ¤Ç¤¹¡£
¤³¤ì¤ò°ìÅټ¹Ԥ¹¤ë¤È¡¢Growl¤Î´Ä¶ÀßÄê¥Ñ¥Í¥ë¤Î¡Ö¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡×¥¿¥Ö¤Ë
¡ÖSend to Grwol from QS¡×¤È¤¤¤¦¤â¤Î¤¬Äɲ䵤ì¤Þ¤¹¡£
¤³¤³¤ÇGrowl¤Îɽ¼¨ÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
¡Ú ¥ê¥ó¥¯¤Î̵¤¤URL¤ò³«¤¯ Action ¡Û
¡Ø¡ü¥¢¥Ã¥×¥ë¥¹¥¯¥ê¥×¥È¡¡¤½¤Î1 (web´ØÏ¢)¡Ù
¤Î¡Ö¼«Æ°¥ê¥ó¥¯¤Ë¤Ê¤Ã¤Æ¤Ê¤¤URL¤ättp://¡¢www¤Ê¤É¤Ç»Ï¤Þ¤Ã¤Æ¤ëURL¤òÁªÂò¤·¤Æ³«¤¯¥¹¥¯¥ê¥×¥È¡×¤ò»²¹Í¤Ë¤·¤Þ¤·¤¿¡£
¡Ê»²¹Í¤Ë¤·¤¿¤È¸À¤¦¤è¤ê¡¢¼çÍפÊÉôʬ¤ò¥³¥Ô¥Ú¤·¤¿¤À¤±¤Ç¤¹¡£¡Ë
¢¦ ScriptEditor ¤Ç³«¤¯
(* Open Unlinked URL *)
using terms from application "Quicksilver"
on process text surl
if surl contains return then set surl to do shell script "echo " & quoted form of surl & " | sed s/" & return & "//g"
if surl contains " " then set surl to do shell script "echo " & quoted form of surl & " | sed s/" & quoted form of " " & "//g"
if surl contains "://" then
set AppleScript's text item delimiters to "://"
set surl to "http://" & text item 2 of surl
else
set surl to "http://" & surl
end if
tell application "System Events" to open location surl
end process text
end using terms from
¤³¤ì¤ò¡ÖOpen Unlinkded URL.scpt¡×¤È¤«¤ÎŬÅö¤Ê̾Á°¤Ç
~/Library/Application Support/Quicksilver/Actions
¤ËÊݸ¤·¤Þ¤¹¡£
»È¤¤Êý¤Ï¡¢Î㤨¤Ð ²¼¤Î¤è¤¦¤Ê¡Öh¡×¤¬È´¤±¤Æ¤ëURL¤¬¤¢¤Ã¤¿¤È¤·¤Þ¤¹¡£
ttp://www.apple.com/jp/
¤³¤ì¤òÁªÂò¤·¤Æ¡¢⌘ command + ⎋ esc ¤Ê¤É¤Ç Quicksilver ¤Ëɽ¼¨¤µ¤»¤Þ¤¹¡£
¤³¤ì¤Ç2ndPane¤ÇÀèÄøÊݸ¤·¤¿¡ÖOpen Unlinkded URL¡×¤òAction¤ËÁªÂò¤·¤Æ¼Â¹Ô¤¹¤ì¤Ð¡¢Web¥Ö¥é¥¦¥¶¤Ç¤½¤Î¥Ú¡¼¥¸¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¤Á¤Ê¤ß¤Ë¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤´°Á´¤ÊURL¥¢¥É¥ì¥¹¤Î¾ì¹ç
http://www.apple.com/jp/
¤³¤ì¤À¤È ⌘ command + ⎋ esc ¤Ê¤É¤Ç Quicksilver ¤Ëɽ¼¨¤µ¤»¤Æ¡¢
ÉáÄ̤ΡÖOpen URL¡×Action¤Ç¡¢¤½¤Î¥Ú¡¼¥¸¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¡Ú ¤½¤Î¾¤ÎAppleScript¤Çºî¤é¤ì¤¿ Action ¡Û
¤¤¤í¤ó¤Ê¤È¤³¤í¤Ç Quicksilver ¤ÎAction¤È¤·¤Æ»È¤¨¤ë AppleScript ¤¬¸ø³«¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
▶ Bwana ¤Ç man¥Ú¡¼¥¸ ¤ò³«¤¯ Action
Thing collar Bu log¤µ¤ó ¤Î¡ØBwana + Quicksilver¡Ù¤è¤ê¡£
UNIX¤Î¡Öman¡×¥Ú¡¼¥¸¤òSafari¤Çɽ¼¨¤¹¤ë¡ÖBwana¡×¤ò Quicksilver ¤ÇÁàºî¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë AppleScript ¤Ç¤¹¡£
¤³¤ì¤ò¾åµ¤Î¥ê¥ó¥¯Àè¥Ú¡¼¥¸¤Ç¡¢¥¹¥¯¥ê¥×¥È¥¨¥Ç¥£¥¿¤Ë¥³¥Ô¥Ú¤·¤Æ
¡ÖShow_Bwana.scpt¡×¤È¤«Å¬Åö¤Ê̾Á°¤ÇÊݸ¤·¤Þ¤¹¡£
¤³¤ì¤ò»È¤¨¤Ð¡¢Quicksilver ¤ÇUNIX¤Î¥³¥Þ¥ó¥É¤ò¸¡º÷¤Ç¤¤Þ¤¹¡£
▶ EasyFind ¤Ç¸¡º÷¤¹¤ë Action
¥Õ¥¡¥¤¥ë¸¡º÷¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡ÖEasyFind¡×¤ò»È¤Ã¤Æ¡¢Quicksilver ¤Î1stPane¤ËÆþÎϤ·¤¿¥Æ¥¥¹¥È¤ò¸¡º÷¸ì¶ç¤È¤·¤Æ¥Õ¥¡¥¤¥ë¸¡º÷¤Ç¤¤Þ¤¹¡£
¥¹¥¯¥ê¥×¥È¤Î¥½¡¼¥¹¤Ï
¡ØQuick search with Quicksilver and EasyFind¡Ù
¤³¤³¤Ç¥³¥Ô¥Ú¤·¤Æ¡ÖSearch(EasyFind).scpt¡×¤È¤«¤ÎŬÅö¤Ê̾Á°¤ÇÊݸ¤·¤Þ¤¹¡£
¤³¤ì¤ò¼Â¹Ô¤¹¤ë¤È¡¢1stPane¤ËÆþÎϤ·¤¿¥Æ¥¥¹¥È¤Ç EasyFind ¤Ç¸¡º÷¤·¤Þ¤¹¡£
¸¡º÷¤¹¤ë¾ì½ê¡Ê¥Õ¥©¥ë¥À¡Ë¤Ï¡¢¤½¤ì°ÊÁ°¤ËÀßÄꤷ¤Æ¤¤¤¿¾ì½ê¤Ë¤Ê¤ê¤Þ¤¹¡£
¥¹¥¯¥ê¥×¥È¤Î¥³¥á¥ó¥È¹Ô¤òÊÔ½¸¤¹¤ì¤Ð¡¢¸¡º÷Âоݤò¡Ö¥Õ¥¡¥¤¥ë¤È¥Õ¥©¥ë¥À¡×¡Ö¥Õ¥¡¥¤¥ë¤Î¤ß¡×¡Ö¥Õ¥©¥ë¥À¤Î¤ß¡×¡Ö¥Õ¥¡¥¤¥ë¥³¥ó¥Æ¥ó¥Ä¡×¤Î¤É¤ì¤«ÁªÂò¤Ç¤¤Þ¤¹¡£
¤³¤Îµ»ö¤Ç¤Ï Quicksilver B55 ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£
¡Ê´ØÏ¢µ»ö¡Ë
Quicksilver/ AppleScript ¤Ç Action ¤òºî¤ë¡Ê1¡Ë
Quicksilver/ AppleScript ¤Ç Action ¤òºî¤ë¡Ê2¡Ë
Quicksilver/ AppleScript ¤Ç Action ¤òºî¤ë¡Ê3¡Ë
Quicksilver --- ´ðËÜŪ¤Ê³µÎ¬ÀâÌÀ
Quicksilver/ ´ðËÜŪ¤Ê»ÈÍÑÎã
Quicksilver/ Catalog¤ÎÀßÄê
Quicksilver/ Action¤Ë¤Ä¤¤¤Æ¡Ê1¡Ë
Quicksilver/ Action¤Ë¤Ä¤¤¤Æ¡Ê2¡Ë
Quicksilver/ Action¤Ë¤Ä¤¤¤Æ¡Ê3¡Ë
Quicksilver/ Action¤Ë¤Ä¤¤¤Æ¡Ê4¡Ë- Command Objects
Quicksilver/ Triggers ¤ÎÀâÌÀ¡Ê1¡Ë
Quicksilver/ Triggers ¤ÎÀâÌÀ¡Ê2¡Ë
Quicksilver/ Plug-ins ¤Ë¤Ä¤¤¤Æ
Quicksilver/ Proxy Objects ¤Ë¤Ä¤¤¤Æ
Quicksilver/ Triggers ¤ÎÀâÌÀ¡Ê3¡Ë- Mouse Triggers
Quicksilver/ Triggers ¤ÎÀâÌÀ¡Ê4¡Ë- Abracadabra Triggers
Quicksilver/ ¥·¥ç¡¼¥È¥«¥Ã¥È¤Þ¤È¤á
¤¹¤Ù¤Æ¤ÎQuicksilverµ»ö¤Î¥ê¥ó¥¯¤Ï¡ØQuicksilver¡Ù¤Î¡Ê´ØÏ¢µ»ö¡Ë¤Ë¤¢¤ê¤Þ¤¹¡£
¢¦Æ±¤¸¡Ö¥¿¥°¡×¤¬ÉÕ¤¤¤¿´ØÏ¢µ»ö
trackback URL
