以所选语言启动应用程序,或设置为默认语言

应用语言切换器 阿尔弗雷德工作流程

以所选语言启动应用程序,或设置为默认语言。

使用演示

学分:这是mpcoAlfredWorkflow-App-Language-Switcher的快速克隆。由于最新版本的macOS 12.3,python2已被删除,这打破了原来的工作流程。所以我在 Swift 中重新实现了这个工作流程。

Install

Prepare

  1. you should have unlocked Powerpack in Alfred
  2. make sure you have available in terminal.(If you have Xcode installed, you can skip this step.): swift
    1. type in terminal, if you don’t see any version info output, following next step to install it.swift --version
    2. type in terminal to install swift cli toolsxcode-select --install

Install

download workflow then click the downloaded file to install

Usage

  1. choose a app in alfred
  2. press to enter file action menu
  3. input to enter language selection menulanguage
  4. search languages with their names, select a language then press to select language and launch the app. (you may also press cmd + enter to set the selected language as default language)

Contributions and Support

I’m new to swift, feel free to make a pull request if you are willing to improve the code quality or its functions.

GitHub

点击跳转