随笔分类 -  mac

摘要:```bash .config/powershell/Microsoft.PowerShell_profile.ps1 ``` ```bash .tmux.conf ``` ```bash .zshrc ``` 阅读全文
posted @ 2023-09-04 19:06 fndefbwefsowpvqfx
摘要:![](https://img2023.cnblogs.com/blog/859364/202309/859364-20230901134342456-1088384759.png) ![](https://img2023.cnblogs.com/blog/859364/202309/859364- 阅读全文
posted @ 2023-09-01 13:46 fndefbwefsowpvqfx
摘要:# Download https://support.apple.com/en-us/HT211683 # Create a bootable installer for macOS Plug in the USB flash drive or other volume that you're us 阅读全文
posted @ 2023-09-01 10:44 fndefbwefsowpvqfx
摘要:https://apple.stackexchange.com/questions/98123/what-is-the-applescript-command-to-show-or-hide-iterm2-window Here are several options (none of them h 阅读全文
posted @ 2023-08-31 19:17 fndefbwefsowpvqfx
摘要:鼠标移动到显示器底部边缘, 轻微移动鼠标 停留2-3s dock 就会移动到相应的显示器 阅读全文
posted @ 2023-04-12 10:34 fndefbwefsowpvqfx
摘要:itunes set myFavs to "Current Favorites" tell application "Script Editor" set currentList to «class cPly» myFavs «event hookAdd » (get «class pLoc» of 阅读全文
posted @ 2023-04-11 11:23 fndefbwefsowpvqfx
摘要:Apple Automator 2009 with AppleScript Bible set randNumber to (random number (20)) as integer if (randNumber > 10) then display dialog randNumber end 阅读全文
posted @ 2023-04-10 19:05 fndefbwefsowpvqfx
摘要:![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230407160744989-1173371410.png) ![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230407160754829-1259590115.png) 阅读全文
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
摘要:![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230404190817904-1936823218.png) ![](https://img2023.cnblogs.com/blog/859364/202304/859364-20230404190823579-752077853.png) ![](https://img20 阅读全文
posted @ 2023-04-04 19:08 fndefbwefsowpvqfx
摘要:https://www.computerhope.com/issues/ch002051.htm In macOS, there are many ways to launch an application. You can click an icon in the Dock or the Laun 阅读全文
posted @ 2023-04-04 18:45 fndefbwefsowpvqfx
摘要:debug Product -> Scheme -> programToTest 找文件 Command + Shift + O Reveal in Project Navigator Command + Shift + J 阅读全文
posted @ 2023-04-04 14:12 fndefbwefsowpvqfx
摘要:1. generate project cmake .. -G Xcode error: error: No CMAKE_C_COMPILER could be found. solu: If you have installed Xcode or Command Line Tools for Xc 阅读全文
posted @ 2023-04-03 15:23 fndefbwefsowpvqfx
摘要:alt key 阅读全文
posted @ 2023-03-31 19:06 fndefbwefsowpvqfx
摘要:homebrew 被墙了的话, 想办法。 tmux rg fzf vim snipaste rsync curl fswatch sftp scp 显示网速 https://github.com/exelban/stats 快捷键 Automator -> quick action System p 阅读全文
posted @ 2022-12-02 09:08 fndefbwefsowpvqfx
摘要:#!/bin/bash osascript <<EOD tell application "Finder" activate make new Finder window to home end tell #!/bin/bash osascript <<EOD set appName to "iTe 阅读全文
posted @ 2019-12-26 18:33 fndefbwefsowpvqfx