自定义 Alfred iTerm 脚本

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

Github stars Tracking Chart

自定义 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 的先前版本。

许可

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

Overview

Name With Ownervitorgalvao/custom-alfred-iterm-scripts
Primary LanguageAppleScript
Program languageAppleScript (Language Count: 1)
PlatformMac
License:BSD 3-Clause "New" or "Revised" License
Release Count5
Last Release Name2024.1 (Posted on )
First Release Name2020.1 (Posted on )
Created At2015-07-31 08:48:03
Pushed At2024-04-05 16:26:10
Last Commit At2024-04-05 17:23:24
Stargazers Count3.6k
Watchers Count85
Fork Count452
Commits Count56
Has Issues Enabled
Issues Count42
Issue Open Count0
Pull Requests Count14
Pull Requests Open Count0
Pull Requests Close Count11
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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'
To the top