自定义 Alfred iTerm 脚本

自定义 Alfred iTerm 脚本。(Custom iTerm Applescripts for Alfred)

Github星跟蹤圖

自定义 Alfred iTerm 脚本

AppleScript 用于 iTerm2 Alfred 集成的AppleScript。

用法

  1. 将脚本复制到剪贴板。
  2. 打开“Alfred首选项”(调用Alfred并按⌘,)。
  3. 导航到 Features → Terminal → Custom。
  4. 将应用程序设置为自定义。
  5. 在框中选择文本。
  6. Paste。
  7. (可选)通过更改顶部的属性行来更改脚本的行为。

复制脚本

要将脚本复制到剪贴板,请运行以下命令。

curl --silent 'https://raw.githubusercontent.com/vitorgalvao/custom-alfred-iterm-scripts/master/custom_iterm_script.applescript' | pbcopy

作者

Vítor Galvão 编写和维护的脚本。基于 Stuart Ryan 的先前版本。

许可

无许可(本质上是公共领域)

主要指標

概覽
名稱與所有者vitorgalvao/custom-alfred-iterm-scripts
主編程語言AppleScript
編程語言AppleScript (語言數: 1)
平台Mac
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2015-07-31 08:48:03
推送於2025-05-07 14:42:00
最后一次提交2025-05-07 15:30:46
發布數5
最新版本名稱2024.1 (發布於 )
第一版名稱2020.1 (發布於 )
用户参与
星數3.8k
關注者數86
派生數456
提交數58
已啟用問題?
問題數44
打開的問題數0
拉請求數14
打開的拉請求數0
關閉的拉請求數11
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

custom-iterm-applescripts-for-alfred

This repository contains custom Applescripts that can be put into the Alfred --> Features --> Terminal --> Custom section to enable the correct operation of iTerm with Alfred.

Unfortunately as many people will know, when iTerm's Applescript functionality changes it can often break integration with Alfred.

Note: Check your iTerm version (iTerm2About iTerm2) and follow the instructions corresponding to your version below.

How to install the scripts

Video instructions

Check out the official YouTube video, it will give you a quick two and a half minute rundown.
ScreenShot

Text instructions

  1. Run one of these terminal commands to copy the Applescript for your iTerm2 version to your clipboard.
  • For 3.1.1:
curl --silent 'https://raw.githubusercontent.com/stuartcryan/custom-iterm-applescripts-for-alfred/master/custom_iterm_script_iterm_3.1.1.applescript'