Automating with Applescript
Total Page:16
File Type:pdf, Size:1020Kb

Load more
Recommended publications
-
Join Together Read Me.Rtfd
Join Together v5.1.5 AppleScript Studio Application for iTunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for iTunes. This application will enable you to join the files of selected iTunes tracks together with Quick Time and export them as a single AAC file/track. Optionally, with Apple's "Chapter Tool" application installed, you can then create a "chapterized" audio file of the exported AAC file. Requires: Mac OS 10.4 ("Tiger") or better iTunes 4.9 or better (version 6 or better preferred) QuickTime Player v7.0 or better Chapter Tool required for creating "chapterized" AAC's This application is Donationware. If you use it and like it please consider making a donation to support my AppleScripting efforts. Click here for more info. Installation: Place the Join Together application anywhere it is conveniently accessible. The Applications folder is as good a place as any. Because Join Together is an application I do not recommend placing it in your iTunes Scripts folder since it cannot be accessed from the iTunes Script menu. (See the accompanying "Make A Join Together Launch Script" to create a small AppleScript that can launch Join Together from the iTunes Script menu.) QuickTime v7.x.x In order to export joined files as AAC files you must have QuickTime Player 7 or better. Chapter Tool "Chapter Tool" is a command-line application that assists with creating "chapterized" audio files, (a.k.a enhanced audio files). This script utilizes it to create such files from your joined tracks. You can download the Chapter Tool application (currently Beta 2.0b8 as of this writing) by clicking on the URL clip provided in this script's download package. -
A Brief Technical Introduction
Mac OS X A Brief Technical Introduction Leon Towns-von Stauber, Occam's Razor LISA Hit the Ground Running, December 2005 http://www.occam.com/osx/ X Contents Opening Remarks..............................3 What is Mac OS X?.............................5 A New Kind of UNIX.........................12 A Diferent Kind of UNIX..................15 Resources........................................39 X Opening Remarks 3 This is a technical introduction to Mac OS X, mainly targeted to experienced UNIX users for whom OS X is at least relatively new This presentation covers primarily Mac OS X 10.4.3 (Darwin 8.3), aka Tiger X Legal Notices 4 This presentation Copyright © 2003-2005 Leon Towns-von Stauber. All rights reserved. Trademark notices Apple®, Mac®, Macintosh®, Mac OS®, Finder™, Quartz™, Cocoa®, Carbon®, AppleScript®, Bonjour™, Panther™, Tiger™, and other terms are trademarks of Apple Computer. See <http://www.apple.com/legal/ appletmlist.html>. NeXT®, NeXTstep®, OpenStep®, and NetInfo® are trademarks of NeXT Software. See <http://www.apple.com/legal/nexttmlist.html>. Other trademarks are the property of their respective owners. X What Is It? 5 Answers Ancestry Operating System Products The Structure of Mac OS X X What Is It? Answers 6 It's an elephant I mean, it's like the elephant in the Chinese/Indian parable of the blind men, perceived as diferent things depending on the approach X What Is It? Answers 7 Inheritor of the Mac OS legacy Evolved GUI, Carbon (from Mac Toolbox), AppleScript, QuickTime, etc. The latest version of NeXTstep Mach, Quartz (from Display PostScript), Cocoa (from OpenStep), NetInfo, apps (Mail, Terminal, TextEdit, Preview, Interface Builder, Project Builder, etc.), bundles, faxing from Print panel, NetBoot, etc. -
Things Applescript Guide
Things AppleScript Guide Revision 17, 2018-10-10 http://www.culturedcode.com/ The basics 4 Lists 4 Working with to-dos 5 Getting to-dos 5 Getting to-dos in a specific list 5 Getting project to-dos 5 Getting to-dos in a specific area 6 Adding new to-dos 6 Setting properties for a to do 6 Working with projects 8 Getting projects 8 Adding new projects 8 Setting properties for a project 8 Working with areas 9 Getting areas 9 Adding new areas 9 Setting properties for an area 10 Deleting areas 10 Working with contacts 11 Getting contacts 11 Adding new contacts 11 Things AppleScript Guide 1! Getting all to-dos and projects assigned to a contact 11 Assigning items to contacts 12 Canceling the assignment of contacts 12 Moving items around 13 Moving to-dos/projects between lists 13 Exception: scheduling to-dos and projects 13 Marking to-dos and projects as completed 14 Marking to-dos and projects as canceled 14 Assigning projects to to-dos 14 Assigning areas to projects/to-dos 15 Detaching to-dos/projects from projects/areas 15 Deleting to-dos and projects 15 Working with tags 17 Getting all available tags 17 Creating new tags 17 Getting to do/project tags 17 Setting tags 18 Working with tag hierarchies 18 Deleting tags 19 User interface interactions 20 Getting current selected to-dos 20 Selecting a focus, project, area, or to do 20 Editing a to do/project 20 Integration 22 Displaying the quick entry panel 22 Things AppleScript Guide 2! Other actions 23 Emptying the trash 23 Logging completed items 23 Example scripts 24 Importing items from a text file 24 Things AppleScript Guide 3! The basics Each predefined list visible in the left panel of Things can be accessed via AppleScript. -
Inside Quicktime: Interactive Movies
Inside QuickTime The QuickTime Technical Reference Library Interactive Movies October 2002 Apple Computer, Inc. Java and all Java-based trademarks © 2001 Apple Computer, Inc. are trademarks of Sun Microsystems, All rights reserved. Inc. in the U.S. and other countries. No part of this publication may be Simultaneously published in the reproduced, stored in a retrieval United States and Canada system, or transmitted, in any form or Even though Apple has reviewed this by any means, mechanical, electronic, manual, APPLE MAKES NO photocopying, recording, or WARRANTY OR REPRESENTATION, otherwise, without prior written EITHER EXPRESS OR IMPLIED, WITH permission of Apple Computer, Inc., RESPECT TO THIS MANUAL, ITS with the following exceptions: Any QUALITY, ACCURACY, person is hereby authorized to store MERCHANTABILITY, OR FITNESS documentation on a single computer FOR A PARTICULAR PURPOSE. AS A for personal use only and to print RESULT, THIS MANUAL IS SOLD “AS copies of documentation for personal IS,” AND YOU, THE PURCHASER, ARE use provided that the documentation ASSUMING THE ENTIRE RISK AS TO contains Apple’s copyright notice. ITS QUALITY AND ACCURACY. The Apple logo is a trademark of IN NO EVENT WILL APPLE BE LIABLE Apple Computer, Inc. FOR DIRECT, INDIRECT, SPECIAL, Use of the “keyboard” Apple logo INCIDENTAL, OR CONSEQUENTIAL (Option-Shift-K) for commercial DAMAGES RESULTING FROM ANY purposes without the prior written DEFECT OR INACCURACY IN THIS consent of Apple may constitute MANUAL, even if advised of the trademark infringement and unfair possibility of such damages. competition in violation of federal and state laws. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND No licenses, express or implied, are IN LIEU OF ALL OTHERS, ORAL OR granted with respect to any of the WRITTEN, EXPRESS OR IMPLIED. -
MAC MANIA #10 PROGRAM Headaches
• Shoot Raw with confidence without having to worry about post production MAC MANIA #10 PROGRAM headaches. • Take advantage of Aperture’s robust database to manage hun- dreds of projects. • Archive your work so your creative investment is protected Sunday, May 2, 2010 for years to come. • Process your images to reach their full potential using Aperture’s non-destructive editing tools. • Output your pictures to a variety of 6pm – 7pm Bon Voyage Party — [ Crow’s Nest ] media, from print to web. • Tap the power of metadata to attach the information you need included with each photo. • Upgrade your workflow from iPhoto to Monday, May 3, 2010 Aperture. • Soon, you will have designed the perfect photo workflow for you 8:30am – 10am Numbers ’09 using Aperture’s versatile tools. Josimar King – [ Half Moon ] 2pm – 3:30pm Services in Snow Leopard Introducing Numbers ’09, the spreadsheet you’ve been waiting for — and already know Sal Soghoian – [ Hudson ] how to use. Innovative, powerful, and intuitive, Numbers ’09 lets you do everything from Without a doubt, the best feature of Mac OS X v10.6 (Snow Leopard) is the newly revamped setting up your family budget to completing a lab report to creating detailed financial Services menu. Services are now contextual, convenient, configurable, and customizable, documents. delivering the power of automation to the tip of your mouse cursor. Make your own ap- 8:30am – Noon How I Did It: A Course in High Impact Photography plication launchers, text editing, image manipulating, and audio processing tools that are Derrick Story – [ Wajang ] available when and where you need them. -
ADOBE ILLUSTRATOR CC SCRIPTING REFERENCE: APPLESCRIPT © 2013 Adobe Systems Incorporated
ADOBE® ILLUSTRATOR® CC ADOBE ILLUSTRATOR CC SCRIPTING REFERENCE: APPLESCRIPT © 2013 Adobe Systems Incorporated. All rights reserved. Adobe Illustrator CC Scripting Reference: AppleScript If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner. Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization. -
Copyrighted Material
WY019_Index[275-285].qxd 7/16/04 12:13 AM Page 275 Quark08 Quark08:Books:WY019-KNASTER:Chapters: Index A List Notes, 31 AA batteries, 18 MacCentral, 31 AAC. See also Advanced Audio Coding Printer Friendly, 31 files, 233 AppleScript Studio software, 201 format, 172 AppleScript technology, 30 absolute and relative references, 252 Aqua user interface, 70 account information, seeing or changing, 229 around the store, getting, 223 adapter, 57 art4iTunes, 132 Address Book, 22 artists, 9, 191 Advanced Audio Coding (AAC), 172 getting information, 235 advanced battery info, 63 ATI Remote Wonder II, 166 Advanced Options screen, 89 audio book AIFF, 173 custom features, 34 AirPort, 161 downloading, 13, 34 AirPort Express, 162 feature, 34 working of, 165 listening to, 233 AirTunes Audio Hijack, 184 features of, 164 Audio Hijack Pro, 184 limitations of, 164 audio-CDs-as-backup strategy, 208 alarm clock auto size all columns, 218 applications, 147 automate CD ripping, 171, 175 feature, 29 auto-scroll, 112 album, 9 album art, 131, 209, 219 B album artwork with Google, finding. See also album art Backup Battery Pack, 19 All Recorder utility, 185 base station. See Play music over WiFi Apple Account Information screen, 229 basic music playing features in iTunes Apple and iPod news and rumors Playlists, 103 CNET, 262 battery icon, restoring, 53 Crazy Apple Rumors, 263 battery replacement Google News, 262 steps for, 62 Mac Rumors, 263 surgery, 61 MacMinute, 262 Belkin digital camera link for iPod, 18 MacNN, 262 Belkin Media Reader, 16 MacSlash, 262 Belkin’s -
Macworld SF 2003 Overview
Macworld SF 2003 Overview By Richard Glaser University of Utah Student Computing Labs Keynote People.... MSN? No... Portable Loser Switchers Just a Mac User ;-) Hey, I was one of them? Keynote Rumors, rumors and more rumors... Keynote Less notable topics • Switcher campaign – Best that Apple’s Done • Revenue – Apple Stores $148 Million • .mac – 250,000 paying subscribers • iPod – 42% Market share in Japan • Office Party – Buy a Mac get $300 off • QuickBooks Pro – Started shipping • iLife – iPhoto 2, iMovie 3 & iDVD 3 Keynote Burton Amp Jacket iPod, Skiing & Snowboarding Keynote Burton Amp Jacket iPod, Skiing & Snowboarding – 1 Min 3 Sec Keynote ProTools for Mac OS X Dave Lebolt from Digidesign Keynote – New PowerBooks Final Cut Express – Pro Video Tools at a affordable price • Optimized for the DV25 format: MiniDV and DVCAM (NTSC or PAL) • Integrated compositing and effects • Robust real-time preview of effects • High-quality DV YUV-based effects rendering • Exports DVD Studio Pro iDVD chapter markers • Imports layered Photoshop files and many other graphic files • Real-time audio mixing and audio effects • Compatible with Final Cut Pro for easy upgrade • Price – $149 • – Keynote Final Cut Express – Keynote Presentation Phil Schiller from Apple Computer Keynote – New Browser Safari – AKA CyberDog 3 • Speed – The fastest Mac browser • Google – Built-in Google Search • Snapback – Returns you to last address you typed • Bookmarks – Library, Naming Sheet, Shuffle • Pop-Ups – Stops pop-up advertisement windows • Bug Button – Send feedback & bugs -
Applescript for Absolute Starters
APPLESCRIPT FOR ABSOLUTE STARTERS By Bert Altenburg INTRODUCTION AppleScript is a revolutionary Apple technology that makes communication between computer programs possible. For example, with AppleScript you can - retrieve e-mails from Mail and store them in a database; - tell a picture editing program to change the resolution of a series of pictures, resize them, and send the resulting pictures to another computer or post them on the Web; - and much, much more. An AppleScript, or script for short, is a series of written instructions in a scripting language named AppleScript. This language resembles the English language, making AppleScripts both easy to read, write and understand. Despite its power, AppleScript is heavily used in a couple of fields only. The publishing industry depends on it for workflow automation (PhotoShop, QuarkExpress, InDesign). Filemaker Pro developers use it for creating Mac-based kiosks, which you can find in malls and museums (k-Builder). Apart from the programs mentioned, many more major and minor Macintosh programs like GraphicConverter, BBEdit, and Word are AppleScriptable. That means you can use AppleScript to boss these programs around. Scripting applications is not the focus of this book, however. There are other books on the market that show you how to do that. If these books provide an introduction to AppleScript, it is usually cursory and they quickly dash to the really juicy stuff, which generally requires a modest or good knowledge of the basics of AppleScript. The aim of this book is to provide you just that. It is intended to update and expand this book on a regular basis. -
November Issue
NOVEMBER 2001 MICROSOFT OFFICE X FIRST LOOK AT NEW FEATURES MAC OS X 10.1 • OFFICE X • DIGITAL CAMERAS • FILM SCANNERS • ILLUSTRATOR 10 • COLOUR MANAGEMENT 10 • COLOUR CAMERAS • FILM SCANNERS ILLUSTRATOR MAC OS X 10.1 • OFFICE DIGITAL MORE NEWS, MORE REVIEWS OS X 10.1 The real deal World’s best operating system • Digital cameras on test • Adobe Illustrator 10 preview • Expert Dreamweaver tips • Film scanners reviewed • Maya • Adobe InDesign 2 • Macworld Gamers’ Club read me first Simon Jary Hooray! A workable version editor-in-chief of Mac OS X is finally with us. But it’s been a long time coming… The wait of the world uch has been written about Apple’s almost getting the ultra-modern operating system to run laughably exhaustive and ultimately abortive Photoshop, XPress and Duke Nukem. We, the users, attempts to update its Mac operating system demanded it – and so must take some of the blame for the M during the 1990s. After several expensive long delay between Apple buying NeXT and actually shipping failures, Apple poured all its efforts into a do-or-die project X 10.1. Another massive hurdle for Tevanian’s team was called Copland. It died, and Apple had to buy a company making the Intel-based NeXT technologies run on PowerPC. called NeXT that had something at least approaching a We didn’t want to ditch our Macs for Pentium PCs, did we? usable and modern operating system. The delay hurt many of the early (high) hopes for the As you’ll read all over this issue, Apple now has a capable rejuvenated, modernized Apple. -
IM: IC: Scripting Components
CHAPTER 10 Scripting Components 10 This chapter describes how your application can use the Component Manager and scripting components to manipulate and execute scripts. Before you read this chapter, you should read the chapter “Introduction to Scripting” in this book and the chapters about the Apple Event Manager that are relevant to your application. Your application can use the standard scripting component data structures and routines described in this chapter to manipulate scripts written in any scripting language based on the Open Scripting Architecture (OSA). Your application need not be scriptable or recordable to use these routines. However, if your application is scriptable, you can easily make it capable of manipulating and executing scripts that control its own behavior. The first section in this chapter describes how to establish a connection with a scripting component. The next two sections provide ■ examples of how to use the standard scripting component routines ■ information for developers of scripting components The section “Scripting Components Reference” describes, in addition to the standard scripting component routines, routines provided by the AppleScript component, routines provided by the generic scripting component, and routines called by scripting components. 10 If you are developing a scripting component, you should also read the instructions for creating components in the chapter “Component Manager” in Inside Macintosh: Scripting Components More Macintosh Toolbox. Connecting to a Scripting Component 10 To manipulate and execute scripts written in different scripting languages, your application can use Component Manager routines either to open a connection with each corresponding scripting component individually or to open a single connection with the generic scripting component. -
Quicktime 4.1
QuickTime 4.1 Apple Technical Publications January 2000 Apple Computer, Inc. Apple, the Apple logo, FireWire, Mac, LIMITED WARRANTY ON MEDIA AND © 2000 Apple Computer, Inc. Macintosh, and QuickTime are REPLACEMENT All rights reserved. trademarks of Apple Computer, Inc., ALL IMPLIED WARRANTIES ON THIS No part of this publication or the registered in the United States and other MANUAL, INCLUDING IMPLIED software described in it may be countries. WARRANTIES OF MERCHANTABILITY reproduced, stored in a retrieval system, The QuickTime logo is a trademark of AND FITNESS FOR A PARTICULAR or transmitted, in any form or by any Apple Computer, Inc. PURPOSE, ARE LIMITED IN DURATION means, mechanical, electronic, Adobe, Acrobat, Photoshop, and TO NINETY (90) DAYS FROM THE DATE photocopying, recording, or otherwise, PostScript are trademarks of Adobe OF DISTRIBUTION OF THIS PRODUCT. without prior written permission of Systems Incorporated or its subsidiaries Even though Apple has reviewed this Apple Computer, Inc., except in the and may be registered in certain manual, APPLE MAKES NO WARRANTY normal use of the software or to make a jurisdictions. OR REPRESENTATION, EITHER EXPRESS backup copy of the software or Flash is a trademark of Macromedia OR IMPLIED, WITH RESPECT TO THIS documentation. The same proprietary Incorporated. MANUAL, ITS QUALITY, ACCURACY, and copyright notices must be affixed to MacPaint is a trademark of Apple MERCHANTABILITY, OR FITNESS FOR A any permitted copies as were affixed to Computer, Inc., registered in the U.S. PARTICULAR PURPOSE. AS A RESULT, the original. This exception does not and other countries. THIS MANUAL IS DISTRIBUTED “AS IS,” allow copies to be made for others, AND YOU ARE ASSUMING THE ENTIRE whether or not sold, but all of the Helvetica and Palatino are registered trademarks of Linotype-Hell AG and/or RISK AS TO ITS QUALITY AND material purchased (with all backup ACCURACY.