Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Apple
    • Apple
    • IT Management

    Apples Tiger Targets Easy Programming with Automator

    Written by

    Ian Betteridge
    Published July 9, 2004
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Apple Computer Inc. looks to take its scripting architecture to a new level in the next release of Mac OS X, aka “Tiger.” The forthcoming Automator will provide a simple, graphical environment for building complex scripts and even applications.

      Tigers Automator still carries its code name of Pipeline in the version released to developers at Apples recent Worldwide Developers Conference in San Francisco. The tool is an attempt by Apple to make automating repetitive tasks on the Mac easier than has been the case previously.

      As demonstrated at the conferences keynote address, the software is aimed at ordinary users and no coding will be required. Instead, Automator relies on a simple scripting model that involves dragging and dropping “Actions,” which are then linked automatically together to form a pipeline, though which files or objects flow.

      Automator will leverage AppleScript, the longstanding native scripting language of the Macintosh, which was integrated and then extended in Mac OS X. The technology lets users control applications as well as the Mac OS directly with natural-language instructions.

      Apples object-oriented Cocoa framework supports AppleScript as well as the companys current AppleScript Studio environment and the Interface Builder component of Xcode. Apple also uses the technology within OS X to tie various applications together, according to an Apple engineer.

      But Automator is not simply a new front end to AppleScript. Although its capable of running AppleScripts as well as Unix shell scripts, Automator Actions are compiled C++ code. Third-party developers wanting to let customers use their applications in the Automator environment will need to write their own set of Actions, in addition to opening them up to AppleScript.

      /zimages/2/28571.gifApple recently said it is expanding support for its no-configuration networking protocol, called Rendezvous, to Windows and Linux developers. Click here to read more.

      /zimages/2/83017.jpg

      The prerelease version of Automator currently comes with 123 Actions that are grouped into categories according to function. The categories include Mail, Find, Alert, People and iPod, and users can search for Actions using Tigers standard Mac OS X search field.

      The alternate view command groups the Actions by keyword, which can be a quick way to narrow down the choice when searching for a particular Action. The set of Actions offered to developers is not restricted to Apples own applications: Currently, it includes Actions included for Microsoft Corp.s PowerPoint presentation software.

      Putting together Actions in Automator is simple: Users drag an Action from the well on the left-hand side of the screen to a list on the right, and then another. If the pair has matching inputs and outputs, the two items will be joined.

      But users wont be able to link together two items that dont match, so that if an Action expects to receive an image, for example, it wont work on a text file. When an output and input dont match, Automator highlights the offending link in red. This may cause some confusion for inexperienced users at its release onset, especially with images stored in PDF, the native file format of Mac OS X—the beta version of Automator currently considers PDF a nonimage format.

      /zimages/2/28571.gifTo view an image gallery of Automator screens, click here.

      How powerful this graphical approach to scripting is will depend on the breadth of the Actions available. Certainly, the preliminary set supplied with the developer release offers a reasonable sample, more than enough for customers to put together a range of effective scripts.

      In addition, Automator users will be able to save completed scripts as sharable, standalone applications, supporting the common Mac interface of drag-and-drop processing of files. A script to batch-convert images to JPEG format, and save the resulting files with amended names, could take as few as three steps with the environment.

      The Actions in the prerelease set include the ability to mount specified servers, create slideshows in QuickTime and Apples iDVD authoring tool, and create events in the iCal calendaring software bundled with the OS. The environment supports alerts and lets the script wait for user input. Scripts also can send and receive messages via iChat or SMS (short message service).

      A number of developers said Automators inclusion of support for shell scripts is a powerful feature, opening the environment up to the resources of the Unix command line. Both AppleScripts and shell scripts are treated by Automator as simply another step in the script. In a script, the results of an Action can be passed to a shell script and its results, then retrieved and passed on for further processing with other Actions.

      /zimages/2/82445.jpg

      Those familiar with the prerelease software said there are gaps in the current set of Actions. Developers looking for a more complex environment for scripting the Mac platform will likely continue with AppleScript Studio, insiders said.

      For example, the current lack of conditionals gives scripts no way of handling error conditions other than to simply abort the script. Developers creating custom workflows for customers in the Macs professional content creation or scientific and technical markets will need the more complex scripting capabilities offered in the current tools, they suggested.

      /zimages/2/28571.gifCheck out eWEEK.coms Macintosh Center at http://macintosh.eweek.com for the latest news, reviews and analysis about Apple in the enterprise.

      /zimages/2/77042.gif

      Be sure to add our eWEEK.com Macintosh news feed to your RSS newsreader or My Yahoo page

      Ian Betteridge
      Ian Betteridge

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.