콘텐츠로 건너뛰기

맥 비서 알프레드(Alfred) 설치 및 활용

알프레드(Alfred)는 맥 사용자라면 반드시 설치해야 하는 프로그램으로 효율성과 생산성을 향상시키는 데 도움이 되는 아주 강력한 도구입니다. macOS에서 제공하는 기본 검색 도구인 스포트라이트(Spotlight)와 유사하지만 더 빠르고 더 많은 기능을 제공합니다.

알프레드 소개

알프레드는 일명 맥 비서라고 부를 만큼 다양한 기능을 제공하는 프로그램입니다. macOS에서 제공하는 스포트라이트와 인터페이스가 매우 유사하며 스포트라이트와 동일하게 검색 창에서 다양한 기능을 사용할 수 있습니다.

Spotlight 검색
Spotlight 검색 화면
알프레드에서 제공하고 있는 기능 목록

알프레드 설치

알프레드 공식 사이트에서 무료 버전 다운받아 설치하거나 Homebrew를 사용하여 설치할 수 있습니다. 파워팩은 다양한 기능을 제공하고 있는데, 무료 버전으로도 다양한 기능을 충분히 활용할 수 있기에 무료 버전을 사용하다가 필요한 경우 추가로 구매해서 사용하면 됩니다. 저는 Homebrew를 사용하여 알프레드를 설치하겠습니다.

알프레드 다운로드 화면

터미널을 열고 다음과 같이 입력합니다.

brew install alfred

설치가 완료되면 스포트라이트에서 alfred를 검색 후 실행합니다.

Spotlight - Alfred 실행 화면

알프레드 기본 설정

Begin Setup

Begin Setup 버튼을 눌러 설정을 시작합니다.

Welcome to Alfred 5

파워팩을 구매한 경우 파워팩 라이선스를 입력합니다. 파워팩이 없는 경우 구매를 하거나 [Skip This Step] 버튼을 눌러 다음 단계로 이동합니다.

Activate Alfred Powerpack

macOS 권한을 설정합니다. 손쉬운 사용(Accessibility), 전체 디스크 접근 권한(Full Disk Access), 연락처(Contacts) 항목에 대해서 모두 권한 허용합니다.

Configure macOS Permissions

이제 설정을 완료했습니다. [Start Alfred] 버튼을 눌러 알프레스를 시작합니다.

Alfred Setup Complete!

General 설정

General 탭에서 크게 변경할 부분은 없습니다. Where are you 항목을 South Korea로 변경합니다. 만약 단축키를 변경하고 싶다면 Alfred Hotkey 에서 변경할 수 있습니다.

Alfred - General

Feature 설정

Default Results

기본 설정화면입니다. Extras에서 검색을 원하는 대상을 추가하고 Search Scpoe에서 검색 대상 폴더를 추가합니다.

Alfred - Find Folder
Alfred - Find Folder & App
Alfred - Features - Default Results

File Search

파일 열기 및 찾기, 본문 검색 및 Tag 검색과 같이 파일 검색 키워드를 설정할 수 있습니다.

File Search - open
File Search - find
File Search - in
File Search - tags
File Search - Search

파일 내비게이션 설정을 할 수 있습니다.

File Navigation
File Search - Navigation

Universal Actions (파워팩)

macOS 또는 Alfred 결과에서 선택한 항목에 대해 작업을 수행합니다. [Actions] 탭에서 항목을 설정할 수 있습니다.

Text Action
Universal Actions

Web Search

기본 브라우저로 검색하거나 웹 사이트 이동할 수 있습니다. [Add Custom Search] 버튼을 클릭하여 사이트를 추가할 수 있습니다.

Alfred - google search
Alfred - open șițe
Alfred - Web Search List
Add Custom Search
Add Custom Search

Web Bookmarks

Safari 및 Chrome 브라우저 북마크를 검색할 수 있습니다.

Web Bookmarks

Clipboard History (파워팩)

클립보드 이력을 관리할 수 있습니다.

Show the Clipboard
Clear Clipboard History
Clipboard Viewer
Clipboard Viewer

Snippets (파워팩)

스니펫(snippet)을 설정할 수 있습니다. 스니펫을 입력하면 미리 정의된 텍스트를 붙여넣기 할 수 있습니다.

snippet
snippet
Snippets

Calculator

계산기 사용 여부를 결정할 수 있습니다.

calculator 3 + 2
calculator log(100) + 2
Calculator

Dictionary

사전을 검색합니다. 검색한 단어는 사전 앱으로 연결되어 검색됩니다.

dictionary
dictionary
dictionary

Contacts (파워팩)

애플 주소록을 알프레드에서 대신 사용합니다.

email
email
contacts

Music (파워팩)

음악 앱(애플 뮤직)을 제어할 수 있습니다.

Music List
Music

1Password (파워팩)

1Password와 연동하여 사이트 접속과 로그인을 한번에 사용할 수 있습니다.

1Password

System

시스템 명령을 수행할 수 있습니다.

system
system
System

Terminal (파워팩)

터미널을 실행할 수 있습니다. 저는 터미널 대신에 iTerm으로 연결했습니다.

terminal
terminal
terminal

Custom 항목에 아래와 같이 입력하면 터미널 대신에 iTerm2를 실행할 수 있습니다.

-- This is v0.6 of the custom script for AlfredApp for iTerm 2.9+
-- Please see https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/
-- for the latest changes.

-- Please note, if you store the iTerm binary in any other location than the Applications Folder
-- please ensure you update the two locations below (in the format of : rather than / for folder dividers)
-- this gets around issues with AppleScript not handling things well if you have two iTerm binaries on your system... which can happen :D

on alfred_script(q)
	if application "iTerm2" is running or application "iTerm" is running then
		run script "
			on run {q}
				tell application \":Applications:iTerm.app\"
					activate
					try
						select first window
						set onlywindow to false
					on error
						create window with default profile
						select first window
						set onlywindow to true
					end try
					tell the first window
						if onlywindow is false then
							create tab with default profile
						end if
						tell current session to write text q
					end tell
				end tell
			end run
		" with parameters {q}
	else
		run script "
			on run {q}
				tell application \":Applications:iTerm.app\"
					activate
					try
						select first window
					on error
						create window with default profile
						select first window
					end try
					tell the first window
						tell current session to write text q
					end tell
				end tell
			end run
		" with parameters {q}
	end if
end alfred_script

Large Type

화면 전체에 텍스트를 큰 문자로 표시할 수 있습니다. Command + L을 사용하여 텍스트나 계산 결과를 표시할 수 있습니다.

Large Type

Previews

파일 미리보기를 표시하는 방법을 정의합니다.

Workflows (파워팩)

알프레드 workflow는 파워팩을 구매해야 하는 가장 큰 이유입니다. 워크플로우는 다양한 명령을 조합하여 빠르게 수행하거나 반복적인 작업을 빠르게 할 수 있도록 도와주어 업무 효율성과 생산성을 높일 수 있습니다.

다양한 알프레드 워크플로우가 존재하며 워크플로우는 다음 포스트에서 다뤄보기로 하겠습니다.

관련 포스트

참고 자료

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다