随笔分类 - mac
摘要:```bash .config/powershell/Microsoft.PowerShell_profile.ps1 ``` ```bash .tmux.conf ``` ```bash .zshrc ```
阅读全文
posted @ 2023-09-04 19:06
fndefbwefsowpvqfx
摘要: ) as integer if (randNumber > 10) then display dialog randNumber end
阅读全文
posted @ 2023-04-10 19:05
fndefbwefsowpvqfx
摘要: 
阅读全文
posted @ 2023-04-07 16:08
fndefbwefsowpvqfx
摘要:https://en.wikipedia.org/wiki/AppleScript display dialog "Hello, world!" -- a modal window with "OK" and "Cancel" buttons -- or display alert "Hello,
阅读全文
posted @ 2023-04-07 15:55
fndefbwefsowpvqfx
摘要:https://eastmanreference.com/complete-list-of-applescript-key-codes tell application "System Events" key code 49 end tell Play: tell application "iTun
阅读全文
posted @ 2023-04-07 12:38
fndefbwefsowpvqfx
摘要:#!/bin/bash osascript <<EOD tell application "Finder" if (get count of windows) ≥ 3 then activate set visible to true activate else make new Finder wi
阅读全文
posted @ 2023-04-07 10:56
fndefbwefsowpvqfx
摘要:display notification "message" with title "title" subtitle "subtitle" display notification "message" sound name "Sound Name" Valid sound names are the
阅读全文
posted @ 2023-04-06 18:45
fndefbwefsowpvqfx
摘要:#!/bin/bash osascript <<EOD tell application "Finder" if (get count of windows) ≥ 2 then close (get every window whose index is not 1) end if end tell
阅读全文
posted @ 2023-04-06 18:32
fndefbwefsowpvqfx
摘要:  
浙公网安备 33010602011771号