Folder Actions for OS X explained - with real-world examples 폴더에 작업을 운영 체제 x에 대한 설명 : -와 현실 - 세계 예제

by Ross McKillop on January 30, 2007 로스 mckillop에 의해 2007년 1월 30일

맥

What are Folder Actions? 폴더 작업 무엇입니까?

In a nutshell, Folder Actions are scripts that can be attached to folders. 한마디로 폴더를 폴더에 첨부된 수있는 작업은 스크립트를합니다. They enable events (actions) to take place when items are added or removed from that folder. 그들이 활성화 이벤트 (작업)가 일어 나도록하면 해당 폴더에서 항목을 추가하거나 제거합니다. Events can also occur when the folder is opened, closed or moved. 행사의 폴더를 열 때 발생할 수있습니다, 폐쇄하거나 이동할합니다.

Real-World Examples 현실 - 세계 예제

  • When you put images in a certain folder, they’re automatically converted to JPG 특정 폴더에 이미지를 넣으면, 그들은 jpg로 자동으로 변환
  • When you put files in a certain folder, they’re automatically uploaded to a web server 특정 폴더에 파일을 넣으면, 그들은 웹 서버에 자동으로 업로드
  • When you close a Finder window, all the sub-folder windows close as well 검색 엔진 윈도우를 닫을 때, 모두의 하위 - 폴더 창 닫기도
  • When new files are placed in a certain folder, you’re notified 새로운 파일이 특정 폴더에 배치하면, 당신은 통지
  • When new files are placed in a certain folder (like your Desktop or download folder) they’re moved based on file type 새 파일은 특정 폴더에 위치 (예 : 바탕 화면 또는 다운로드 폴더)에 그들은 파일 형식을 기반으로 이동
  • See more in the 에서 자세히보기 Folder Action Resources 폴더를 액션 리소스 section 섹션
  • How to enable and use Folder Actions 폴더 작업을 설정하고 사용하는 방법

    1. For this example we’ll create a Folder Action that converts images to JPG format just by dropping them into a folder (this particular Folder Action is included with OS X). 이 예제의 행동을하겠습니다 폴더를 만듭니다 이미지를 jpg 형식으로 변환 떨어지는 것만으로 그들을 폴더 (이 특정 폴더에 액션이 포함되어있는 운영 체제 x). Start by creating a new folder. 새 폴더를 작성을 시작합니다.
    2. Now right-click (ctrl-click) on that new folder and select Enable Folder Actions 지금 오른쪽 - 클릭 (ctrl - 클릭)에있는 새로운 폴더를 선택한 폴더 작업 활성화


    3. click to enlarge 클릭하면 확대

    4. Again, right-click (ctrl-click) that same folder and this time select Attach a Folder Action… 또, 오른쪽 - 클릭 (ctrl - 클릭)이 시간과 동일한 폴더가있는 폴더를 선택 첨부 액션…


    5. click to enlarge 클릭하면 확대

    6. You’ll probably be presented with a list of scripts. 의 목록을 발표할 수있을 것입니다 스크립트를합니다. If you’re not, you’ll need to navigate to the folder that contains all of the Folder Action scripts. 만일 당신은, 당신이 들어있는 폴더로 이동해야하는 폴더의 모든 액션 스크립트를합니다. They’re in Mac HD/Library/Scripts/Folder Action Scripts/. 그들은 맥 hd / 라이브러리 / 스크립트 / 폴더 액션 스크립트 /합니다. Select Image - Duplicate as JPEG and then click Choose 선택한 이미지 - 중복으로 jpeg을 누른 다음 선택


    7. click to enlarge 클릭하면 확대

    8. That’s it. 그게 다야. Now drag a non-jpg picture into that folder (a PNG, GIF etc). 지금이 아닌 - jpg 그림에 해당 폴더를 드래그 (png, gif 등).
    9. Ta-da! 따 - 다! The Folder Action will have duplicated your image, but this time as a JPG. 이 폴더 작업은 귀하의 이미지가 중복지만 이번 jpg로합니다. It will also save the original image. 그것은 또한 기존 이미지를 저장합니다.


    10. click to enlarge 클릭하면 확대

    11. If you ever want to change or disable a Folder Action, right-click (ctrl-click) the folder and choose Configure Folder Actions… 당신이 그들의 폴더를 변경하거나 사용하지 않도록 조치, 오른쪽 - 클릭 (ctrl - 클릭)를 구성 폴더에있는 폴더를 선택하고 작업…
    12. From here you’ll be able to manage all of your Folder Actions in one place. 여기에서하실 수있습니다 폴더의 모든 활동을 관리하는 한 장소에서합니다.

    Folder Action Resources 폴더를 액션 리소스

    Here are some sites that provide pretty cool Folder Action scripts etc - 꽤 멋진 폴더를 제공하는 사이트은 다음과 같습니다 액션 스크립트를 증대 -

  • Auto-sort files dropped into the System Folder (like OS 9) - 정렬 파일을 자동으로 시스템 폴더를 삭제 (예 : 운영 체제 9)
  • Automatically add/import files to iTunes when they’re placed in a folder 가 자동으로 추가 / itunes 수입에 파일을 배치하면 폴더에있는 그들은
  • Upload files using Cyberduck when they’re placed in a folder cyberduck를 사용하여 파일을 업로드하면 폴더에있는 그들은 배치 (Upload Sample.scpt) - read the readme.txt for more info (업로드 sample.scpt) - 읽고 readme.txt 자세한 정보
  • Use Folder Actions and Automator to keep your Desktop super-clean 바탕 화면에 폴더를 행동과 자동화를 사용 슈퍼 - 청결을 유지
  • Automatically import (and tag) Photo Booth photos into iPhoto 자동적으로 수입 (및 태그) 포토 부스 사진을 iphoto
  • Writing Folder Action scripts 액션 스크립트를 쓰는 폴더로
  • [digg] [del.icio.us] [페이스] [구글]
    Related Posts: 관련 게시물 :
  • An introduction to Real Desktop - a Windows Desktop replacement 를 실제 바탕 화면을 소개 - windows 바탕 화면 교체
  • Review: Apogee Search 검토 : 극점 검색
  • Roundup: The Under-appreciated Posts 검거 : - 감사 게시물 아래
  • How to add commands to the OS X “right-click” menu 운영 체제에 명령을 추가하는 방법을 x "오른쪽 - 클릭"메뉴를
  • Best of Blog Action Day 최고의 액션 하루의 블로그
  • { 6 trackbacks } (6 트랙백)

    Jay’s Headspace - » Eager Beaver for 01/31/2007 제이의 헤드 -»북새에 대한 2007년 1월 31일
    02.04.07 at 9:22 pm 02.04.07에서 오후 9시 22분
    Folder Action for automated upload of Aperture web galleries at The Joy of Scripting 폴더에 대한 작업을 자동으로 업로드의 기쁨을 구경 스크립팅 웹 갤러리
    11.30.07 at 11:59 pm 11.30.07 오후 11시 59 분에
    Final Cut Producer | Mac Folder Actions Explained 마지막 컷 프로듀서 | 맥 폴더 작업 설명
    03.04.08 at 6:19 am 03.04.08에서 오전 6시 19분
    Looky: An AppleScript Folder Action utilizing Quick Look at The Joy of Scripting 이것 : an AppleScript로 폴더를 액션 스크립트를 활용의 기쁨을 살펴보실 수
    03.28.08 at 12:59 am 03.28.08에서 오전 12시 59분
    AppleScript ::: Ignorantenprogramm released | macfidelity AppleScript로 : : : ignorantenprogramm 출시 | macfidelity
    03.30.08 at 5:03 am 03.30.08에서 오전 5시 3분
    Folder Actions for OS X explained (with real-world examples) | The Pengas Blog 폴더에 작업을 운영 체제 x 설명했다 (실제 - 세계 예제) | pengas 블로그
    08.11.08 at 4:29 am 08.11.08에서 오전 4시 29분

    { 12 comments… read them below or (12… 읽어도 아래에 의견이나 add one 하나를 추가 } )

    1 1 JP 01.31.07 at 3:52 pm 01.31.07 일본에서 오후 3시 52분

    cool 차가운

    2 2 Filip Lam 필립 램 01.31.07 at 7:34 pm 01.31.07에서 오후 7시 34분

    Wonderful tip! 멋진 팁! I’ve been wondering what folder actions was about but never really had the time to figure it out. 나는이 궁금 폴더 작업은 약하지만 전혀 방법을 알아낼 최고의 시간을 보냈합니다. Thanks again! 다시 한 번 감사드립니다!

    3 3 UT 01.31.07 at 11:29 pm 01.31.07을 위하여 오후 11시 29분

    I wish all tutorials were this clear! 나도 모든 자습서는이 클리어! Excellent tip!!! 우수한 끝!

    4 4 Nick 01.31.07 at 11:42 pm 01.31.07에서 오후 11시 42분

    JP, Filip and UT - 일본, 필립를 위하여 -

    Glad to hear it helped!! 다행를 듣고 큰 도움이!

    5 5 Hani 02.16.07 at 7:35 am 02.16.07 hani에서 오전 7시 35분

    Thanks for the great tip. 위대한 팁 주셔서 감사합니다. Is there a way for the music or movie folders to search the computer and add music/videos automatically? 음악이나 영화가하는 방법을 폴더에 대한 검색 기능을 컴퓨터 및 장바구니 음악 / 영화를 자동으로?

    6 6 Andy 앤디 10.06.07 at 5:38 pm 10.06.07에서 오후 5시 38분

    Great tutorial, this will help me out big time with workflow on my mac. 좋은 자습서, 이것은 워크플로우를 도와 큰 시간을 내 맥합니다.

    7 7 Murphy 머피 11.13.07 at 9:24 pm 11.13.07에서 오후 9시 24분

    Good info, thanks. 좋은 정보, 감사합니다.

    Here’s how to make a folder that mails files added to it to a preset address, useful for backing them up to Gmail. 폴더를 만들 방법은 다음과 같습니다 추가되어 그것을 미리 설정 파일을 메일 주소, gmail에 올려지지 유용합니다.

    http://murphymac.com/files-mailed-magically-when-dropped-in-a-finder-folder/

    8 8 damn.hustle 12.10.07 at 2:36 pm 오후 2시 36분에서 damn.hustle 12 일

    thank you very much. thank you very much. You gave an easy explanation. 당신이 준 쉬운 설명을합니다.

    9 9 Muthu 무투 06.18.08 at 6:05 am 06.18.08에서 오전 6시 5분

    Awesome. awesome. Simple example which i was waiting to go though in years. 비록 간단한 예제를 몇 년 전 이동을 기다리고있습니다.

    10 10 Emilio Marte 06.25.08 at 12:37 pm 에밀리오 marte 06.25.08에서 오후 12시 37분

    Saludos: 안녕 :

    Por favor me gustaría que alguien me diga, cómo puedo hacer para que cuando alguien coloque un archivo en un folder cualquiera, que este me notifique o que se active si el mismo está abierto. 뜨거워라 나 gustaría 으어 ..... 나 여보세요, 내가 원할 거 파라 으어 물건을 구매 유엔 지난 엉 유엔 폴더에 있어라 ..... cualquiera, 저것이 나 notifique 크라 남동 활성 경우 엘 밋모 도시의 abierto합니다.

    Gracias de antemano 감사합니다 드 antemano

    11 11 Emilio Marte 06.25.08 at 12:40 pm 에밀리오 marte 06.25.08에서 오후 12시 40분

    Please I would like to see someone tell me, how can I do so that when someone put a file in a folder anyone, I notice that this or that is activated if it is open. 누군가를보고 싶은데하시기 바랍니다 말해, 그렇게하려면 어떻게해야합니까 폴더에있는 파일을 넣었을 때 아무도, 나 고지는이 열려 있으면 이것 혹은 저것이 활성화됩니다.

    Thanks in advanc 감사 advanc

    12 12 frank 프랭크 07.04.08 at 11:49 pm 07.04.08에서 오후 11시 49분

    Ok i give you thumbs up! 엄지를 줄 줄 알았어요!

    Leave a Comment 코멘트를 남겨주세요

    이메일

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 태그와 속성을 사용하실 수있습니다 : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> 'datetime=""> <em> <i> <del <strike> <q cite="">