自定义 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
发布数5
最新版本名称2024.1 (发布于 )
第一版名称2020.1 (发布于 )
创建于2015-07-31 08:48:03
推送于2024-04-05 16:26:10
最后一次提交2024-04-05 17:23:24
星数3.6k
关注者数85
派生数452
提交数56
已启用问题?
问题数42
打开的问题数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'
去到顶部