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 الآن انقر بالزر الايمن ([كترل - انقر فوق) على ان مجلد جديد واختر تمكين مجلد الأعمال


    3. click to enlarge اضغط هنا لتكبير الصورة

    4. Again, right-click (ctrl-click) that same folder and this time select Attach a Folder Action… ومرة اخرى ، انقر بالزر الايمن ([كترل - انقر فوق) في نفس مجلد ونعلق هذه المرة اختر مجلد العمل…


    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 اختر صورة -- المكرره كما جايباغ ثم انقر فوق اختيار


    7. click to enlarge اضغط هنا لتكبير الصورة

    8. That’s it. هذا هو. Now drag a non-jpg picture into that folder (a PNG, GIF etc). الآن اسحب غير الصورة الى jpg هذا المجلد (أ PNG ، جي. آي. اف الخ).
    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… اذا كنت تريد ان تغير من اي وقت مضى او تعطيل عمل مجلد ، وانقر بالزر الايمن ([كترل - انقر فوق) واختر المجلد تكوين مجلد الأعمال…
    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 كتابة مجلد عمل مخطوطات
  • [البحث بعمق] [del.icio.us] [تواجه] [صور]
    Related Posts: الوظائف ذات الصلة :
  • An introduction to Real Desktop - a Windows Desktop replacement مقدمة حقيقية لسطح المكتب -- استبدال النوافذ سطح المكتب
  • Review: Apogee Search مراجعة : بحث الأوج
  • Roundup: The Under-appreciated Posts الجولة : وكيل عن تقديره وظائف
  • How to add commands to the OS X “right-click” menu كيفية اضافة الاوامر الى نظام تشغيل س "انقر بالزر الايمن" القائمة
  • Best of Blog Action Day أفضل من العمل في اليوم بلوق
  • { 6 trackbacks } (6) trackbacks

    Jay’s Headspace - » Eager Beaver for 01/31/2007 جاي 'sheadspace --» حريصة قندس ل01/31/2007
    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 Looky : 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:03
    Folder Actions for OS X explained (with real-world examples) | The Pengas Blog المجلد العاشر الاجراءات لشرح نظام التشغيل (مع العالم الحقيقي امثلة) | 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 فى الساعة 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. واليك طريقة لجعل مجلد الملفات التي اضيفت الى البريد الى عنوان محدد مسبقا ، من المفيد ان يدعمهما لبريد جوجل.

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

    8 8 damn.hustle 12.10.07 at 2:36 pm damn.hustle 12.10.07 فى الساعة 2:36

    thank you very much. شكرا جزيلا. You gave an easy explanation. كنت اعطى شرحا سهلا.

    9 9 Muthu Muthu 06.18.08 at 6:05 am 06.18.08 فى الساعة 6:05

    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: 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 اختصار اسم مدينة كوبيك الكنديه alguien لي diga ، Cómo puedo hacer cuando alguien الفقره اختصار اسم مدينة كوبيك الكنديه coloque محفوظات الامم المتحدة ان الامم المتحدة مجلد cualquiera ، اختصار اسم مدينة كوبيك الكنديه استي لي notifique س اختصار اسم مدينة كوبيك الكنديه سي النشطه el mismo si está 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> يمكنك استخدام هذه علامات وسمات لغة تأشير النص الفائق : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <cite><code> <deldatetime=""> <em><i><qcite=""> <strike><strong>