【egword】エルゴソフ ..
[2ch|▼Menu]
73:中の人
07/10/01 21:43:31 6J8gRX840
>>63さん

いまの処理の流れで入力位置を移動するのは難しいので、
あらかじめURLをコピーしておいて、それでリンクを作ってしまう方法はいかがでしょう。

on make_link(theURL, theText)
set theLink to "<a href=\"" & theURL & "\">" & theText & "</a>"
return theLink
end make_link

on convert_lines(theLines)
set theResult to {}
set theLine to the first item in theLines
set theURL to the clipboard
set theResult to make_link(theURL, theLine)
return theResult
end convert_lines

set theURL to the clipboard の部分でクリップボードから文字列を取得しています。

ご参考まで。


次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

5046日前に更新/103 KB
担当:undef