「Firefox」の版間の差分
(→Wiki内の関連ページ) |
(→AppleScript) |
||
行68: | 行68: | ||
-- set the clipboard to "* " & theTitle & return & theURL & return | -- set the clipboard to "* " & theTitle & return & theURL & return | ||
− | **http://homepage.mac.com/kaoru_ari/iblog/C53887262/E19955991/index.html | + | **[http://homepage.mac.com/kaoru_ari/iblog/C53887262/E19955991/index.html Firefox 版アンカータグを作成する AppleScript] |
+ | **[http://forums.macosxhints.com/showthread.php?t=32237 AppleScript and Firefox (getting front URL)] | ||
tell application "Firefox" | tell application "Firefox" |
2008年7月21日 (月) 13:52時点における版
目次
Firefox とは?
Netscape / Mozilla の系譜を継いでいる、 オープンソースのウェブブラウザ。 最新バージョンは 2.0。
詳しくは Wikipedia:Mozilla_Firefox なども参考にして下さい。
ブラウザ上で pdf ファイルを表示させる
Mac OS X 上の Firefox で pdf を表示するには、専用のプラグインが必要です。 以下にその方法を解説します。
PDF Browser Plugin のインストール
Mac OS X 上の Firefox で pdf を表示させるには、PDF Browser Plugin が必要となります。 これは Schubert it (http://www.schubert-it.com/pluginpdf/) から入手します。
以下手順。
- 1. Schubert it (http://www.schubert-it.com/pluginpdf/) から
PDF Browser Plugin をダウンロード。
- 2. ディスクイメージをマウント。
- 3. PDF Browser Plugin を Internet Plug-ins フォルダにコピーします。
注意: このプラグインは、非商用に限り無料で使用できます。商用での利用には、 ライセンスを購入する必要があります。詳細については製品ページを参照してください。
最新バージョンの 2.2.2 の動作には Mac OS X 10.3 以上が必要です。10.2 では 1.2.3 を利用することになります。
また、プラグインの日本語化リソースがE-WA'S BLOG(http://d.hatena.ne.jp/E-WA/20050408/1112931052)にて公開されています。
アクロバットプラグインは使えない
Firefox でアクロバットプラグインは使えません。
単体として表示させるなら Adobe Reader は使用可能ですし、 Apple 標準のマルチビュアーである Preview (プレビュー) を使っても pdf を見ることができます。
Link
参考ページ http://plugindoc.mozdev.org/ja-JP/faqs/acroread.html#install-macosx
ドイツのPDF Browser Pluginの配布元http://www.schubert-it.com/pluginpdf/
firefoxからエディタ等を利用する方法
このリンク先のリンク(MozEx 1.9.5)の情報によると、2.xは対応しているようです。
http://www.cas.cmc.osaka-u.ac.jp/~paoon/OriginalDoc/
AppleScript
- Webページのタイトル等を取得する
tell application "Firefox" set theInfo to properties of front window as list set theTitle to name of front window set theURL to item 3 of theInfo end tell -- set the clipboard to "* " & theTitle & return & theURL & return
tell application "Firefox" set theTitle to name of front window set theURL to «class curl» of front window end tell -- set the clipboard to "* " & theTitle & return & theURL & return
- Webページを開く
set theURL to "http://macwiki.sourceforge.jp/wiki/" tell application "Firefox" -- OpenURL theURL Get URL theURL end tell