reklama - zainteresowany?

AppleScript: The Missing Manual. The Missing Manual - Helion

AppleScript: The Missing Manual. The Missing Manual
ebook
Autor: Adam Goldstein
ISBN: 978-05-965-5310-4
stron: 352, Format: ebook
Data wydania: 2005-01-31
Księgarnia: Helion

Cena książki: 92,65 zł (poprzednio: 107,73 zł)
Oszczędzasz: 14% (-15,08 zł)

Dodaj do koszyka AppleScript: The Missing Manual. The Missing Manual

Tagi: Programowanie

From newspapers to NASA, Mac users around the world use AppleScript to automate their daily computing routines. Famed for its similarity to English and its ease of integration with other programs, AppleScript is the perfect programming language for time-squeezed Mac fans. As beginners quickly realize, however, AppleScript has one major shortcoming: it comes without a manual.No more. You don't need a degree in computer science, a fancy system administrator title, or even a pocket protector and pair of nerdy glasses to learn the Mac's most popular scripting language; you just need the proper guide at your side. AppleScript: The Missing Manual is that guide.Brilliantly compiled by author Adam Goldstein, AppleScript: The Missing Manual is brimming with useful examples. You'll learn how to clean up your Desktop with a single click, for example, and how to automatically optimize pictures for a website. Along the way, you ll learn the overall grammar of AppleScript, so you can write your own customized scripts when you feel the need.Naturally, AppleScript: The Missing Manual isn't merely for the uninitiated scripter. While its hands-on approach certainly keeps novices from feeling intimidated, this comprehensive guide is also suited for system administrators, web and graphics professionals, musicians, scientists, mathematicians, engineers, and others who need to learn the ins and outs of AppleScript for their daily work.Thanks to AppleScript: The Missing Manual, the path from consumer to seasoned script has never been clearer. Now you, too, can automate your Macintosh in no time.

Dodaj do koszyka AppleScript: The Missing Manual. The Missing Manual

 

Osoby które kupowały "AppleScript: The Missing Manual. The Missing Manual", wybierały także:

  • Zen Steve'a Jobsa
  • ASP.NET MVC. Kompletny przewodnik dla programistów interaktywnych aplikacji internetowych w Visual Studio
  • jQuery, jQuery UI oraz jQuery Mobile. Receptury
  • Scratch. Komiksowa przygoda z programowaniem
  • Baltie. Kurs video. Poziom pierwszy. Elementarz programowania w jÄ™zyku wizualnym

Dodaj do koszyka AppleScript: The Missing Manual. The Missing Manual

Spis treści

