2019年9月12日木曜日

一行編集でWebブックマークを開く



各行によく行くサイトのurlを書いたテキストファイルをPPxフォルダに用意する。
正規表現でurlを抽出し、実行する。

web.txt

http://hoehoetukasa.blogspot.com ほえほえ日記
https://twitter.com/ twitter
https://egg.5ch.net/test/read.cgi/software/1476708638 スレ
http://xopstukasa.blogspot.com/

以下を実行。

*start %*regexp("%*input("" -title:"Webブックマーク" -mode:e -k %%:
 *completelist /set /list /file:"%0web.txt")","s@(https?://[\w/:%#\$&\?\(\)~\.=\+\-]+)(.*)@$1@")

0 件のコメント:

コメントを投稿