Folder Actions for OS X explained – with real-world examples फ़ोल्डर ओएस एक्स के लिए कार्य वास्तविक दुनिया उदाहरण के साथ समझाया --

by Ross McKillop on January 30, 2007 रॉस McKillop द्वारा 30 जनवरी 2007 पर

मैक

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 प्रारूप के लिए छवियों को धर्मान्तरित बनाएँगे के लिए). 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/. वे मैक एच.डी. में हो / पुस्तकालय / लिपियों / फ़ोल्डर लड़ाई लिपियों /. 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 स्वचालित रूप से जोड़ें / जब वे एक फ़ोल्डर में रखा हो आइट्यून्स आयात करने के लिए फ़ाइलें
  • 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 फ़ोल्डर लड़ाई पटकथा लेखन
  • Related Posts: संबंधित पोस्ट:
  • Review: World Golf Tour समीक्षा करें: विश्व गोल्फ टूर
  • Review: Apogee Search समीक्षा करें: Apogee खोज
  • How to integrate NirCmd with Launchy to enhance productivity कैसे Launchy के साथ NirCmd को एकीकृत करने के लिए उत्पादकता में वृद्धि
  • How to create custom keyboard shortcuts in Ubuntu कैसे Ubuntu में कस्टम कुंजीपटल शॉर्टकट बनाने के लिए
  • How to send email from the Linux command line कैसे Linux कमांड लाइन से ईमेल भेजने के लिए
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! बस अपने ईमेल इनबॉक्स के लिए मुफ्त हर दिन - में यह एक तरह सरल सहायता ट्यूटोरियल जाओ! Just enter your email address below: बस नीचे अपना ईमेल पता दर्ज करें:

    You can always opt out of this email subscription at any time. तुम हमेशा इस ईमेल सदस्यता से बाहर किसी भी समय विकल्प चुन सकते हैं.

    { 8 trackbacks } (8 trackbacks)

    Jay's Headspace - » Eager Beaver for 01/31/2007 है जे Headspace - »01/31/2007 के लिए उत्सुक Beaver
    02.04.07 at 9:22 pm 9:22 पर 02.04.07
    Folder Action for automated upload of Aperture web galleries at The Joy of Scripting फ़ोल्डर पटकथा की खुशी में एपर्चर वेब दीर्घाओं के स्वचालित अपलोड करने के लिए लड़ाई
    11.30.07 at 11:59 pm 11:59 पर 11.30.07
    Final Cut Producer | Mac Folder Actions Explained अंतिम कट निर्माता | मैक फ़ोल्डर कार्य समझाया
    03.04.08 at 6:19 am 6:19 पर 03.04.08 हूँ
    Looky: An AppleScript Folder Action utilizing Quick Look at The Joy of Scripting Looky: एक AppleScript फ़ोल्डर लड़ाई का उपयोग त्वरित पटकथा के जोय को देखो
    03.28.08 at 12:59 am 12:59 पर 03.28.08 हूँ
    AppleScript ::: Ignorantenprogramm released | macfidelity AppleScript::: Ignorantenprogramm जारी | macfidelity
    03.30.08 at 5:03 am 5:03 पर 03.30.08 हूँ
    Folder Actions for OS X explained (with real-world examples) | The Pengas Blog फ़ोल्डर ओएस एक्स के लिए कार्य की व्याख्या की (वास्तविक दुनिया उदाहरण के साथ) | Pengas ब्लॉग
    08.11.08 at 4:29 am 4:29 पर 08.11.08 हूँ
    New Item Alert « MilkHub नए आइटम सचेतक «MilkHub
    02.18.09 at 3:18 pm 3:18 पर 02.18.09
    Automator to Convert Torrents with iSquint? स्वचालक iSquint के साथ बदलें Torrents के लिए? - MacNN Forums - MacNN मंच
    04.24.09 at 10:58 am 10:58 पर 04.24.09 हूँ

    { 19 comments… read them below or (19 टिप्पणियाँ ... उन्हें या नीचे पढ़ें add one एक जोड़ } )

    1 1 JP 01.31.07 at 3:52 pm 3:52 पर जेपी 01.31.07

    cool ठंडा

    2 2 Filip Lam Filip Lam 01.31.07 at 7:34 pm 7:34 पर 01.31.07

    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 11:29 पर केन्द्र शासित प्रदेशों के 01.31.07

    I wish all tutorials were this clear! मैं चाहता हूँ सब ट्यूटोरियल यह साफ कर रहे थे! Excellent tip!!! उत्कृष्ट टिप!!

    4 4 Nick निक 01.31.07 at 11:42 pm 11:42 पर 01.31.07

    JP, Filip and UT – जेपी, Filip और केन्द्र शासित प्रदेशों --

    Glad to hear it helped!! सुनना यह मदद की खुशी है!

    5 5 Hani 02.16.07 at 7:35 am 7:35 पर हानी 02.16.07 हूँ

    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 5:38 पर 10.06.07

    Great tutorial, this will help me out big time with workflow on my mac. महान ट्यूटोरियल, यह मेरी मदद मेरे मैक पर कार्यप्रवाह के साथ बड़े समय होगा.

    7 7 Murphy मर्फी 11.13.07 at 9:24 pm 9:24 पर 11.13.07

    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/ 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 पर 12.10.07 damn.hustle

    thank you very much. आपको बहुत बहुत धन्यवाद. You gave an easy explanation. तुम एक आसान विवरण दिया है.

    9 9 Muthu मुतु 06.18.08 at 6:05 am 6:05 पर 06.18.08 हूँ

    Awesome. बहुत प्रभावशाली. Simple example which i was waiting to go though in years. सरल उदाहरण है जिसे मैं वर्षों में भले जाने की प्रतीक्षा में था.

    10 10 Emilio Marte 06.25.08 at 12:37 pm एमिलो 12:37 पर Marte 06.25.08

    Saludos: 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. Por मुझे gustaría que alguien मुझे diga एहसान, कोमो puedo hacer पैरा que cuando alguien coloque संयुक्त राष्ट्र archivo संयुक्त राष्ट्र फ़ोल्डर cualquiera एन, que este मुझे notifique o que सक्रिय से सी एल mismo एस्टा abierto.

    Gracias de antemano ग्रेसियस antemano डे

    11 11 Emilio Marte 06.25.08 at 12:40 pm एमिलो 12:40 पर Marte 06.25.08

    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 11:49 पर 07.04.08

    Ok i give you thumbs up! ठीक है मैं आप को आगे बढ़ने की अनुमति दे!

    13 13 slub slub 08.26.08 at 9:51 pm 9:51 पर 08.26.08

    Simple, easy and to the point. सरल, आराम से बात की और. thank you thank you! धन्यवाद आपको धन्यवाद! I couldn't find that information anywhere on apple's site. मुझे जानकारी है कि सेब साइट पर कहीं भी नहीं मिल सकता है.

    14 14 JoDitt JoDitt 02.21.09 at 8:32 pm 8:32 पर 02.21.09

    Thanks for your simple explanation of folder actions, and especially for the real world examples. फ़ोल्डर कार्रवाई के अपने सीधा जवाब है, और विशेष रूप से वास्तविक दुनिया उदाहरण के लिए के लिए धन्यवाद.

    15 15 Jason Beebe जेसन Beebe 03.07.09 at 11:09 pm 11:09 पर 03.07.09

    Great tip. महान टिप. I will definitely give this a go on my iMac. मैं निश्चित रूप से यह मेरी iMac पर जाने देंगे.

    16 16 Mariano 04.02.09 at 7:08 pm 7:08 पर 04.02.09 Mariano

    Thanks for this tutorial. इस ट्यूटोरियल के लिए धन्यवाद.

    17 17 Juergen 05.17.09 at 12:17 pm 12:17 पर Juergen 05.17.09

    I would like to know what events may trigger a folder action. मुझे पता है कि घटना एक फ़ोल्डर कार्रवाई को गति प्रदान कर सकते हैं चाहेंगे. Unfortunately, I cannot find a reference manual, but it seems like that adding a file is the one and only event which can start a automator script. दुर्भाग्य से, मैं एक संदर्भ मैनुअल पता नहीं, लेकिन यह है कि एक फाइल जोड़ने और केवल एक घटना है जो एक स्वचालक स्क्रिप्ट शुरू कर सकते है जैसे लगता है सकते हैं.
    My goal is to implement an action that fires if a folder is opened or closed from a remote host. मेरा लक्ष्य एक कार्रवाई को लागू होता है कि आग अगर एक फ़ोल्डर या खोले एक दूरस्थ मेजबान से बंद है. In this case, iTunesFS should launch. इस मामले में, चाहिए प्रक्षेपण iTunesFS. If the connection is closed, the iTunesFS should get closed as well. यदि कनेक्शन बंद कर दिया है, iTunesFS के रूप में अच्छी तरह से बंद कर लेनी चाहिए. Any suggestons? कोई suggestons?

    18 18 Fero 06.21.09 at 5:25 am 5:25 पर Fero 06.21.09 हूँ

    Great script, especially the notify when new file placed in folder. महान स्क्रिप्ट, विशेष रूप से सूचित करें, जब नए फ़ोल्डर में रखा फ़ाइल.

    Can someone suggest a workaround for Leopard which doesn't allow you to send a fax, unless you disable 'Receive faxes on this computer'. किसी तेंदुए के लिए एक workaround सुझाव सकते हैं जो आपको एक फैक्स भेजने के लिए अनुमति नहीं है, तो जब तक आप 'निष्क्रिय प्राप्त पर फैक्स' इस कंप्यूटर. I suppose the steps for sending a fax would require the steps; मैं एक फैक्स भेजने के कदम की आवश्यकता होगी के लिए कदम लगता है;
    - select file to be faxed - फाइल को फैक्स कर सकता चुनें
    - when 'Fax Pdf' is selected, script should 'deactivate receive fax on this computer' and save settings and close - 'जब फैक्स' pdf चुना जाता है, स्क्रिप्ट 'इस कंप्यूटर और सेटिंग्स और करीब बचाने पर' चाहिए निष्क्रिय फैक्स प्राप्त
    - fax should then send (hopefully) - फैक्स तो उम्मीद (भेजना चाहिए)
    - once fax has sent, then script should reinstate 'receive fax on this computer' setting. - एक बार फैक्स भेजा है, तो स्क्रिप्ट 'बहाल' इस कंप्यूटर पर स्थापित करने फैक्स प्राप्त करना चाहिए.

    THanks all धन्यवाद सभी
    FJK FJK

    19 19 Multimedia Design मल्टीमीडिया डिजाइन 08.31.09 at 9:28 pm 9:28 पर 08.31.09

    I think you just invented the 30 hour day. मुझे लगता है कि तुम सिर्फ 30 घंटे के दिन का आविष्कार किया. This is going to give me so much free time – thanks! यह इतना खाली समय मुझे देने जा रहा है - धन्यवाद!

    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> आप ये HTML टैग और विशेषताएँ: <a href="" उपयोग title=""> <abbr title=""> <acronym कर सकते हैं <blockquote title=""> <b> cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>