맥 추천 앱 TextExpander

TextExpander 각종스크립트 이용가능한 snippet 프로그램

TextExpander 6버전으로 업그레이드되면서 월결제 단위로 변경되었습니다.

#auto

인터넷으로 할인 코드 적용하면 30% 할인된 가격으로 이용가능하십니다.

적용했을때의 가격표입니다.

맥 추천 앱 TextExpander

1개월은 무료로 사용 가능하니 사용해보고 좋은 프로그램이다 싶으면 사용하세요!

snippet 기능은 alfred에서도 구현이 가능합니다.

하지만 단순히 단축어 역활을 할 뿐입니다.

하지만

TextExpander 는 다양한 스크립트(applescript, shellscript, javascript)와 다양한 입력 필드를 지원하여

좀 더 유용하게 사용하실 수가 있습니다.

예) 텍스트 박스와 텍스트입력 필드를 적용한 예입니다.

맥 추천 앱 TextExpander
#display

키보드 입력 방식으로 매크로 기능도 지원합니다.

아래는 {Tab} 키를 이용한 매크로와 단축어 기능을 활용했네요!

그리고 스크립트 적용한 동영상만들어 문구 간단히 사용설명 해드리면

;xm – 메일 보내기

set myMail to display dialog "보낼 이메일?" default answer ""  #텍스트박스 생성
set linkMail to text returned of myMail                        #보낼메일주소 변수지정
set mySubject to display dialog "제목은?" default answer ""    #텍스트박스 생성
set linkMail2 to text returned of mySubject                    #보낼메일제목 변수지정

tell application "Mail"
	set theOutMessage to make new outgoing message with properties {visible:true}
	tell theOutMessage
		make new to recipient at end of to recipients with properties {address:linkMail}
		#set sender to "[email protected]"
		set subject to linkMail2
		#내용#set content to "Message Text"
	end tell
end tell

;hloc – 현재 위치 적용함! (applescript)

현재 위치를 탐색하는 location helper 부터 설치합니다.

tell application "Location Helper"
	set listCoords to get location coordinates
	#return (item 1 of listCoords as text) & ", " & (item 2 of listCoords) as text
end tell
#구글지도 사용시
#ignoring case
#	set curlCMD to ¬
#		"curl --stderr /dev/null \"https://www.google.com/search?q=" & listCoords & "\""
#	-- Run the script and get the result:
#	set tinyURL to (do shell script curlCMD)
#	return tinyURL
#end ignoring
#카카오맵
set theurl to "https://map.kakao.com/link/map/현재위치," & (item 1 of listCoords as text) & "," & (item 2 of listCoords) & ""

;todo – 일정추가하기 (applescript)

alfred 자연어 기반에서는 추출한 parse.rb 파일을 이용하여 스크립트 적용함

set mydo to display dialog "추가 일정?" default answer ""
set myTodo to text returned of mydo
set scrCommand to "/usr/bin/ruby /Users/hjm79/Downloads/alfredworkflow/BusyCal/parse.rb"

tell application "Terminal"
	do script scrCommand & " " & myTodo
	delay 2
	quit
end tell

아래는 홈페이지상 설명입니다. 설명보시면 링크도 포함하고 있습니다.