safariで開く.~@o.applescript

来自「Mac OS X 平台一文本编辑器的源代码」· APPLESCRIPT 代码 · 共 13 行

APPLESCRIPT
13
字号
(* written by nakamuxu. 2005.03.15 *)--tell application "CotEditor"	if exists front document then		set thePath to path of front document as Unicode text		if (thePath is not "") then			tell application "Safari"				activate				open location "file://" & thePath			end tell		end if	end ifend tell

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?