Thursday, May 17, 2012

Automator

With Automator you can automate much of what you do with your computer. Create and print a family directory with the contacts in your Address Book. Find and add images from your favorite websites to iPhoto. Print your documents to your iPad. Instantly rename dozens of files in the Finder. Even perform scheduled backups of important information. There’s no limit to what you can do, and Automator can do in seconds and minutes what could take you hours to do by hand.

"Instant snapshot" workflow sample
Have you ever wanted to take a quick snapshot of yourself to add to an email, message, or chat? As an example of how easily you can use Automator to create your own automation tools, here’s a sample workflow you can build and install as a system-wide service for using your portable Mac’s or iMac’s built-in camera to instantly take and add a snapshot of you into your iPhoto library. ("System-wide service" means you'll be able to access it from an application's menu, under Services, as shown at the end of these steps.)

Follow these steps on your computer to make the same service for yourself:

 The Automator icon in Launchpad

Open Automator from the Launchpad by clicking the icon of “Otto” the Automator robot. A new Automator workflow window will appear.
You choose the type of Automator workflow document you want to create from the template picker sheet
In the new window’s drop-down template sheet (as shown above), select Service as the type of workflow document to create, and then click the Choose button.

Elements of the Automator workflow window
An Automator window contains:

(1) a Library column on the left, sorted by application or category, containing a list of all of the Automator actions installed on your computer
(2) an Action column in the middle displaying the available actions for the selected application or category
(3) a search field for quickly locating actions to add to the workflow
(4) an information box on the bottom-left to provide helpful information about a selected action
(5) a workflow pane on the right side of the window, where you drag actions to build your “automation recipe"
(6) The "Service receives" pop-up menu

The template sheet will recede to reveal a new workflow document, ready for editing:
An Automator workflow window, ready to be edited


Let’s continue creating the snapshot-taking workflow:
Service workflows are often designed to work with files or text, selected in other applications, such as image files selected in the Finder. In this example workflow, the service will generate a new photo for you, so there’s no need to accept any other files as input for the workflow. Set the service workflow to ignore any existing selected items by choosing no input from the Service receives pop-up menu (6) at the top of the window (see the image above).
Now that the input settings for the service workflow have been set, let’s construct the workflow by finding and adding actions from the Actions Library to the workflow area. We’ll begin by locating an Automator action for taking a camera snapshot. In the search field (1) enter the term snapshot and any Automator actions related to that search term will appear in the Actions list below the search field (see below).
Dragging an action into the workflow area

According to its description at the bottom left of the workfow window (see above), the Take Video Snapshot action, is perfect for automating the quick snapshot of a photo using the computer’s built-in camera. Drag the action title from the Actions list (2) into the workflow area (3).
Release the cursor to finish adding the action to the workflow:
Automator actions display their parameter controls in the action’s inline view

When an action is added to the workflow area (see above), it displays a rectangular view containing controls for setting the values of any parameters it uses. In the view for the Take Video Snapshot action, there is a checkbox, titled Take picture automatically, for indicating whether you want to require the user to click a button to take the photo snapshot. Select the checkbox (1) to have the workflow take the picture automatically. All you’ll need to do is smile.
Using the same search and add process you used for locating and adding the Take Video Snapshot action to the workflow, search for the term import, and locate and add the Import Files into iPhoto action to the end of the workflow:
A second action has been added to the workflow

Notice that the two actions in the workflow (see above) are linked together (1), indicating that the results of the first action, the new photo file taken by the computer’s camera, will be passed to the second action as its input. This is generally how Automator workflows function, passing information and items between each step (action) in the workflow.

Finally, as a bit of cleanup, we’ll indicate we want to delete the original image file taken by the camera, after it has been imported into iPhoto, by selecting the Delete Source Images… checkbox (2) in the action view (see above).

That’s all there is to creating a simple workflow for taking a camera snapshot and adding it to iPhoto! Now you’re ready to save and install the workflow.

To save and install the service workflow, choose Save… from the File menu. In the drop-down naming sheet, enter Instant Snapshot as the name for the service, and click the Save button. The new service workflow will automatically be installed as part of the System-wide Services architecture, and be available from any application’s Services menu. You can now close the workflow window.
Using the service
 