AppleScript: The Missing Manual. The Missing Manual eBook -- spis treści

  • AppleScript: The Missing Manual
    • SPECIAL OFFER: Upgrade this ebook with OReilly
    • A Note Regarding Supplemental Files
    • The Missing Credits
      • About the Author
      • About the Creative Team
      • Acknowledgments
      • The Missing Manual Series
    • Foreword
    • Introduction
      • Uses for AppleScript
      • Advantages and Disadvantages
      • About This Book
        • What Youll Need
        • About the Outline
        • About These Arrows
        • About MissingManuals.com
        • The Very Basics
    • I. AppleScript Overview
      • 1. Setting Up AppleScript
        • 1.1. The Script Menu
          • 1.1.1. Address Book Scripts
          • 1.1.2. Basics
          • 1.1.3. ColorSync
          • 1.1.4. Finder Scripts
          • 1.1.5. Folder Actions
          • 1.1.6. FontSync Scripts
          • 1.1.7. Info Scripts
          • 1.1.8. Internet Scripts
          • 1.1.9. Mail Scripts
          • 1.1.10. Navigation Scripts
          • 1.1.11. Printing Scripts
          • 1.1.12. Script Editor Scripts
          • 1.1.13. Sherlock Scripts
          • 1.1.14. UI Element Scripts
          • 1.1.15. URLs
          • 1.1.16. Customizing the Script Menu
            • 1.1.16.1. Adding new scripts
            • 1.1.16.2. Rearranging submenus
        • 1.2. Working with the Scripts You Have
          • 1.2.1. Opening a Script
          • 1.2.2. Analyzing How It Works
          • 1.2.3. Changing What It Does
      • 2. Using Script Editor
        • 2.1. The Script Editor Look
          • 2.1.1. The Toolbar
            • 2.1.1.1. Record
            • 2.1.1.2. Stop
            • 2.1.1.3. Run
            • 2.1.1.4. Compile
            • 2.1.1.5. Customizing the toolbar
          • 2.1.2. The Script Field
          • 2.1.3. The Info Field
            • 2.1.3.1. Description
            • 2.1.3.2. Result
            • 2.1.3.3. Event Log
        • 2.2. Script Formats
          • 2.2.1. Script Files
          • 2.2.2. Applications
          • 2.2.3. Plain Text Documents
        • 2.3. Setting Script Editor's Preferences
          • 2.3.1. General
          • 2.3.2. Editing
          • 2.3.3. Formatting
          • 2.3.4. History
          • 2.3.5. Plug-ins
      • 3. Building a Script from Scratch
        • 3.1. Getting Started
          • 3.1.1. Displaying a Simple Dialog Box
          • 3.1.2. Displaying Numbers
          • 3.1.3. More than One Command
        • 3.2. Commanding Other Programs
          • 3.2.1. Using tell Statements
          • 3.2.2. Opening a Dictionary
          • 3.2.3. Looking for the Commands You Want
            • 3.2.3.1. Checking whether the folder is already there
            • 3.2.3.2. Displaying the other dialog box
          • 3.2.4. Displaying a Window in the Finder
    • II. Everyday Scripting Tasks
      • 4. Manipulating Text
        • 4.1. String Notation
        • 4.2. Getting Text Back from Dialog Boxes
        • 4.3. Linking Strings Together
        • 4.4. Multiline Strings
        • 4.5. Scripting TextEdit
          • 4.5.1. Create a New TextEdit Document
          • 4.5.2. Adding Text to a New Document
          • 4.5.3. Adding Formatting
            • 4.5.3.1. Inserting a new line after the date
            • 4.5.3.2. Changing the font and size
        • 4.6. Adding Word Count
          • 4.6.1. Employing the Text Suite
        • 4.7. Commanding Microsoft Word
          • 4.7.1. Adapting a TextEdit Script
          • 4.7.2. Shrinking Documents by a Page
          • 4.7.3. Repeating the Shrinking
          • 4.7.4. Shrinking a Variable Number of Times
        • 4.8. Running Scripts from Text
          • 4.8.1. Get Result of AppleScript
          • 4.8.2. Make New AppleScript
          • 4.8.3. Run as AppleScript
      • 5. Controlling Files
        • 5.1. File Path Boot Camp
        • 5.2. Displaying Folders
          • 5.2.1. Opening a Folder with AppleScript (Reprise)
          • 5.2.2. Changing a Finder Window's View
          • 5.2.3. More Finder Window Settings
          • 5.2.4. Working with More than One Window
          • 5.2.5. Subroutines
            • 5.2.5.1. Defining a subroutine
            • 5.2.5.2. Running a subroutine
            • 5.2.5.3. Variables in subroutines
            • 5.2.5.4. Writing the appropriate subroutine
        • 5.3. Moving Files Around
          • 5.3.1. Transferring Items from One Folder to Another
            • 5.3.1.1. Creating the destination folder
            • 5.3.1.2. Eliminating the "already an item with that name" error
            • 5.3.1.3. Moving the files and folders
        • 5.4. Backing Up Files
          • 5.4.1. The duplicate Command
        • 5.5. Deleting Files
          • 5.5.1. An Example: Clearing Out Safari's Icon Cache
        • 5.6. Picking a File from a Dialog Box
          • 5.6.1. Showing When a File was Created
        • 5.7. Saving Files
          • 5.7.1. An Example: Saving in TextEdit
          • 5.7.2. Forgoing the Dialog Box
          • 5.7.3. Saving All Documents at Once
      • 6. Creating Lists
        • 6.1. Common List Commands
        • 6.2. Displaying Lists
          • 6.2.1. Getting the Selected Item
        • 6.3. The Ever-Useful every Keyword
          • 6.3.1. An Example: Displaying a List of Running Programs
        • 6.4. List Processing
          • 6.4.1. Batch Renaming
        • 6.5. Joining Lists Together
          • 6.5.1. Merging File Lists
        • 6.6. Inputting Lists
          • 6.6.1. Adding Items One at a Time
          • 6.6.2. Adding Multiple Items at Once
        • 6.7. Getting Lists from Other Programs
          • 6.7.1. TextEdit
            • 6.7.1.1. Listing documents
          • 6.7.2. Microsoft Word
      • 7. Organizing and Editing Graphics
        • 7.1. Scripting iPhoto
          • 7.1.1. Accessing Pictures by Certain Criteria
          • 7.1.2. Getting Random Pictures
            • 7.1.2.1. Getting some item
          • 7.1.3. Showing Slideshows
        • 7.2. Controlling Photoshop
          • 7.2.1. Recording Actions
          • 7.2.2. Wrapping Actions in an AppleScript
          • 7.2.3. Other Photoshop Commands
          • 7.2.4. Filtering Images
            • 7.2.4.1. An example: Making an image look surreal
            • 7.2.4.2. Mixing your two Photoshop scripts
        • 7.3. Image Events
          • 7.3.1. Getting Image Dimensions
          • 7.3.2. Padding an Image
          • 7.3.3. Creating a Droplet
            • 7.3.3.1. Adapting your script
          • 7.3.4. Converting Images from One Format to Another
      • 8. Playing Sound and Video
        • 8.1. Scripting iTunes
          • 8.1.1. Playing Tracks
          • 8.1.2. Rating Songs
          • 8.1.3. Skipping Tracks
          • 8.1.4. Converting Song Files
        • 8.2. Speaking and Listening
          • 8.2.1. Speaking from a Script
            • 8.2.1.1. Linking your script to a keyboard shortcut
          • 8.2.2. Making a File Speak
            • 8.2.2.1. Converting Clipboard text into audio
            • 8.2.2.2. Reading multiple emails into a file
          • 8.2.3. Speaking to a Script
        • 8.3. Scripting QuickTime
          • 8.3.1. Getting Started
          • 8.3.2. Presenting a Movie Full-Screen
          • 8.3.3. Including a Movie with Your Script
          • 8.3.4. Rotating a Movie
      • 9. Internet and Network Scripting
        • 9.1. Internet Connect
          • 9.1.1. Dialing Up to the Internet
          • 9.1.2. Finding AirPort Signal Strength
        • 9.2. Safari
          • 9.2.1. Opening Web Sites
            • 9.2.1.1. Opening Web sites within the same window
          • 9.2.2. Viewing a Site's Code
          • 9.2.3. Viewing a Site Without Formatting
          • 9.2.4. Running AppleScripts from Safari
            • 9.2.4.1. Scripts that appear on Web pages
            • 9.2.4.2. Mini-scripts in the Address bar
            • 9.2.4.3. Saved scripts in the Favorites bar
        • 9.3. Address Book
          • 9.3.1. Finding Contacts
          • 9.3.2. Adding Contacts to a Group
        • 9.4. Mail
          • 9.4.1. Checking for New Messages
          • 9.4.2. Mailboxes, Etc.
            • 9.4.2.1. Finding mailboxes with unread messages
        • 9.5. iChat Control
          • 9.5.1. Notifying iChat when the Screensaver's On
          • 9.5.2. Displaying a Random Status Message
        • 9.6. URL Access Scripting
          • 9.6.1. Downloading a File Quickly
          • 9.6.2. Uploading a File
        • 9.7. Recalling Passwords
      • 10. Organizing Information in Databases
        • 10.1. Record Notation
        • 10.2. Making a Simple AppleScript Database
          • 10.2.1. Searching an AppleScript Database
        • 10.3. Getting File Information
          • 10.3.1. Useful Properties
        • 10.4. Scripting FileMaker Pro
          • 10.4.1. Creating a New FileMaker Database
          • 10.4.2. Entering Information into a FileMaker Database
            • 10.4.2.1. Enter your information manually
            • 10.4.2.2. Use an AppleScript to enter your information
          • 10.4.3. Sorting FileMaker Records
    • III. Power-User Features
      • 11. Linking Scripts to Folders with Folder Actions
        • 11.1. Enabling Folder Actions
        • 11.2. Built-in Actions
          • 11.2.1. Attaching a Folder Action
          • 11.2.2. The Included Folder Action Scripts
          • 11.2.3. Viewing and Changing an Action's Code
            • 11.2.3.1. An example: shortening button names in a folder action's dialog box
          • 11.2.4. Removing an Action
            • 11.2.4.1. Removing all actions
        • 11.3. Running Your Own Actions
          • 11.3.1. When a Folder Opens
          • 11.3.2. When You Add Files to a Folder
            • 11.3.2.1. An example: Sending files to the Trash can
            • 11.3.2.2. Moving old desktop files
      • 12. Scripting Programs That Don't Have Dictionaries
        • 12.1. Enabling GUI Scripting
        • 12.2. GUI Scripting Basics
        • 12.3. Controlling Menus
        • 12.4. Clicking Buttons
          • 12.4.1. Clicking Tab Buttons
        • 12.5. Deciphering Interface Hierarchies
        • 12.6. Fake Typing
          • 12.6.1. Zooming In and Out
      • 13. Mixing AppleScript and Unix
        • 13.1. Terminal
          • 13.1.1. Changing System Settings
          • 13.1.2. Unix Text Editing
        • 13.2. Unix Without Terminal
          • 13.2.1. Getting Program Results Back
        • 13.3. Running Superuser Commands
        • 13.4. Running AppleScripts from Unix
        • 13.5. Scheduling AppleScript Commands
      • 14. Testing and Debugging Scripts
        • 14.1. First Line of Defense: The Compiler
        • 14.2. Noting Important Events
          • 14.2.1. The Event Log
          • 14.2.2. The Event Log History
            • 14.2.2.1. Navigating logs
            • 14.2.2.2. The toolbar
        • 14.3. Preventing Errors
        • 14.4. Isolating and Handling Errors
          • 14.4.1. Using try
            • 14.4.1.1. Multiple commands in a try statement
          • 14.4.2. Discovering Errors
        • 14.5. The Xcode Debugger
          • 14.5.1. Obtaining and Installing the Developer Tools
          • 14.5.2. Creating a New Project
          • 14.5.3. Changing the Script
          • 14.5.4. Stepping Through the Code
      • 15. AppleScript Studio
        • 15.1. What Is AppleScript Studio?
        • 15.2. Making a Program
          • 15.2.1. Creating a Project
          • 15.2.2. Designing the Interface
          • 15.2.3. Writing the Code
          • 15.2.4. Running the Program
    • IV. Appendixes
      • A. AppleScript Support in Common Programs
        • A.1. Databases
        • A.2. Email Programs
        • A.3. Graphics Editors
        • A.4. Page Layout Programs
        • A.5. Plain Text Editors
        • A.6. Word Processors
        • A.7. Web Browsers
      • B. Moving from HyperCard to AppleScript
        • B.1. Data Types
        • B.2. Dialog Boxes
        • B.3. Existence
        • B.4. Numbers
        • B.5. Pausing
        • B.6. Ranges
        • B.7. Repeat Statements
        • B.8. Subroutines
        • B.9. Variables
      • C. Where to Go from Here
        • C.1. Web Sites
          • C.1.1. AppleScript Sites
          • C.1.2. Other Mac Programming Sites
        • C.2. Discussion Lists
        • C.3. Books
    • About the Author
    • Colophon
    • SPECIAL OFFER: Upgrade this ebook with OReilly

Dodaj do koszyka AppleScript: The Missing Manual. The Missing Manual

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.