Langsung ke konten utama

What is AppleScript?

AppleScript is a scripting language that is very much based on English. That means that AppleScript is astonishingly easy to pick up. You can use AppleScript to manipulate files in the Finder, and to interact with and control many applications that support AppleScript. You can even manipulate the same file with a series of applications via AppleScript. If you are hesitant about learning AppleScript, you can use Automator. Automator enables you to create simple tasks that are performed by dragging and dropping pre-made scripts called Actions into a particular order. A collection of Actions creates an Automator Workflow. Once you've create a Workflow, you can name it, save it, and reuse it whenever you want. You can even attach a Workflow to a folder and then process whatever you drop into that folder with the Workflow, automatically. Or you can associate an Automator Workflow with a function key, and invoke it from the keyboard. Automator, AppleScript, and AppleScript Editor are all included in OS X.

Even if you don't want to write your own AppleScripts or create Automator Workflows, you can take advantage of those written by other people. There are a number that come with your Mac, and even more are downloadable. To start using the AppleScripts bundled with your Mac, you need to locate the AppleScript Editor, and tell it to displaly the Finder's Script menu in the Finder menu bar.

To Turn On the Finder's Script Menu:

  1. Locate the AppleScript Editor in Applications/Utilities.
  2. Open the AppleScript Editor.
  3. Choose Preferences... from the AppleScript menu.
  4. You will see the AppleScript Editor's Preference window (see AppleScript Editor Preferences image above).
  5. In the General tab of the AppleScript Preferences, click the box next to "Show Script menu in menu bar."
  6. Quit the AppleScript Editor.
If you look at the Finder menu bar, you'll now see a small icon that looks like a scroll. It marks a menu of AppleScript scripts. The scripts themselves actually live in the System Library/Scripts directory. A number of Mac OS X applications come with a little folder of AppleScripts; Mariner Write, for instance, includes AppleScripts in the "Mariner Extras" folder, and has its own internal AppleScript menu. There is a large and vibrant AppleScript community as well. One of the best uses of AppleScript is to manipulate and sort iTunes files; Doug Adams has a marvelous AppleScript for iTunes Website where his iTunes AppleScripts and those of others are available for downloading.
source : http://www.examiner.com/x-6683-Apple-Products-Examiner~y2010m3d11-What-is-AppleScript

Postingan populer dari blog ini

57% Use Social Network Sites

The power of online social networking was demonstrated by the tens of thousands who gathered in Shanghai at the weekend to pay their respects to the people who died in last Monday's blaze. The event at Jiaozhou Road was launched on microblogs and information spread rapidly on the Internet , especially on social networking sites such as Kaixin001.com. According to a survey by Shanghai Daily and Touchmedia, of 110,000 people traveling in taxis in Shanghai, Beijing, Guangzhou and Shenzhen , 57 percent of interviewees use social networking sites or microblogs for more than half an hour a day, and 18 percent for more than three hours. Microblogging is the most popular form. Almost 60 percent of the interviewees said they publish information on microblogs, communicating with friends, following celebrities, expressing their opinions, sharing jokes and conducting online marketing, said the survey.

Upcoming Facebook Redesign Surface

Macam-macam Penyakit Dunia yang Dikenal oleh Masyarakat Aceh

Penyakit donya (dunia) dalam pengetahuan orang Melayu seperti di Aceh adalah penyakit yang disebabkan oleh hal-hal supranatural atau adikodrati, atau tersebab manusia yang bersekutu dengan jin, setan, atau makhuk halus yang jahat. Aceh adalah salah satu suku terbesar di Propinsi Aceh. Kebesaran suku Aceh tidak hanya tampak dari kesenian dan kepahlawanan masyarakatnya, tetapi juga pengetahuan mereka terhadap penyakit dan penyembuhannya. Bagi mereka, sakit adalah hal serius yang harus disikapi. Karena itu, mereka mengabadikannya dalam sebuah pengetahuan tentang klasifikasi penyakit dan penyembuhannya (Meuraxa, Dado 1956; Rusdi Sufi dkk, 2006; Rusdi Sufi dkk, 2004).