摘要:
set ScriptDir [file normalize [file dirname [info script]]] 阅读全文
摘要:
switch -- [tk windowingsystem] { aqua { set thisPlatform "macosx" } classic { set thisPlatform "macintosh" } win32 { set thisPlatform "windows" } x11 { set thisPlatform "unix" }} 阅读全文