16
edits
("The Basics" was done.) |
(the email command was done.) |
||
| Line 189: | Line 189: | ||
You could have achieved the same thing by typing "define aglet"—or just "def aglet", or even "def this". (Ubiquity understands "this" to refer to the selection.) | You could have achieved the same thing by typing "define aglet"—or just "def aglet", or even "def this". (Ubiquity understands "this" to refer to the selection.) | ||
--> | --> | ||
== | = 更なるコマンドの例 = | ||
== Email == | |||
現在、 email コマンドは [http://mail.google.com Google Mail] を利用しています。この事は、次のパートのチュートリアルを進めるために、GMail のアカウントが必要になる事を意味します。もちろん、[http://www.mozilla.com/en-US/thunderbird/ Thunderbird] のように、このコマンドも最終的にはあらゆる Web ベースの email プロバイダに対応するべきです (もしもあなたがプログラマーなら、[http://groups.google.com/group/ubiquity-firefox これに関して手助けしていただけると幸いです])。GMail のアカウントをお持ちならば、ログインしている事を確認してください。お持ちでなければ、本パートはスキップしていただいても構いません。 | |||
<!-- | |||
Right now, the email command uses [http://mail.google.com Google Mail]. That means you'll only be able to follow along with the next part of the tutorial if you have a GMail account. Eventually, of course, the command should work with all major web-based email providers, as well as applications like [http://www.mozilla.com/en-US/thunderbird/ Thunderbird]. (If you're a programmer, [http://groups.google.com/group/ubiquity-firefox we'd love some help with that].) For now, if you have a GMail account, please make sure you're logged in. If you don't, you might want to skip ahead to the next part of the tutorial. | Right now, the email command uses [http://mail.google.com Google Mail]. That means you'll only be able to follow along with the next part of the tutorial if you have a GMail account. Eventually, of course, the command should work with all major web-based email providers, as well as applications like [http://www.mozilla.com/en-US/thunderbird/ Thunderbird]. (If you're a programmer, [http://groups.google.com/group/ubiquity-firefox we'd love some help with that].) For now, if you have a GMail account, please make sure you're logged in. If you don't, you might want to skip ahead to the next part of the tutorial. | ||
--> | |||
GMail にログインしている状態で、 "email" を発行してください。入力候補に、 "Email (message) (to contact)" と表示されます。 | |||
<!-- | |||
Assuming you're logged into your GMail account, issue "email". In the suggestion list, you'll see a suggestion that says "Email (message) (to contact)". | Assuming you're logged into your GMail account, issue "email". In the suggestion list, you'll see a suggestion that says "Email (message) (to contact)". | ||
--> | |||
http://www.toolness.com/images/20080819160313.jpg | http://www.toolness.com/images/20080819160313.jpg | ||
このことは、Email コマンドが二つの情報を期待している事を示す手がかりとなります。"message" とは'''何を'''メールするか、そして "contact" とは'''誰に'''送るかを示します。また、これらの情報のうちどちらかを省略しても、 Email コマンドは動作します。例を示します。 | |||
<!-- | |||
This is a clue that the Email command expects two pieces of information: the message is <b>what</b> you're emailing, and the contact is <b>who</b> you want to send it to. However, you can leave out one of these things — or both of them — and the Email command will still work. So I can issue any of these commands: | This is a clue that the Email command expects two pieces of information: the message is <b>what</b> you're emailing, and the contact is <b>who</b> you want to send it to. However, you can leave out one of these things — or both of them — and the Email command will still work. So I can issue any of these commands: | ||
--> | |||
* "email hello" | * "email hello" | ||
| Line 207: | Line 216: | ||
* "email to chris hello" | * "email to chris hello" | ||
"Chris" の名前を使ったのは、筆者の GMail の連絡先に彼が登録されているからです。あなたの連絡先に "Chris" の名前が無いなら、連絡先に登録されている、誰か別の友人の名前を使って例のコマンドを差し替えてください。 | |||
<!-- | |||
I'm using "chris" because that's the name of someone in my GMail contacts list. If you don't have a "chris" in your contacts list, just substitute the name of any of your friends in these examples. | I'm using "chris" because that's the name of someone in my GMail contacts list. If you don't have a "chris" in your contacts list, just substitute the name of any of your friends in these examples. | ||
--> | |||
筆者が面白い Web ページを見つけて、それをクリスに送りたいと考えたとします。筆者は、 "email this to chris" を発行する事によって、リンクや画像、その他諸々を含むページの一部を選択することが出来ます。Ubiquity は "this" を選択範囲であると判断します ("email it to chris" とも、 "email selection to chris" とも出来ます。これらは全て同じ意味です)。選択された部分はプレビューに表示されます。 | |||
<!-- | |||
Let's say I've found an interesting fact on a web page and I want to send it to Chris. I can select part of the page, including links, pictures, and anything else, and then issue "email this to chris". Ubiquity understands "this" to refer to my selection. (I could also have said "email it to chris" or "email selection to chris" -- all of these are equivalent.) The selected part of the page shows up in my preview: | Let's say I've found an interesting fact on a web page and I want to send it to Chris. I can select part of the page, including links, pictures, and anything else, and then issue "email this to chris". Ubiquity understands "this" to refer to my selection. (I could also have said "email it to chris" or "email selection to chris" -- all of these are equivalent.) The selected part of the page shows up in my preview: | ||
--> | |||
[[Image:Email-picture-selection.png]] | [[Image:Email-picture-selection.png]] | ||
(メールアドレスの部分はぼかしを入れてあります。) 筆者の GMail の連絡先にはクリスと言う名前が複数存在するので、入力候補には複数表示されています。下矢印を押してどのクリスにメールを送るか選択し、Enter キーを叩いてみます。 | |||
<!-- | |||
(Actual email addresses blurred out to protect the innocent.) Since I know several people named Chris, there are several lines in the suggestion list -- one each Chris in my GMail contacts list. I can arrow-key down to the Chris I want and then hit the Enter key. | (Actual email addresses blurred out to protect the innocent.) Since I know several people named Chris, there are several lines in the suggestion list -- one each Chris in my GMail contacts list. I can arrow-key down to the Chris I want and then hit the Enter key. | ||
--> | |||
"メールを作成" の画面にジャンプしました。先程選択したページの一部は、email の本文に再現され、"To" には先程選択したメールアドレスが挿入されており、件名には先程のページのタイトルが設定されています。"送信" ボタンを押す前に、何か付け加えたい事があれば、ここで自由に編集できます。 | |||
<!-- | |||
I'm taken to the GMail "compose new email" page. The chunk of the page that I selected is reproduced in the body of my email, the "to" field is filled with the email address I selected, and the "subject" field contains the title of the web page I was on. I can now edit this email to add anything else I want to say, before clicking "Send". | I'm taken to the GMail "compose new email" page. The chunk of the page that I selected is reproduced in the body of my email, the "to" field is filled with the email address I selected, and the "subject" field contains the title of the web page I was on. I can now edit this email to add anything else I want to say, before clicking "Send". | ||
--> | |||
<!-- | |||
== The Map command == | == The Map command == | ||
edits