更少,但更好(Less, but better) - 因为它关注最重要的部分,甩掉一切无关紧要的累赘。
回归纯粹,回归简单。
5. Good design is aesthetic
“The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.”
The four Clark’s grebe chicks have grown too big to all ride comfortably on their parent’s back, but they still try. Now, there’s often not enough room, so one of them ends up having to swim alongside in the water. 🤣
vs. 万事达卡(Mastercard): 两者均为行业巨头,但Visa在近期股价表现和持续超越盈利预期的稳定性上略占优势。
vs. 金融科技公司(PayPal, Stripe): Visa的策略并非直接竞争,而是赋能与整合。通过开放其网络和技术(如Flex凭证、Tap to Phone),Visa将自身定位为各类支付创新的底层基础设施,实现“网络中的网络”布局,从而在更广泛的数字支付生态中获利。
-- Stickies:用快捷键新建便笺(优先 ⌘N),失败自动回退并校验结果
property RETRY_DELAY : 0.12
-- 激活并等待进程就绪
tell application id "com.apple.Stickies"
launch
activate
end tell
tell application "System Events"
repeat until exists process "Stickies"
delay 0.05
end repeat
tell process "Stickies"
set beforeCount to (count of windows)
end tell
end tell
-- ① 优先:keystroke(对键盘布局友好)
try
tell application "System Events" to keystroke "n" using {command down} -- ⌘N
end try
delay RETRY_DELAY
if my notCreated(beforeCount) then
-- ② 回退:key code(对输入法更稳,物理键位 45=“N”)
tell application "System Events" to key code 45 using {command down}
delay RETRY_DELAY
end if
-- ③ 最后兜底:菜单点击(多语言支持)
if my notCreated(beforeCount) then
tell application "System Events"
tell process "Stickies"
set theMenuBar to menu bar 1
-- 找 File/文件/檔案(多语言)
set fileBarItem to missing value
repeat with nm in {"File", "文件", "檔案"}
try
set fileBarItem to menu bar item (nm as text) of theMenuBar
exit repeat
end try
end repeat
if fileBarItem is missing value then set fileBarItem to menu bar item 2 of theMenuBar
-- 打开菜单并点击 New Note/新建便笺/新增便條
perform action "AXPress" of fileBarItem
delay 0.05
set fileMenu to menu 1 of fileBarItem
set newItem to missing value
repeat with nm in {"New Note", "新建便笺", "新增便條", "新增便箋"}
try
set newItem to menu item (nm as text) of fileMenu
exit repeat
end try
end repeat
if newItem is missing value then set newItem to menu item 1 of fileMenu
perform action "AXPress" of newItem
end tell
end tell
end if
on notCreated(beforeCount)
try
tell application "System Events" to tell process "Stickies" to set afterCount to (count of windows)
return not (afterCount > beforeCount)
on error
return true
end try
end notCreated