Characters and Numerics A

Characters and Numerics A

1019 Index ■ > (is greater than) operator, 151, 183, 221, Characters and 252, 372, 382, 869 Numerics ° (degree sign) character, 501 – (en dash) character, 501 16-bit UCS/Unicode Transformation Format - (negation) operator, 150, 217, 219, 224, (UTF-16)encoded files, 497–499 258, 379–380, 386 " (double quote character), 145, 163, 170– - (subtraction) operator, 149–150, 217, 219, 172, 263, 311 224–225, 254–255, 380, 385 1st keyword, 131 - button, Folder Actions Setup utility, 722 2nd keyword, 131 != symbol, 222 3rd keyword, 131 % symbol, 889 24U Appearance, 689 & operator, concatenating strings with, 952 32-bit, scripting additions, 686 (* symbol, 48 444 mode, 891 * (multiplication) operator, 150, 217, 224, 8-bit UCS/Unicode Transformation Format 380 (UTF-8) encoded files, 493, 497, *) symbol, 48 501, 871, 877 / (division) operator, 151, 217, 224, 380, 385 / (slash character), 193, 473 /Library/Scripts/ folder, 73–74, 310 ■ A : (colon character), 472 a reference to operator, 328, 347, 379, 388, ? operator, 372 479–480 \ (backslash character), 171 AAC (Advanced Audio Coding) format, \b construct, 703 Apple, 757 \n (line feed) character, 172–173, 179 About Downloads.pdf file, 475 \r (return) characters, 172–173, 486 about label, 515 \t (tab) character, 172–173, 791 above label, 515 \w modifier, 703 abs_num command, 219 ^ (exponent) operator, 151, 216–217, 220– abs_num handler, 219 221, 224, 380 absolute path, 875 + (addition) operator, 150, 217, 224–225, absolute reference, 96 254, 380, 385 abstract base class, 564 + button, Folder Action Setup utility, 720, abstraction, 538, 930 722 access control lists (ACLs), 890 + symbol, 992–993 access properties, 323 < (is less than) operator, 151, 183, 221, Accessibility Inspector utility, 723, 725 252–253, 372, 381, 869, 885 accidental data sharing, avoiding, 938 = (is equal to) operator, 151, 182–183, 221, account class, 636 252, 372, 381, 402 account object, 636 = symbol, 222 account property, exchange address book == symbol, 222 class, 767 accounts, Exchange, 766–767 1019 1020 Index Accounts pane, System Preferences, 602 find and replace text across many Accounts panel, Mail, 636 files, 701 ACLs (access control lists), 890 find and replace text in string, 698– Acrobat Distiller, Adobe, 355–356, 405 699 action property handler, 662 find and replace with regular action title handler, 662 expressions, 701–706 actions, Cocoa application, 980–981 installing, 698 activate command, 331–334, 631, 677, 725, overview, 697 738, 740–741 vs. script libraries, 549 active document property, 823 Standard Additions active layer property, 829 beep command, 691 active script property, 837–838 coercing URLs, 695 active workbook property, 779 delay command, 692 add chart command, 750 get volume settings command, 692 add command, 630, 659–660 open location command, 695 Add My Signature service, 715 overview, 690 Add Rule or Edit button, 643 say command, 691–692 add table command, 749 set volume command, 692–693 Add to keychain option, authentication system attribute command, 693–694 dialog box, 363 system info command, 694 Add to Phone List action, 661, 663 third-party, 374 add_to_log command, 494 XMail, 690 add_to_log handler, 493–494 Address Book application adding folder items to handler, 719–720 groups, 659–661 addition (+) operator, 150, 217, 224–225, looking up contact information by name, 254, 380, 385 663–665 addition commands, scripting, 147–148, overview, 655 322–323 person elements, 656–658 addition operations, 149 rollovers, 661–663 additions, scripting Address Book Rollover suite, 662 and AppleScript language, 677–678 address books, Exchange, 766–767 compatibility issues address class, 765–766 32-bit-only scripting additions, 686 address property, 641, 765 Mac OS 9 scripting additions, 684 addressing pane, 763 overview, 683 administrator privileges parameter, 876 PowerPC-only scripting additions, Adobe Acrobat Distiller, 355–356, 405 684–685 Adobe Illustrator, 132, 135–137 working around limitations, 686–687 Adobe InDesign scripting distributing with scripts documents embedding within script application, InDesign references, 831 681–683 layers, 829–830 overview, 680 overview, 825–828 using Mac OS X installer, 683 drawing lines, 836 installing, 678–679 graphics, 835–836 missing additions, 679–680 InDesign object model Satimage organization of properties, 820–822 batch-changing file names, 706–707 set properties safely, 824–825 counting occurrences of substring in units of measurement, 823–824 string, 699–700 InDesign Scripts Launcher example, find and replace substring in file, 837–840 700–701 Index 1021 labeling objects for use in workflow alias file class, 114, 117, 140, 474, 564, 588, scripts, 850–852 592–593, 599 overview, 817 alias file objects, 564 preferences specific to AppleScript, alias keyword, 260 852–853 alias list class, 609 replacing tags with images example alias literals, 475–476 overview, 854 alias objects, 87, 377, 474–478, 480, 545 placing graphics, 858–859 alias specifiers, 477, 479 preparing image files, 857 alias value, 719 preparing InDesign, 855–856 aliases, 377 processing tags, 856–857 alignment property, 746 testing script, 860 all day event property, 770 selections all graphics property, 828 captioning selected graphic, 846–848 all occurrences parameter, 700 cleaning up selected text, 848–850 all page items property, 827–828 overview, 845 all paragraph styles property, 828 for servers, 860–861 allday event property, 653 tables alloc message, 989, 993–994 copying formatting between cells, alloc method, 989, 997 843–845 Allow access for: All users radio button, importing from spreadsheet, 842–845 System Preferences Sharing panel, overview, 840 360 text allow page shuffle property, 824–825 overview, 831 alphanumeric characters, 501 references to text, 833–834 altering line endings parameter, 878 text stories, 832–833 alternative endings, with else clause, 391– Adobe Photoshop CS4, 125 392 Adobe PostScript file, 355, 405 American Standard Code for Information Adobe Unit Types.osax, 858 Interchange. See ASCII Adobe User to User forum, 818 ampersand (&) symbol, 38 Advanced Audio Coding (AAC) format, AMTime command, 257, 950, 952, 959 Apple, 757 anchored object settings property, 858 Advanced button, Firewall tab, 360 and operation, 158, 160 Advanced preferences, Finder, 474 and operator, 137, 152, 158, 160, 224, 277, AETE (Apple Event Terminology Extension), 379, 386 120 apart from label, 515 AFP (Apple File Protocol), 619 AppDelegate file, 1009 afplay command, Unix, 873 AppDelegate object, 984 after receiving parameter, 719 Apple Event Terminology Extension (AETE), against label, 515 120 age property, 146 Apple events, 6–7, 9, 56, 90, 432 alarm clock example project, 263–266 Apple Events check box, System alarm elements, 651, 655 Preferences, 359 alert reply record, 448 Apple File Protocol (AFP), 619 alert volume property, 692 Apple iTunes dictionary, 120 alias class, 145, 191, 343, 474, 480, 593, Apple logo character, 201 597, 599–600 Apple web site, 295 alias, converting Finder reference to, 608– apple.com domain, 125 610 AppleMods Loader command, 553 alias expression, 79 AppleMods loader, loading script libraries using, 553–556 1022 Index AppleMods Loader system, 553–554 compiled scripts, 66–69 AppleMods Tools scripting addition, 553 overview, 65 AppleMods web site, 556 script-based applications (applets), AppleModsTools.osax, 257, 553 69–72 Apple's Developer Tools, 200 text-based scripts, 66 AppleScript script windows automating with adding description to script, 57 large tasks, 4–5 compiling script, 54 overview, 3 overview, 53 small tasks, 3–4 recording script, 55–56 when to automate, 5–6 running and stopping script, 55 commands, 7–8 viewing events sent by running Hello World! script, 10–13 script, 56 interacting with Cocoa objects, 982–983 viewing result of running script, 56 objects, 7 scripting AppleScript Editor itself, 61–62 overview, 8–9 services for, 712 scriptable applications, 6–7 setting script formatting preferences, 63 scripts, 9–10 shortcut for, 73 special features of viewing application dictionaries, 57–58 attaching scripts to applications, 29– AppleScript extensions. See also scriptable 30 Faceless Background Applications built-in application scripting support, (FBAs) 29 built-in, 689 community, 30 scriptable FBAs, 688 English-like syntax, 28–29 scripting additions AppleScript alias value, 320 and AppleScript language, 677–678 AppleScript applets, 333 compatibility issues, 683–687 AppleScript Archive mailbox, 646 distributing with scripts, 680–683 AppleScript class, 1009 installing, 678–679 AppleScript code, adding in Xcode missing additions, 679–680 application, 973 Satimage, 697–710 AppleScript compiler, 295–296, 566 Standard Additions, 690–695 AppleScript dictionary, Microsoft Entourage, third-party, 689 765–766 .applescript file, 819 AppleScript Editor AppleScript grammar, 33, 35, 40–42 alternatives to AppleScript language errors, 434–435 command-line tools, 76 AppleScript Language Guide, 200, 295 developing GUI applications, 76 AppleScript language plug-in, 30 system-wide Script menu, 72–74 AppleScript Lists mailbox, 646 third-party AppleScript editors, 74– AppleScript menu, 730 75 AppleScript objects, vs. application objects, Bundle Contents drawer, 62–63 23 context menu scripts, 62 AppleScript PDF graphic library, Smile, 904 debugging in, 938–941 AppleScript Release Notes on Apple's dictionary viewer, 22, 105–107, 119 developer site, 200 Event Log History, 61 AppleScript Studio, 76 icon for, 10 AppleScript syntax, converting to Objective-

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    55 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us