To use your new service, center yourself infront of the computer, and select Instant Snapshot from the Services menu, which is available from within any application:

Running the service
Your Mac will beep three times and then take a picture, which will be automatically added to your iPhoto library:

The new snapshot is added to iPhoto

Using Automator, you have now created a useful tool for making it easy to take and add a snapshot of yourself to your iPhoto library.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Yang Populer di Dedi Aryadi Al-Jazairi

...organise your mac ★★★★★ 10 Keyboard Shortcuts for Text 10 Quick Mac Tips 10.6 10.7 10.8 10.9 9 to 5 Mac A-Z Glossery - iPhone App Abdullah bin Muhammad As Salafi About Abu ‘Abdil Muhsin bin ‘Abidin as-Soronji Abu Qatadah Accounting Adab Adab Dan Perilaku Administrasi Siistem dan Jaringan Administrasi Staff adsense Ahli Hadits Ahmad Saud AirPlay Akuntan Al-Lajnah Ad-Daimah Lil Buhuts Al-Ilmiah Wal Ifta Al-Quran Amalan Sunnah Anak Anak Muslim Anak Serta Orang Tuanya android Anonymous Anti Virus Apoteker App App Store - News Apple Apple Downloads Apple Gazette Apple Keynotes Apple Matters Apple Pro Apple Support Communities Apple Support Tips Apple Updates apple.stackexchange.com AppleInsider Applelinks AppleNews AppleTV Application Tips applications Apps A-Z Apps Apps Apps Apps on Mac Apps on Mac - Dashboard Widget AppShopper AppShopper.com Aqeedah Aqidah Arab Saudi Arab Saudi' Karawang Artikel ASC Asteroid ATMac Audio Audio dan Video Automator Baby Sitter Bahasa Arab Balikpapan Bandung Bandung Barat Bangkalan Banjarnegara Banking Banten Bantul Banyumas Banyuwangi Batam Batang BBM Beasiswa Pelajar Beby Sitter Bekasi Berita Biaya Gratis Bidah Bidan BindApple Biografi blackberry Blitar Blogger Blogs + Forums Widgets Blora Bogor Bojonegoro Bondowoso Boot Camp Bored of your Mac? Boyolali Brebes Browser Brunei BUMN Business Widgets Calculate + Convert Cataloguer Cerita Cerita Pengajaran Changing the background Check external devices Check spelling and grammar Checker Cheff Cianjur Cibitung Cikarang Cilacap Cilegon Cilengsi Cimahi Cinta Cirebon Cleaning Service Clear Versions History + Auto-Save Cache Data Collect RSS feed URLS from Mail compiz conky Create Ringtones in iTunes Crew CS Cult of Mac Customise your desktop + screen saver Customizing Customizing Your Mac Cydia D3 Daily Tips and Tricks Dajjal Dasar Bermain Backtrack Dashboard Dashboard - Tips+Tricks Dashboard Guidelines Dashboard Widget Dashboard Widgets DashboardCandy DashboardClocks DashboardSearch DashboardWidgets.com Dashcode Delta Silikon Demak Depok Desain Grafis Desktop Desktop Computers Developer Forum Developer News Developer Tips Developer Tools Developer Widgets Development Tools digg Disable restored windows when re-opening specific apps Discussions Disnaker Display a login banner Display a short message Display system stats DKI Jakarta Doa dan Dzikir Dock Does your Mac qualify for free 10.8 upgrade? Download Downloads DR.Muhammad Nur Ihsan Driver Dual Boot OS X 10.7 Lion + OS X 10.8 Mountain Lion Easy Mac Tips Ebook EJIP Email Email + Messaging Widgets Energi Essential Exploitation Tools Extract and Save Mac Application Icons Falsafah Perang ala Sun Tze FAQ Farmasi Fatwa-Fatwa Fatwa-Ulama Financial Services Find a MAC Address in Mac OS X Find iMessage Users + Contacts Finder Fiqh Fiqh Ibadah Fiqh Kontemporer Fiqh Mu'amalah Fiqih Firoq Folders Food Widgets Forensics Formal Free Apps Freeware Furniture games Games Widgets Garut Gas Gatekeeper Get a Homepage - Mac OS X Style Get iTunes track notifications in your Dock Get Mac News Get More Mac and iOS Tips Get quick information with widgets Get RSS Menu Extension for Safari 6 Get Windows Live Hotmail with Mail Get Yahoo Mail with Mail gnome google Google News Gresik Grobogan gSearch - iPhone App Guide Gunung Kidul Guru Hacking Hackint0sh hackintosh Hacks Hadis Hadist Hadits Haji Hartono Jaiz Hasil Seniku Helper Hidden Features Hidden Features in OS X 10.8 Mountain Lion Hong Kong Hongkiat Hotmail How To How to disable the Java web plug-in HRD Ibn Kathir iCal iClarified iCloud iCloud + MobileMe iCloud News iCloud system requirements icon Icon Icons Icons + Screensavers iDesign - iPhone Wallpaper Ied iHackintosh iLife iLife 11 iLife Discussions - GarageBand iLife Discussions - iDVD iLife Discussions - iMovie iLife Discussions - iPhoto iLife Discussions - iTunes iLife Discussions - iWeb iLife News iLife Support Ilmu image Image Capture Imam Imam Abu Hanifah Imam Ghazali Imam Hanbali Iman iMovie Indramayu Info Info CPNS Informal Information Gathering Information Widgets InsanelyMac install driver install kernel install kernel lowlatency install software Install Windows 8 on a Mac Installation International Widgets Internet Internet and Chat Investment Banking iOS 4 iOS Developer News iOS Support iPad iPad - News iPad Support iPhone iPhone - News iPhone 4 iPhone App iPhone SDK iPhone Support iPhone Tips and Tricks iPhoto iPod iPod - News iPod News iPod Support iPod Tips and Tricks - iPhone App iPod touch Irhab iscsi Islam Istri Nabi IT IT Industry Today iTunes iTunes - Latest Movie Trailers iTunes - News iTunes - Top News iTunes App Store iTunes App Store - All New Applications iTunes News iWork Jababeka Jakarta Jaringan Komputer java Java Runtime Environment Jawa Barat Jawa Tengah Jawa Timur Jember Jepara Jlainnya Job Baru job baru brunei Job Baru Malaysia Job Baru Taiwan Job Kontruksi Job Kontruksi Taiwan Jombang Jurnalis Just Added Just Added - iPhone Apps Just Added Downloads Just For Fun Widgets Kalsel Kaltim Karanganyar Karawang Kasir Kata Pengantar Keamanan Komputer Kebumen Kecantikan Kediri Kedokteran Kendal Keputusan Presiden Kerja Kantoran Kesalahan Dalam Solat Kesehatan kext Key Combos Keyboard Shortcuts Keynote Address KIIC Kisah Tauladan Klainnya Klaten Komputer Komuniti Islam Kontruksi Kristologi Kudus Kuliah Kulon Progo Kuningan Kurir Lagu Musik dan Permainan Laki-laki Lamongan Lampung Langsung Launchpad for Mac OS X Snow Leopard Lebak Links Linux Lion Listrik. Logistik Loker Astra LOker Pabrik Lowongan Kerja Lowongan Kerja Guru/Pengajar Lowongan Kerja Pertambangan Lowongan Kerja Rumah Sakit Lowongan Kerja SPG Lowongan Kontruksi Lowongan Kontruksi Taiwan Lowongan Pekerjaan Lumajang Mac Mac 101 Mac 101 - Get One on One with your Mac... Mac App Store Mac App Store - Business Mac App Store - Developer Tools Mac App Store - Education Mac App Store - Entertainment Mac App Store - Finance Mac App Store - Games Mac App Store - Graphics + Design Mac App Store - Health + Fitness Mac App Store - Lifestyle Mac App Store - Medical Mac App Store - Music Mac App Store - News Mac App Store - Photography Mac App Store - Productivity Mac App Store - Reference Mac App Store - Social Networking Mac App Store - Sports Mac App Store - Top 50 Mac Apps Mac App Store - Travel Mac App Store - Utilities Mac App Store - Video Mac App Store - Weather Mac Developer Tips Mac OS X Mac OS X 10.6 Mac OS X 10.7 Lion Mac OS X 10.8 Mountain Lion Mac OS X Applications Mac OS X Things Mac OS X Tips Mac OS X Tips - News Mac OSX Hints Mac OSX Hints - News Mac Quick Tips Mac Support Mac Tip of the Day Mac Tips Mac Tips and Tricks Mac Tips and Tricks - Desktop App Mac Tips Daily Mac|Life Mac101 Mac360 MacApp MacApper MacApps MacFixIt MacintoshOS.com Maciverse MacLion MacNews MacNN MacOSXAudio.com macosxtips.co.uk MacRumors MacSupport MacTech MacTips MacUpdate MacUpdate.com MacVideos MacWidgets Macworld.com - iPhone App Reviews Madiun magazines Magelang Magetan Mahasiswa Mail Maintenance Majalengka Makanan Makna Niat Makrifatullah Malang Malaysia Manager Manajemen Proyek ManiacDev Manufacturing Marketing Masakan Masalah Agama Masalah Rumah Tangga Medis Mekanik Mengenang Ilahi MInyak MM 2100 Mobile MobileMe News ModMyi.com Mojokerto Most Recent Movies + TV Widgets Mualamat Dan Riba Muhammad Thaha Al junayd MUI Mujahideen And Mujahidah Mukjizat Murotal Al-Quran Music Widgets Muslimah Nasehat Nasihat Nasyeed Navigating + Selecting Text in Mac OS X Negara Brunei Negara Canada Negara Taiwan Network Networking + Security Widgets New Application Tips New iPhone Apps news News on Mac News Widgets Nganjuk Ngawi nokia Notification Center Notification Center Tips OB office 2013 Office Boy Oil onemac.net onemac.org Open source OpenDashboard operating system Operator Operator Produksi Organize Your Dock OS OS X OS X - FAQ OS X 10.5 to 10.8 Upgrade OS X 10.7 OS X 10.8 Mountain Lion OS X Basics OS X Daily OS X Lion OS X Mac Tips + Tricks OS X Mavericks OS X Mavericks Tips OS X Mountain Lion OS X Mountain Lion - News OS X Mountain Lion Hompage OS X Mountain Lion Installation Guides OS X Snow Leopard OSX OSX Basics Other OS Pabrik Pacitan Pages Palembang Pamekasan Pandeglang Pangandaran Para Nabi Pasuruan Pati PC Pekalongan Pengumuman Penjaga Orang Jompo Perawat Perawat Panti Jompo Pernikahan Pertambangan & Logam Perusahaan Periklanan Pesanan PJTKI PJTKI Sragen PJTKI Pemalang PJTKI Rembang PJTKI Semarang PJTKI Sukoharjo PJTKI Tegal PLN Podcast Widgets Polisi Khusus Kereta Api Ponorogo Pontianak Portable Computers Ports and Connectors Pos Preambule Preferences Press Release Preview Pria Pro Tip Probolinggo Prof dr. M.M Al-A'Zami proxy PRT Puasa Public Relation Purbalingga Purwakarta Purwodadi Purwokerto Purworejo Putra-Putri Nabi QC Qurban racing Radio + Podcasts Widgets radio islam Rampant Mac - iPhone Wallpapers Rasulullah s.a.w. Remaja Dan Cinta Remote Folder and Synchronization Remove Dock Icons in OS X Mountain Lion Rename Files and Folders Renungan Reporting Tools Resepsionis Reset specific parts of Safari Restart an external device Restoran Riyadhus Shalihin RSS Ruang Keinsafan Rumaha Sakit Rynoedin S1 Safari Safari 5.1 Safari 6 Sahabat Sains dan Al-Quran Salam Redaksi Salatiga Sales Sales Manager Salon Samarinda Sampang Scheduled Startup and Shutdown ScreenCast Online SD and SDXC card slot FAQ Search Widgets Security Sekeretaris Semarang Serang Set up iCloud Set Up Storage Devices Shalat Shaum(Puasa) Shopping Widgets shortcut keyboard Sidoarjo Simple Desks Singapura Siri Siri Tips Situbondo situs islam Sleman SMA SMA/K SMK SMP Snow Leopard Snow Leopard Tips Soccer Softonic - Mac Softonic.com Softpedia Softpedia - Tips + Tricks Softpedia.com Software Solat Sunat Solo Speed Up Your Mac SPG/B Stacks Staff Staff Admin Staff Gudang Staff picks Status Widgets Stop Automatically Updates Storage StorePreview Strategi/Perencanaan Konstruksi Stress testing Subang Sukabumi Sumatera Sumatra Sumedang Sumenep Supervisor Support Surabaya Surakarta suriah Switch 101 switchtoamac.com Syaikh Abdul Aziz bin Baz syaikh Abdullah Bin Abdurrahman Al- Jibrin Syaikh Abdur Razzq 'Afifi Syaikh Abu Usamah Salim bin Ied Al-Hilali Syaikh Ali Hasan Al Halabi Syaikh Dr. Muhammad Musa Alu Nashr Syaikh Ibnu katsir Syaikh Khalid al Husainan Syaikh Kholid bin Abdillah al-Mushlih Syaikh Muhammad bin Abdul Wahhab Syaikh Muhammad bin Jamil Zainu Syaikh Muhammad bin Shalih Utsaimin Syaikh Muhammad Nashiruddin Al-Albani Syaikh Shalih bin Fauzan bin Abdullah Al-Fauzan Syamail Muhammadiyyah syiah.buku-buku sesat Syiakh Masyhur Hasan Salman symbian Syncing with iTunes System Configuration System Preferences Taiwan Take advantage of Quick Look Taking Screenshots Tambun Tangerang tarawih Tasikmalaya Taubat Sahabat Islam Kita Tauhid Tazkiyyatun Nufus Tekhnologi Teknik Mesin Teknisi Temanggung Terminal TextEdit The Apple Blog The Apple Core The Mac Observer The Mac Screencast Guy The MacTips Podcast Theme themes Themes thinkmac.net Time Machine Tip of the Day Tips Tips + Tricks Tips and Support Tips and Trick Tips and Tricks tips ubuntu Tips+Tricks TKI Tki/TKW Sukses TKW tool Top 10 Grossing Apps Top 25 Grossing Apps Top 50 Grossing Apps Top iTunes Tips Top Mac Tips Top10 Mac Tips Top10 Paid Apps Top10 Widgets Top50 Dashboard Widgets TopApps Translates Transportation Travel Widgets Trenggalek tricks TUAW Tuban Tulungagung Tutorial Tutorials tweak Ulama Unix Updates Updating USB 3 devices on Mac - FAQ Use Smart Folders effectively Useful iPhone Shortcuts Ustadz Abdul Hakim Bin Amir Abdat Ustadz Abdullah Taslim Ustadz Abdurrahman bin Abdul Karim At-Tamimi Ustadz Abdurrahman Thayyib Ustadz Abu Abdillah al-Atsari Ustadz Abu Ishaq Muslim Al-Atsari Ustadz Badrussalam Ustadz Firanda Ustadz Hamzah Rifa’i Ustadz Khoilid Abdus Shomad Ustadz Yazid bin Abdul Qadir Jawas Ustadz Zainal Abidin Syamsudin utilities VersionTracker Video Videos Vulnerability Assessment Waiter Waitress wallpaper Wallpaper Doa Wanita Want More Mac Tips ? Warehouse Warisan Wartawan Wates Web Apps web Developer Web Programmer WebApps Webcam Widgets wep cracker whatsapp Which Mac is Worth Your Investment? widget Widgets Windows windows 7 windows 8 windows xp wireless Wonogiri Wonosari Wonosobo Wudhu www.freemacware.com Yahoo Yogyakarta youtube YouTube Videos Yusuf bin Abdullah bin Yusuf Al-Wabil MA Zakat ZDNet  Navigation Mac