home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-03-23 | 236.9 KB | [ ONLN/HLX2]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
1%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, inited, Tue Mar 23 04:32:07 1993, modified Tue Mar 23 09:11:57 1993, creator 'HLX2', type 'ONLN', 235388 bytes "Getting Started Guide" , at 0x397fc 6987 bytes resource
default (weak)
99%
file
data
default
100%
TrID
MacBinary 2
default (weak)
100%
dearkID
deark: macbinary
default
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ ONLN] macFileCreator [ HLX2]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 15 47 65 74 74 69 6e | 67 20 53 74 61 72 74 65 |..Gettin|g Starte| |00000010| 64 20 47 75 69 64 65 00 | 00 00 00 00 00 00 00 00 |d Guide.|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......| |00000050| 00 00 00 00 03 97 7c 00 | 00 1b 4b a7 d4 89 97 a7 |......|.|..K.....| |00000060| d4 cb 2d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..-.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d2 2b 00 00 |........|.....+..| |00000080| 41 70 70 6c 65 53 63 72 | 69 70 74 0d 20 47 65 74 |AppleScr|ipt. Get| |00000090| 74 69 6e 67 20 53 74 61 | 72 74 65 64 20 47 75 69 |ting Sta|rted Gui| |000000a0| 64 65 0d 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |de.Apple| Compute| |000000b0| 72 2c 20 49 6e 63 2e 0d | 54 68 69 73 20 6d 61 6e |r, Inc..|This man| |000000c0| 75 61 6c 20 61 6e 64 20 | 74 68 65 20 73 6f 66 74 |ual and |the soft| |000000d0| 77 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 69 |ware des|cribed i| |000000e0| 6e 20 69 74 20 61 72 65 | 20 63 6f 70 79 72 69 67 |n it are| copyrig| |000000f0| 68 74 65 64 2c 20 77 69 | 74 68 20 61 6c 6c 20 72 |hted, wi|th all r| |00000100| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 20 |ights re|served. | |00000110| 55 6e 64 65 72 20 74 68 | 65 20 63 6f 70 79 72 69 |Under th|e copyri| |00000120| 67 68 74 20 6c 61 77 73 | 2c 20 74 68 69 73 20 6d |ght laws|, this m| |00000130| 61 6e 75 61 6c 20 6f 72 | 20 74 68 65 20 73 6f 66 |anual or| the sof| |00000140| 74 77 61 72 65 20 6d 61 | 79 20 6e 6f 74 20 62 65 |tware ma|y not be| |00000150| 20 63 6f 70 69 65 64 2c | 20 69 6e 20 77 68 6f 6c | copied,| in whol| |00000160| 65 20 6f 72 20 70 61 72 | 74 2c 20 77 69 74 68 6f |e or par|t, witho| |00000170| 75 74 20 77 72 69 74 74 | 65 6e 20 63 6f 6e 73 65 |ut writt|en conse| |00000180| 6e 74 20 6f 66 20 41 70 | 70 6c 65 2c 20 65 78 63 |nt of Ap|ple, exc| |00000190| 65 70 74 20 69 6e 20 74 | 68 65 20 6e 6f 72 6d 61 |ept in t|he norma| |000001a0| 6c 20 75 73 65 20 6f 66 | 20 74 68 65 20 73 6f 66 |l use of| the sof| |000001b0| 74 77 61 72 65 20 6f 72 | 20 74 6f 20 6d 61 6b 65 |tware or| to make| |000001c0| 20 61 20 62 61 63 6b 75 | 70 20 63 6f 70 79 20 6f | a backu|p copy o| |000001d0| 66 20 74 68 65 20 73 6f | 66 74 77 61 72 65 2e 20 |f the so|ftware. | |000001e0| 54 68 65 20 73 61 6d 65 | 20 70 72 6f 70 72 69 65 |The same| proprie| |000001f0| 74 61 72 79 20 61 6e 64 | 20 63 6f 70 79 72 69 67 |tary and| copyrig| |00000200| 68 74 20 6e 6f 74 69 63 | 65 73 20 6d 75 73 74 20 |ht notic|es must | |00000210| 62 65 20 61 66 66 69 78 | 65 64 20 74 6f 20 61 6e |be affix|ed to an| |00000220| 79 20 70 65 72 6d 69 74 | 74 65 64 20 63 6f 70 69 |y permit|ted copi| |00000230| 65 73 20 61 73 20 77 65 | 72 65 20 61 66 66 69 78 |es as we|re affix| |00000240| 65 64 20 74 6f 20 74 68 | 65 20 6f 72 69 67 69 6e |ed to th|e origin| |00000250| 61 6c 2e 20 54 68 69 73 | 20 65 78 63 65 70 74 69 |al. This| excepti| |00000260| 6f 6e 20 64 6f 65 73 20 | 6e 6f 74 20 61 6c 6c 6f |on does |not allo| |00000270| 77 20 63 6f 70 69 65 73 | 20 74 6f 20 62 65 20 6d |w copies| to be m| |00000280| 61 64 65 20 66 6f 72 20 | 6f 74 68 65 72 73 2c 20 |ade for |others, | |00000290| 77 68 65 74 68 65 72 20 | 6f 72 20 6e 6f 74 20 73 |whether |or not s| |000002a0| 6f 6c 64 2c 20 62 75 74 | 20 61 6c 6c 20 6f 66 20 |old, but| all of | |000002b0| 74 68 65 20 6d 61 74 65 | 72 69 61 6c 20 70 75 72 |the mate|rial pur| |000002c0| 63 68 61 73 65 64 20 28 | 77 69 74 68 20 61 6c 6c |chased (|with all| |000002d0| 20 62 61 63 6b 75 70 20 | 63 6f 70 69 65 73 29 20 | backup |copies) | |000002e0| 6d 61 79 20 62 65 20 73 | 6f 6c 64 2c 20 67 69 76 |may be s|old, giv| |000002f0| 65 6e 2c 20 6f 72 20 6c | 6f 61 6e 65 64 20 74 6f |en, or l|oaned to| |00000300| 20 61 6e 6f 74 68 65 72 | 20 70 65 72 73 6f 6e 2e | another| person.| |00000310| 20 55 6e 64 65 72 20 74 | 68 65 20 6c 61 77 2c 20 | Under t|he law, | |00000320| 63 6f 70 79 69 6e 67 20 | 69 6e 63 6c 75 64 65 73 |copying |includes| |00000330| 20 74 72 61 6e 73 6c 61 | 74 69 6e 67 20 69 6e 74 | transla|ting int| |00000340| 6f 20 61 6e 6f 74 68 65 | 72 20 6c 61 6e 67 75 61 |o anothe|r langua| |00000350| 67 65 20 6f 72 20 66 6f | 72 6d 61 74 2e 0d 59 6f |ge or fo|rmat..Yo| |00000360| 75 20 6d 61 79 20 75 73 | 65 20 74 68 65 20 73 6f |u may us|e the so| |00000370| 66 74 77 61 72 65 20 6f | 6e 20 61 6e 79 20 63 6f |ftware o|n any co| |00000380| 6d 70 75 74 65 72 20 6f | 77 6e 65 64 20 62 79 20 |mputer o|wned by | |00000390| 79 6f 75 2c 20 62 75 74 | 20 65 78 74 72 61 20 63 |you, but| extra c| |000003a0| 6f 70 69 65 73 20 63 61 | 6e 6e 6f 74 20 62 65 20 |opies ca|nnot be | |000003b0| 6d 61 64 65 20 66 6f 72 | 20 74 68 69 73 20 70 75 |made for| this pu| |000003c0| 72 70 6f 73 65 2e 0d a9 | 20 41 70 70 6c 65 20 43 |rpose...| Apple C| |000003d0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 2c 20 31 |omputer,| Inc., 1| |000003e0| 39 39 33 0d 32 30 35 32 | 35 20 4d 61 72 69 61 6e |993.2052|5 Marian| |000003f0| 69 20 41 76 65 6e 75 65 | 20 0d 43 75 70 65 72 74 |i Avenue| .Cupert| |00000400| 69 6e 6f 2c 20 43 41 20 | 20 39 35 30 31 34 2d 36 |ino, CA | 95014-6| |00000410| 32 39 39 0d 28 34 30 38 | 29 20 39 39 36 2d 31 30 |299.(408|) 996-10| |00000420| 31 30 0d 41 70 70 6c 65 | 2c 20 74 68 65 20 41 70 |10.Apple|, the Ap| |00000430| 70 6c 65 20 6c 6f 67 6f | 2c 20 61 6e 64 20 4d 61 |ple logo|, and Ma| |00000440| 63 69 6e 74 6f 73 68 20 | 61 72 65 20 74 72 61 64 |cintosh |are trad| |00000450| 65 6d 61 72 6b 73 20 6f | 66 20 41 70 70 6c 65 20 |emarks o|f Apple | |00000460| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 2c 20 |Computer|, Inc., | |00000470| 0d 72 65 67 69 73 74 65 | 72 65 64 20 69 6e 20 74 |.registe|red in t| |00000480| 68 65 20 55 2e 53 2e 20 | 61 6e 64 20 6f 74 68 65 |he U.S. |and othe| |00000490| 72 20 63 6f 75 6e 74 72 | 69 65 73 2e 0d 41 70 70 |r countr|ies..App| |000004a0| 6c 65 53 63 72 69 70 74 | 2c 20 42 61 6c 6c 6f 6f |leScript|, Balloo| |000004b0| 6e 20 48 65 6c 70 2c 20 | 46 69 6e 64 65 72 2c 20 |n Help, |Finder, | |000004c0| 53 79 73 74 65 6d 20 37 | 2c 20 61 6e 64 20 54 65 |System 7|, and Te| |000004d0| 61 63 68 54 65 78 74 20 | 61 72 65 20 74 72 61 64 |achText |are trad| |000004e0| 65 6d 61 72 6b 73 0d 20 | 6f 66 20 41 70 70 6c 65 |emarks. |of Apple| |000004f0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..| |00000500| 53 69 6d 75 6c 74 61 6e | 65 6f 75 73 6c 79 20 70 |Simultan|eously p| |00000510| 75 62 6c 69 73 68 65 64 | 20 69 6e 20 74 68 65 20 |ublished| in the | |00000520| 55 6e 69 74 65 64 20 53 | 74 61 74 65 73 20 61 6e |United S|tates an| |00000530| 64 20 43 61 6e 61 64 61 | 2e 0d 54 68 65 20 41 70 |d Canada|..The Ap| |00000540| 70 6c 65 20 50 75 62 6c | 69 73 68 69 6e 67 20 53 |ple Publ|ishing S| |00000550| 79 73 74 65 6d 0d 54 68 | 69 73 20 41 70 70 6c 65 |ystem.Th|is Apple| |00000560| 20 6d 61 6e 75 61 6c 20 | 77 61 73 20 77 72 69 74 | manual |was writ| |00000570| 74 65 6e 2c 20 65 64 69 | 74 65 64 2c 20 61 6e 64 |ten, edi|ted, and| |00000580| 20 70 72 6f 64 75 63 65 | 64 20 6f 6e 20 61 20 64 | produce|d on a d| |00000590| 65 73 6b 74 6f 70 20 70 | 75 62 6c 69 73 68 69 6e |esktop p|ublishin| |000005a0| 67 20 73 79 73 74 65 6d | 20 75 73 69 6e 67 20 41 |g system| using A| |000005b0| 70 70 6c 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 63 |pple Mac|intosh c| |000005c0| 6f 6d 70 75 74 65 72 73 | 20 61 6e 64 20 51 75 61 |omputers| and Qua| |000005d0| 72 6b 58 50 72 65 73 73 | 2e 20 53 63 72 65 65 6e |rkXPress|. Screen| |000005e0| 20 73 68 6f 74 73 20 77 | 65 72 65 20 63 72 65 61 | shots w|ere crea| |000005f0| 74 65 64 20 61 6e 64 20 | 6d 6f 64 69 66 69 65 64 |ted and |modified| |00000600| 20 77 69 74 68 20 73 79 | 73 74 65 6d 20 73 6f 66 | with sy|stem sof| |00000610| 74 77 61 72 65 2c 20 45 | 78 70 6f 73 75 72 65 2c |tware, E|xposure,| |00000620| 20 61 6e 64 20 53 75 70 | 65 72 50 61 69 6e 74 2e | and Sup|erPaint.| |00000630| 20 0d 54 65 78 74 20 74 | 79 70 65 20 69 73 20 41 | .Text t|ype is A| |00000640| 70 70 6c 65 d5 73 20 63 | 6f 72 70 6f 72 61 74 65 |pple.s c|orporate| |00000650| 20 66 6f 6e 74 2c 20 61 | 20 63 6f 6e 64 65 6e 73 | font, a| condens| |00000660| 65 64 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 47 61 |ed versi|on of Ga| |00000670| 72 61 6d 6f 6e 64 2e 20 | 4f 72 6e 61 6d 65 6e 74 |ramond. |Ornament| |00000680| 73 20 61 72 65 20 63 75 | 73 74 6f 6d 20 73 79 6d |s are cu|stom sym| |00000690| 62 6f 6c 73 20 64 65 73 | 69 67 6e 65 64 20 66 6f |bols des|igned fo| |000006a0| 72 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |r Apple |Computer| |000006b0| 2e 0d 50 6f 73 74 53 63 | 72 69 70 74 aa 2c 20 74 |..PostSc|ript., t| |000006c0| 68 65 20 4c 61 73 65 72 | 57 72 69 74 65 72 20 70 |he Laser|Writer p| |000006d0| 61 67 65 2d 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |age-desc|ription | |000006e0| 6c 61 6e 67 75 61 67 65 | 2c 20 77 61 73 20 64 65 |language|, was de| |000006f0| 76 65 6c 6f 70 65 64 20 | 62 79 20 41 64 6f 62 65 |veloped |by Adobe| |00000700| 20 53 79 73 74 65 6d 73 | 20 49 6e 63 6f 72 70 6f | Systems| Incorpo| |00000710| 72 61 74 65 64 2e 0d 50 | 72 65 66 61 63 65 20 20 |rated..P|reface | |00000720| 20 57 65 6c 63 6f 6d 65 | 20 74 6f 20 41 70 70 6c | Welcome| to Appl| |00000730| 65 53 63 72 69 70 74 20 | 20 20 20 76 0d 57 68 61 |eScript | v.Wha| |00000740| 74 20 69 73 20 41 70 70 | 6c 65 53 63 72 69 70 74 |t is App|leScript| |00000750| 3f 20 20 76 0d 41 62 6f | 75 74 20 74 68 69 73 20 |? v.Abo|ut this | |00000760| 67 75 69 64 65 20 20 20 | 76 69 0d 42 61 6c 6c 6f |guide |vi.Ballo| |00000770| 6f 6e 20 48 65 6c 70 20 | 20 20 76 69 0d 57 68 65 |on Help | vi.Whe| |00000780| 72 65 20 74 6f 20 67 6f | 20 66 72 6f 6d 20 68 65 |re to go| from he| |00000790| 72 65 20 20 20 76 69 69 | 0d 43 68 61 70 74 65 72 |re vii|.Chapter| |000007a0| 20 31 20 20 20 20 49 6e | 73 74 61 6c 6c 69 6e 67 | 1 In|stalling| |000007b0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 20 20 31 | AppleSc|ript 1| |000007c0| 0d 49 6e 73 74 61 6c 6c | 69 6e 67 20 41 70 70 6c |.Install|ing Appl| |000007d0| 65 53 63 72 69 70 74 20 | 6f 6e 20 79 6f 75 72 20 |eScript |on your | |000007e0| 4d 61 63 69 6e 74 6f 73 | 68 20 20 20 31 0d 57 68 |Macintos|h 1.Wh| |000007f0| 61 74 20 67 65 74 73 20 | 69 6e 73 74 61 6c 6c 65 |at gets |installe| |00000800| 64 20 20 20 33 0d 43 68 | 61 70 74 65 72 20 32 20 |d 3.Ch|apter 2 | |00000810| 20 20 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 51 | Apple|Script Q| |00000820| 75 69 63 6b 20 54 6f 75 | 72 20 20 20 35 0d 50 61 |uick Tou|r 5.Pa| |00000830| 72 74 20 31 3a 20 52 65 | 63 6f 72 64 69 6e 67 20 |rt 1: Re|cording | |00000840| 61 20 73 63 72 69 70 74 | 20 20 20 35 0d 50 61 72 |a script| 5.Par| |00000850| 74 20 32 3a 20 47 65 74 | 74 69 6e 67 20 72 65 61 |t 2: Get|ting rea| |00000860| 64 79 20 74 6f 20 72 75 | 6e 20 79 6f 75 72 20 73 |dy to ru|n your s| |00000870| 63 72 69 70 74 20 20 20 | 31 30 0d 50 61 72 74 20 |cript |10.Part | |00000880| 33 3a 20 52 75 6e 6e 69 | 6e 67 20 79 6f 75 72 20 |3: Runni|ng your | |00000890| 73 63 72 69 70 74 20 20 | 20 31 31 0d 50 61 72 74 |script | 11.Part| |000008a0| 20 34 3a 20 43 68 61 6e | 67 69 6e 67 20 79 6f 75 | 4: Chan|ging you| |000008b0| 72 20 73 63 72 69 70 74 | 20 20 20 31 32 0d 50 61 |r script| 12.Pa| |000008c0| 72 74 20 35 3a 20 53 61 | 76 69 6e 67 20 79 6f 75 |rt 5: Sa|ving you| |000008d0| 72 20 73 63 72 69 70 74 | 20 20 20 31 33 0d 50 61 |r script| 13.Pa| |000008e0| 72 74 20 36 3a 20 52 75 | 6e 6e 69 6e 67 20 79 6f |rt 6: Ru|nning yo| |000008f0| 75 72 20 73 63 72 69 70 | 74 20 61 70 70 6c 69 63 |ur scrip|t applic| |00000900| 61 74 69 6f 6e 20 20 20 | 31 35 0d 57 68 61 74 d5 |ation |15.What.| |00000910| 73 20 6e 65 78 74 20 20 | 20 31 36 0d 43 68 61 70 |s next | 16.Chap| |00000920| 74 65 72 20 33 20 20 20 | 20 55 73 69 6e 67 20 74 |ter 3 | Using t| |00000930| 68 65 20 53 63 72 69 70 | 74 20 45 64 69 74 6f 72 |he Scrip|t Editor| |00000940| 20 20 20 31 37 0d 4f 70 | 65 6e 69 6e 67 20 61 20 | 17.Op|ening a | |00000950| 73 63 72 69 70 74 20 20 | 20 31 38 0d 52 65 63 6f |script | 18.Reco| |00000960| 72 64 69 6e 67 20 61 20 | 73 63 72 69 70 74 20 20 |rding a |script | |00000970| 20 31 38 0d 45 64 69 74 | 69 6e 67 20 61 20 73 63 | 18.Edit|ing a sc| |00000980| 72 69 70 74 20 20 20 31 | 39 0d 43 68 65 63 6b 69 |ript 1|9.Checki| |00000990| 6e 67 20 74 68 65 20 73 | 79 6e 74 61 78 20 6f 66 |ng the s|yntax of| |000009a0| 20 61 20 73 63 72 69 70 | 74 20 20 20 32 30 0d 46 | a scrip|t 20.F| |000009b0| 6f 72 6d 61 74 74 69 6e | 67 20 61 20 73 63 72 69 |ormattin|g a scri| |000009c0| 70 74 20 20 20 32 31 0d | 53 61 76 69 6e 67 20 61 |pt 21.|Saving a| |000009d0| 20 73 63 72 69 70 74 20 | 20 20 32 33 0d 53 61 76 | script | 23.Sav| |000009e0| 69 6e 67 20 61 20 73 63 | 72 69 70 74 20 77 69 74 |ing a sc|ript wit| |000009f0| 68 6f 75 74 20 63 6f 6d | 70 69 6c 69 6e 67 20 69 |hout com|piling i| |00000a00| 74 20 20 20 32 34 0d 53 | 61 76 65 20 6f 70 74 69 |t 24.S|ave opti| |00000a10| 6f 6e 73 20 66 6f 72 20 | 73 63 72 69 70 74 20 61 |ons for |script a| |00000a20| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 20 20 32 34 |pplicati|ons 24| |00000a30| 0d 53 61 76 69 6e 67 20 | 61 20 73 63 72 69 70 74 |.Saving |a script| |00000a40| 20 61 73 20 72 75 6e 2d | 6f 6e 6c 79 20 20 20 32 | as run-|only 2| |00000a50| 34 0d 52 75 6e 6e 69 6e | 67 20 61 20 73 63 72 69 |4.Runnin|g a scri| |00000a60| 70 74 20 20 20 32 35 0d | 56 69 65 77 69 6e 67 20 |pt 25.|Viewing | |00000a70| 41 70 70 6c 65 53 63 72 | 69 70 74 20 63 6f 6d 6d |AppleScr|ipt comm| |00000a80| 61 6e 64 73 20 20 20 32 | 36 0d 55 73 69 6e 67 20 |ands 2|6.Using | |00000a90| 64 69 66 66 65 72 65 6e | 74 20 73 63 72 69 70 74 |differen|t script| |00000aa0| 69 6e 67 20 73 79 73 74 | 65 6d 73 20 20 20 32 37 |ing syst|ems 27| |00000ab0| 0d 55 73 69 6e 67 20 64 | 69 66 66 65 72 65 6e 74 |.Using d|ifferent| |00000ac0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 64 69 61 | AppleSc|ript dia| |00000ad0| 6c 65 63 74 73 20 20 20 | 32 38 0d 44 69 73 70 6c |lects |28.Displ| |00000ae0| 61 79 69 6e 67 20 74 68 | 65 20 52 65 73 75 6c 74 |aying th|e Result| |00000af0| 20 77 69 6e 64 6f 77 20 | 20 20 32 39 0d 50 61 73 | window | 29.Pas| |00000b00| 74 69 6e 67 20 61 6e 20 | 6f 62 6a 65 63 74 20 72 |ting an |object r| |00000b10| 65 66 65 72 65 6e 63 65 | 20 69 6e 74 6f 20 61 20 |eference| into a | |00000b20| 73 63 72 69 70 74 20 20 | 20 32 39 0d 43 68 61 70 |script | 29.Chap| |00000b30| 74 65 72 20 34 20 20 20 | 20 53 63 72 69 70 74 20 |ter 4 | Script | |00000b40| 45 64 69 74 6f 72 20 43 | 6f 6d 6d 61 6e 64 20 09 |Editor C|ommand .| |00000b50| 09 20 20 20 20 20 20 09 | 09 20 20 20 52 65 66 65 |. .|. Refe| |00000b60| 72 65 6e 63 65 20 20 20 | 33 31 0d 46 69 6c 65 20 |rence |31.File | |00000b70| 6d 65 6e 75 20 20 20 33 | 31 0d 45 64 69 74 20 6d |menu 3|1.Edit m| |00000b80| 65 6e 75 20 20 20 33 34 | 0d 43 6f 6e 74 72 6f 6c |enu 34|.Control| |00000b90| 73 20 6d 65 6e 75 20 20 | 20 33 35 0d 46 6f 6e 74 |s menu | 35.Font| |00000ba0| 20 61 6e 64 20 53 74 79 | 6c 65 20 6d 65 6e 75 73 | and Sty|le menus| |00000bb0| 20 20 20 33 36 0d 57 65 | 6c 63 6f 6d 65 20 74 6f | 36.We|lcome to| |00000bc0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 0d 54 68 69 | AppleSc|ript.Thi| |00000bd0| 73 20 6d 61 6e 75 61 6c | 20 69 73 20 79 6f 75 72 |s manual| is your| |00000be0| 20 69 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 74 6f | introdu|ction to| |00000bf0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2e 20 55 73 | AppleSc|ript. Us| |00000c00| 65 20 69 74 20 74 6f 20 | 69 6e 73 74 61 6c 6c 20 |e it to |install | |00000c10| 61 6e 64 20 62 65 67 69 | 6e 20 77 6f 72 6b 69 6e |and begi|n workin| |00000c20| 67 20 77 69 74 68 20 41 | 70 70 6c 65 53 63 72 69 |g with A|ppleScri| |00000c30| 70 74 2e 20 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |pt. You |can use | |00000c40| 41 70 70 6c 65 53 63 72 | 69 70 74 20 6f 6e 20 4d |AppleScr|ipt on M| |00000c50| 61 63 69 6e 74 6f 73 68 | 20 63 6f 6d 70 75 74 65 |acintosh| compute| |00000c60| 72 73 20 74 68 61 74 20 | 75 73 65 20 73 79 73 74 |rs that |use syst| |00000c70| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 76 65 72 73 |em softw|are vers| |00000c80| 69 6f 6e 20 37 2e 30 20 | 6f 72 20 6c 61 74 65 72 |ion 7.0 |or later| |00000c90| 2e 20 49 66 20 79 6f 75 | d5 72 65 20 6e 65 77 20 |. If you|.re new | |00000ca0| 74 6f 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |to the M|acintosh| |00000cb0| 2c 20 72 65 61 64 20 74 | 68 65 20 69 6e 66 6f 72 |, read t|he infor| |00000cc0| 6d 61 74 69 6f 6e 20 74 | 68 61 74 20 63 61 6d 65 |mation t|hat came| |00000cd0| 20 77 69 74 68 20 79 6f | 75 72 20 63 6f 6d 70 75 | with yo|ur compu| |00000ce0| 74 65 72 20 62 65 66 6f | 72 65 20 79 6f 75 20 69 |ter befo|re you i| |00000cf0| 6e 73 74 61 6c 6c 20 41 | 70 70 6c 65 53 63 72 69 |nstall A|ppleScri| |00000d00| 70 74 2e 20 59 6f 75 d5 | 6c 6c 20 6e 65 65 64 20 |pt. You.|ll need | |00000d10| 74 6f 20 6b 6e 6f 77 20 | 62 61 73 69 63 20 4d 61 |to know |basic Ma| |00000d20| 63 69 6e 74 6f 73 68 20 | 6f 70 65 72 61 74 69 6f |cintosh |operatio| |00000d30| 6e 73 20 61 6e 64 20 76 | 6f 63 61 62 75 6c 61 72 |ns and v|ocabular| |00000d40| 79 20 74 6f 20 75 73 65 | 20 41 70 70 6c 65 53 63 |y to use| AppleSc| |00000d50| 72 69 70 74 2e 0d 57 68 | 61 74 20 69 73 20 41 70 |ript..Wh|at is Ap| |00000d60| 70 6c 65 53 63 72 69 70 | 74 3f 0d 57 68 65 6e 20 |pleScrip|t?.When | |00000d70| 79 6f 75 20 75 73 65 20 | 79 6f 75 72 20 4d 61 63 |you use |your Mac| |00000d80| 69 6e 74 6f 73 68 2c 20 | 79 6f 75 20 75 73 65 20 |intosh, |you use | |00000d90| 74 68 65 20 6d 6f 75 73 | 65 20 61 6e 64 20 6b 65 |the mous|e and ke| |00000da0| 79 62 6f 61 72 64 20 74 | 6f 20 6f 70 65 6e 20 64 |yboard t|o open d| |00000db0| 6f 63 75 6d 65 6e 74 73 | 20 61 6e 64 20 61 70 70 |ocuments| and app| |00000dc0| 6c 69 63 61 74 69 6f 6e | 20 70 72 6f 67 72 61 6d |lication| program| |00000dd0| 73 2c 20 6d 6f 76 65 20 | 64 6f 63 75 6d 65 6e 74 |s, move |document| |00000de0| 73 20 61 6e 64 20 66 69 | 6c 65 20 66 6f 6c 64 65 |s and fi|le folde| |00000df0| 72 73 2c 20 65 6e 74 65 | 72 20 69 6e 66 6f 72 6d |rs, ente|r inform| |00000e00| 61 74 69 6f 6e 2c 20 70 | 72 69 6e 74 2c 20 61 6e |ation, p|rint, an| |00000e10| 64 20 70 65 72 66 6f 72 | 6d 20 61 6e 79 20 6f 74 |d perfor|m any ot| |00000e20| 68 65 72 20 61 63 74 69 | 6f 6e 73 20 79 6f 75 20 |her acti|ons you | |00000e30| 77 61 6e 74 2e 20 41 70 | 70 6c 65 53 63 72 69 70 |want. Ap|pleScrip| |00000e40| 74 20 67 69 76 65 73 20 | 79 6f 75 20 61 20 77 68 |t gives |you a wh| |00000e50| 6f 6c 65 20 6e 65 77 20 | 77 61 79 20 74 6f 20 77 |ole new |way to w| |00000e60| 6f 72 6b 3a 20 79 6f 75 | 20 63 61 6e 20 67 69 76 |ork: you| can giv| |00000e70| 65 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |e the Ma|cintosh | |00000e80| 61 20 6c 69 73 74 20 6f | 66 20 74 68 69 6e 67 73 |a list o|f things| |00000e90| 20 79 6f 75 20 77 61 6e | 74 20 69 74 20 74 6f 20 | you wan|t it to | |00000ea0| 64 6f d1 61 20 73 63 72 | 69 70 74 d1 61 6e 64 20 |do.a scr|ipt.and | |00000eb0| 6c 65 74 20 74 68 65 20 | 63 6f 6d 70 75 74 65 72 |let the |computer| |00000ec0| 20 64 6f 20 65 76 65 72 | 79 74 68 69 6e 67 20 6f | do ever|ything o| |00000ed0| 6e 20 79 6f 75 72 20 6c | 69 73 74 2e 20 0d 59 6f |n your l|ist. .Yo| |00000ee0| 75 20 63 61 6e 20 63 72 | 65 61 74 65 20 61 20 73 |u can cr|eate a s| |00000ef0| 63 72 69 70 74 20 62 79 | 20 73 69 6d 70 6c 79 20 |cript by| simply | |00000f00| 74 75 72 6e 69 6e 67 20 | 6f 6e 20 74 68 65 20 72 |turning |on the r| |00000f10| 65 63 6f 72 64 65 72 20 | 61 6e 64 20 70 65 72 66 |ecorder |and perf| |00000f20| 6f 72 6d 69 6e 67 20 61 | 20 73 65 74 20 6f 66 20 |orming a| set of | |00000f30| 61 63 74 69 6f 6e 73 2e | 20 41 70 70 6c 65 53 63 |actions.| AppleSc| |00000f40| 72 69 70 74 20 6b 65 65 | 70 73 20 61 20 6c 69 73 |ript kee|ps a lis| |00000f50| 74 20 6f 66 20 77 68 61 | 74 20 79 6f 75 20 64 6f |t of wha|t you do| |00000f60| 20 77 68 69 6c 65 20 74 | 68 65 20 72 65 63 6f 72 | while t|he recor| |00000f70| 64 65 72 20 69 73 20 74 | 75 72 6e 65 64 20 6f 6e |der is t|urned on| |00000f80| 2e 20 57 68 65 6e 20 79 | 6f 75 20 74 75 72 6e 20 |. When y|ou turn | |00000f90| 74 68 65 20 72 65 63 6f | 72 64 65 72 20 6f 66 66 |the reco|rder off| |00000fa0| 2c 20 79 6f 75 20 63 61 | 6e 20 73 65 65 20 74 68 |, you ca|n see th| |00000fb0| 65 20 72 65 63 6f 72 64 | 65 64 20 73 63 72 69 70 |e record|ed scrip| |00000fc0| 74 2e 20 57 68 65 6e 20 | 79 6f 75 20 72 75 6e 20 |t. When |you run | |00000fd0| 74 68 65 20 73 63 72 69 | 70 74 2c 20 79 6f 75 72 |the scri|pt, your| |00000fe0| 20 4d 61 63 69 6e 74 6f | 73 68 20 72 65 70 65 61 | Macinto|sh repea| |00000ff0| 74 73 20 79 6f 75 72 20 | 61 63 74 69 6f 6e 73 20 |ts your |actions | |00001000| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 2e 0d 59 |automati|cally..Y| |00001010| 6f 75 20 63 61 6e 20 75 | 73 65 20 6d 61 6e 79 20 |ou can u|se many | |00001020| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 70 72 6f 67 |applicat|ion prog| |00001030| 72 61 6d 73 20 77 69 74 | 68 20 41 70 70 6c 65 53 |rams wit|h AppleS| |00001040| 63 72 69 70 74 2e 20 57 | 68 65 6e 20 79 6f 75 20 |cript. W|hen you | |00001050| 68 61 76 65 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |have an |applicat| |00001060| 69 6f 6e 20 70 72 6f 67 | 72 61 6d 20 74 68 61 74 |ion prog|ram that| |00001070| 20 63 61 6e 20 75 73 65 | 20 41 70 70 6c 65 53 63 | can use| AppleSc| |00001080| 72 69 70 74 2c 20 79 6f | 75 20 63 61 6e 20 75 73 |ript, yo|u can us| |00001090| 65 20 73 63 72 69 70 74 | 73 20 74 6f 20 6d 61 6b |e script|s to mak| |000010a0| 65 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 64 6f |e the pr|ogram do| |000010b0| 20 74 68 69 6e 67 73 20 | 66 6f 72 20 79 6f 75 2e | things |for you.| |000010c0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 61 20 | For exa|mple, a | |000010d0| 73 63 72 69 70 74 20 6d | 69 67 68 74 20 66 6f 72 |script m|ight for| |000010e0| 6d 61 74 20 61 20 6c 65 | 74 74 65 72 20 74 68 65 |mat a le|tter the| |000010f0| 20 77 61 79 20 79 6f 75 | 20 77 61 6e 74 2c 20 73 | way you| want, s| |00001100| 61 76 65 20 69 74 20 69 | 6e 20 61 20 70 61 72 74 |ave it i|n a part| |00001110| 69 63 75 6c 61 72 20 66 | 6f 6c 64 65 72 2c 20 61 |icular f|older, a| |00001120| 6e 64 20 70 72 69 6e 74 | 20 69 74 2e 20 0d 59 6f |nd print| it. .Yo| |00001130| 75 20 63 61 6e 20 61 6c | 73 6f 20 75 73 65 20 41 |u can al|so use A| |00001140| 70 70 6c 65 53 63 72 69 | 70 74 20 74 6f 20 63 6f |ppleScri|pt to co| |00001150| 6d 62 69 6e 65 20 74 68 | 65 20 63 61 70 61 62 69 |mbine th|e capabi| |00001160| 6c 69 74 69 65 73 20 6f | 66 20 61 70 70 6c 69 63 |lities o|f applic| |00001170| 61 74 69 6f 6e 20 70 72 | 6f 67 72 61 6d 73 2e 20 |ation pr|ograms. | |00001180| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 61 20 73 |For exam|ple, a s| |00001190| 63 72 69 70 74 20 6d 69 | 67 68 74 20 75 73 65 20 |cript mi|ght use | |000011a0| 74 68 65 20 63 61 6c 63 | 75 6c 61 74 69 6f 6e 20 |the calc|ulation | |000011b0| 63 61 70 61 62 69 6c 69 | 74 69 65 73 20 6f 66 20 |capabili|ties of | |000011c0| 61 20 73 70 72 65 61 64 | 73 68 65 65 74 20 61 6e |a spread|sheet an| |000011d0| 64 20 74 68 65 20 66 6f | 72 6d 61 74 74 69 6e 67 |d the fo|rmatting| |000011e0| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 20 6f 66 | capabil|ities of| |000011f0| 20 61 20 77 6f 72 64 20 | 70 72 6f 63 65 73 73 6f | a word |processo| |00001200| 72 20 74 6f 20 61 73 73 | 65 6d 62 6c 65 20 61 6e |r to ass|emble an| |00001210| 20 69 6e 76 6f 69 63 65 | 2e 0d 41 62 6f 75 74 20 | invoice|..About | |00001220| 74 68 69 73 20 67 75 69 | 64 65 0d 54 68 69 73 20 |this gui|de.This | |00001230| 67 75 69 64 65 20 74 65 | 6c 6c 73 20 79 6f 75 20 |guide te|lls you | |00001240| 68 6f 77 20 74 6f 20 69 | 6e 73 74 61 6c 6c 20 41 |how to i|nstall A| |00001250| 70 70 6c 65 53 63 72 69 | 70 74 20 6f 6e 20 79 6f |ppleScri|pt on yo| |00001260| 75 72 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 68 6f |ur Macin|tosh, ho| |00001270| 77 20 74 6f 20 72 75 6e | 20 61 20 73 63 72 69 70 |w to run| a scrip| |00001280| 74 2c 20 68 6f 77 20 74 | 6f 20 75 73 65 20 61 6e |t, how t|o use an| |00001290| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 61 6c | applica|tion cal| |000012a0| 6c 65 64 20 74 68 65 20 | 53 63 72 69 70 74 20 45 |led the |Script E| |000012b0| 64 69 74 6f 72 20 74 6f | 20 72 65 63 6f 72 64 20 |ditor to| record | |000012c0| 73 63 72 69 70 74 73 2c | 20 61 6e 64 20 68 6f 77 |scripts,| and how| |000012d0| 20 74 6f 20 63 68 61 6e | 67 65 20 61 20 73 63 72 | to chan|ge a scr| |000012e0| 69 70 74 20 74 6f 20 64 | 6f 20 73 6f 6d 65 74 68 |ipt to d|o someth| |000012f0| 69 6e 67 20 64 69 66 66 | 65 72 65 6e 74 2e 20 59 |ing diff|erent. Y| |00001300| 6f 75 20 64 6f 6e d5 74 | 20 6e 65 65 64 20 74 6f |ou don.t| need to| |00001310| 20 6b 6e 6f 77 20 68 6f | 77 20 74 6f 20 77 72 69 | know ho|w to wri| |00001320| 74 65 20 63 6f 6d 70 75 | 74 65 72 20 70 72 6f 67 |te compu|ter prog| |00001330| 72 61 6d 73 20 74 6f 20 | 64 6f 20 61 6e 79 74 68 |rams to |do anyth| |00001340| 69 6e 67 20 64 65 73 63 | 72 69 62 65 64 20 69 6e |ing desc|ribed in| |00001350| 20 74 68 69 73 20 6d 61 | 6e 75 61 6c 2e 20 0d 54 | this ma|nual. .T| |00001360| 6f 20 66 69 6e 64 20 6f | 75 74 20 68 6f 77 20 74 |o find o|ut how t| |00001370| 6f 20 77 72 69 74 65 20 | 73 63 72 69 70 74 73 20 |o write |scripts | |00001380| 77 69 74 68 6f 75 74 20 | 72 65 63 6f 72 64 69 6e |without |recordin| |00001390| 67 2c 20 61 6e 64 20 66 | 6f 72 20 74 68 65 20 69 |g, and f|or the i| |000013a0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 79 6f 75 d5 6c |nformati|on you.l| |000013b0| 6c 20 6e 65 65 64 20 74 | 6f 20 63 72 65 61 74 65 |l need t|o create| |000013c0| 20 63 6f 6d 70 6c 65 78 | 20 73 63 72 69 70 74 73 | complex| scripts| |000013d0| 2c 20 73 65 65 20 74 68 | 65 20 41 70 70 6c 65 53 |, see th|e AppleS| |000013e0| 63 72 69 70 74 20 4c 61 | 6e 67 75 61 67 65 20 47 |cript La|nguage G| |000013f0| 75 69 64 65 2e 0d 42 61 | 6c 6c 6f 6f 6e 20 48 65 |uide..Ba|lloon He| |00001400| 6c 70 0d 59 6f 75 20 63 | 61 6e 20 75 73 65 20 42 |lp.You c|an use B| |00001410| 61 6c 6c 6f 6f 6e 20 48 | 65 6c 70 20 77 69 74 68 |alloon H|elp with| |00001420| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication| |00001430| 20 70 72 6f 67 72 61 6d | 73 20 74 68 61 74 20 63 | program|s that c| |00001440| 6f 6d 65 20 77 69 74 68 | 20 41 70 70 6c 65 53 63 |ome with| AppleSc| |00001450| 72 69 70 74 20 28 74 68 | 65 20 53 63 72 69 70 74 |ript (th|e Script| |00001460| 20 45 64 69 74 6f 72 20 | 61 6e 64 20 53 63 72 69 | Editor |and Scri| |00001470| 70 74 61 62 6c 65 20 54 | 65 78 74 20 45 64 69 74 |ptable T|ext Edit| |00001480| 6f 72 29 2e 20 43 68 6f | 6f 73 65 20 53 68 6f 77 |or). Cho|ose Show| |00001490| 20 42 61 6c 6c 6f 6f 6e | 73 20 66 72 6f 6d 20 74 | Balloon|s from t| |000014a0| 68 65 20 48 65 6c 70 20 | 6d 65 6e 75 20 28 6e 65 |he Help |menu (ne| |000014b0| 61 72 20 74 68 65 20 72 | 69 67 68 74 20 65 6e 64 |ar the r|ight end| |000014c0| 20 6f 66 20 74 68 65 20 | 6d 65 6e 75 20 62 61 72 | of the |menu bar| |000014d0| 29 2e 0d 57 68 65 6e 20 | 79 6f 75 20 70 6f 69 6e |)..When |you poin| |000014e0| 74 20 61 74 20 61 6e 79 | 20 66 65 61 74 75 72 65 |t at any| feature| |000014f0| 20 6f 66 20 74 68 65 20 | 53 63 72 69 70 74 20 45 | of the |Script E| |00001500| 64 69 74 6f 72 20 6f 72 | 20 53 63 72 69 70 74 61 |ditor or| Scripta| |00001510| 62 6c 65 20 54 65 78 74 | 20 45 64 69 74 6f 72 20 |ble Text| Editor | |00001520| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 70 72 6f 67 |applicat|ion prog| |00001530| 72 61 6d 2c 20 61 20 62 | 61 6c 6c 6f 6f 6e 20 61 |ram, a b|alloon a| |00001540| 70 70 65 61 72 73 20 65 | 78 70 6c 61 69 6e 69 6e |ppears e|xplainin| |00001550| 67 20 74 68 65 20 66 65 | 61 74 75 72 65 2e 0d 46 |g the fe|ature..F| |00001560| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat| |00001570| 69 6f 6e 20 61 62 6f 75 | 74 20 42 61 6c 6c 6f 6f |ion abou|t Balloo| |00001580| 6e 20 48 65 6c 70 2c 20 | 73 65 65 20 74 68 65 20 |n Help, |see the | |00001590| 6d 61 6e 75 61 6c 20 74 | 68 61 74 20 63 61 6d 65 |manual t|hat came| |000015a0| 20 77 69 74 68 20 79 6f | 75 72 20 4d 61 63 69 6e | with yo|ur Macin| |000015b0| 74 6f 73 68 20 6f 72 20 | 77 69 74 68 20 79 6f 75 |tosh or |with you| |000015c0| 72 20 53 79 73 74 65 6d | 20 37 20 75 70 67 72 61 |r System| 7 upgra| |000015d0| 64 65 20 6b 69 74 2e 0d | 57 68 65 72 65 20 74 6f |de kit..|Where to| |000015e0| 20 67 6f 20 66 72 6f 6d | 20 68 65 72 65 0d 49 66 | go from| here.If| |000015f0| 20 79 6f 75 20 64 6f 6e | d5 74 20 68 61 76 65 20 | you don|.t have | |00001600| 41 70 70 6c 65 53 63 72 | 69 70 74 20 69 6e 73 74 |AppleScr|ipt inst| |00001610| 61 6c 6c 65 64 20 6f 6e | 20 79 6f 75 72 20 4d 61 |alled on| your Ma| |00001620| 63 69 6e 74 6f 73 68 2c | 20 66 6f 6c 6c 6f 77 20 |cintosh,| follow | |00001630| 74 68 65 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |the inst|ructions| |00001640| 20 69 6e 20 43 68 61 70 | 74 65 72 20 31 2c 20 d2 | in Chap|ter 1, .| |00001650| 49 6e 73 74 61 6c 6c 69 | 6e 67 20 41 70 70 6c 65 |Installi|ng Apple| |00001660| 53 63 72 69 70 74 2e d3 | 0d 4f 6e 63 65 20 79 6f |Script..|.Once yo| |00001670| 75 20 68 61 76 65 20 69 | 6e 73 74 61 6c 6c 65 64 |u have i|nstalled| |00001680| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2c 20 74 75 | AppleSc|ript, tu| |00001690| 72 6e 20 74 6f 20 43 68 | 61 70 74 65 72 20 32 2c |rn to Ch|apter 2,| |000016a0| 20 d2 41 70 70 6c 65 53 | 63 72 69 70 74 20 51 75 | .AppleS|cript Qu| |000016b0| 69 63 6b 20 54 6f 75 72 | 2c d3 20 74 6f 20 66 69 |ick Tour|,. to fi| |000016c0| 6e 64 20 6f 75 74 20 68 | 6f 77 20 74 6f 20 72 65 |nd out h|ow to re| |000016d0| 63 6f 72 64 20 61 6e 64 | 20 72 75 6e 20 73 69 6d |cord and| run sim| |000016e0| 70 6c 65 20 73 63 72 69 | 70 74 73 2e 0d 46 6f 72 |ple scri|pts..For| |000016f0| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio| |00001700| 6e 20 61 62 6f 75 74 20 | 75 73 69 6e 67 20 74 68 |n about |using th| |00001710| 65 20 53 63 72 69 70 74 | 20 45 64 69 74 6f 72 20 |e Script| Editor | |00001720| 74 6f 20 77 6f 72 6b 20 | 77 69 74 68 20 73 63 72 |to work |with scr| |00001730| 69 70 74 73 2c 20 74 75 | 72 6e 20 74 6f 20 43 68 |ipts, tu|rn to Ch| |00001740| 61 70 74 65 72 20 33 2c | 20 d2 55 73 69 6e 67 20 |apter 3,| .Using | |00001750| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito| |00001760| 72 2c d3 20 61 6e 64 20 | 43 68 61 70 74 65 72 20 |r,. and |Chapter | |00001770| 34 2c 20 d2 53 63 72 69 | 70 74 20 45 64 69 74 6f |4, .Scri|pt Edito| |00001780| 72 20 43 6f 6d 6d 61 6e | 64 20 52 65 66 65 72 65 |r Comman|d Refere| |00001790| 6e 63 65 2e d3 0d 46 6f | 72 20 69 6e 66 6f 72 6d |nce...Fo|r inform| |000017a0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 75 73 69 6e |ation ab|out usin| |000017b0| 67 20 74 68 65 20 41 70 | 70 6c 65 53 63 72 69 70 |g the Ap|pleScrip| |000017c0| 74 20 6c 61 6e 67 75 61 | 67 65 20 74 6f 20 63 72 |t langua|ge to cr| |000017d0| 65 61 74 65 20 75 73 65 | 66 75 6c 20 73 63 72 69 |eate use|ful scri| |000017e0| 70 74 73 2c 20 73 65 65 | 20 74 68 65 20 41 70 70 |pts, see| the App| |000017f0| 6c 65 53 63 72 69 70 74 | 20 4c 61 6e 67 75 61 67 |leScript| Languag| |00001800| 65 20 47 75 69 64 65 2e | 0d 49 6e 73 74 61 6c 6c |e Guide.|.Install| |00001810| 69 6e 67 20 41 70 70 6c | 65 53 63 72 69 70 74 0d |ing Appl|eScript.| |00001820| 59 6f 75 20 63 61 6e 20 | 69 6e 73 74 61 6c 6c 20 |You can |install | |00001830| 61 6e 64 20 75 73 65 20 | 41 70 70 6c 65 53 63 72 |and use |AppleScr| |00001840| 69 70 74 20 6f 6e 20 61 | 6e 79 20 4d 61 63 69 6e |ipt on a|ny Macin| |00001850| 74 6f 73 68 20 63 6f 6d | 70 75 74 65 72 20 74 68 |tosh com|puter th| |00001860| 61 74 20 6d 65 65 74 73 | 20 74 68 65 73 65 20 72 |at meets| these r| |00001870| 65 71 75 69 72 65 6d 65 | 6e 74 73 3a 0d 6e 09 73 |equireme|nts:.n.s| |00001880| 79 73 74 65 6d 20 73 6f | 66 74 77 61 72 65 20 76 |ystem so|ftware v| |00001890| 65 72 73 69 6f 6e 20 37 | 2e 30 20 6f 72 20 6c 61 |ersion 7|.0 or la| |000018a0| 74 65 72 0d 6e 09 61 74 | 20 6c 65 61 73 74 20 34 |ter.n.at| least 4| |000018b0| 20 6d 65 67 61 62 79 74 | 65 73 20 28 4d 42 29 20 | megabyt|es (MB) | |000018c0| 6f 66 20 72 61 6e 64 6f | 6d 2d 61 63 63 65 73 73 |of rando|m-access| |000018d0| 20 6d 65 6d 6f 72 79 20 | 09 28 52 41 4d 29 0d 6e | memory |.(RAM).n| |000018e0| 09 61 20 68 61 72 64 20 | 64 69 73 6b 20 64 72 69 |.a hard |disk dri| |000018f0| 76 65 20 77 69 74 68 20 | 61 74 20 6c 65 61 73 74 |ve with |at least| |00001900| 20 31 20 4d 42 20 6f 66 | 20 61 76 61 69 6c 61 62 | 1 MB of| availab| |00001910| 6c 65 20 73 70 61 63 65 | 0d 6e 09 6f 6e 65 20 66 |le space|.n.one f| |00001920| 6c 6f 70 70 79 20 64 69 | 73 6b 20 64 72 69 76 65 |loppy di|sk drive| |00001930| 0d 49 6e 73 74 61 6c 6c | 69 6e 67 20 41 70 70 6c |.Install|ing Appl| |00001940| 65 53 63 72 69 70 74 20 | 6f 6e 20 79 6f 75 72 20 |eScript |on your | |00001950| 4d 61 63 69 6e 74 6f 73 | 68 0d 54 6f 20 69 6e 73 |Macintos|h.To ins| |00001960| 74 61 6c 6c 20 41 70 70 | 6c 65 53 63 72 69 70 74 |tall App|leScript| |00001970| 2c 20 66 6f 6c 6c 6f 77 | 20 74 68 65 73 65 20 73 |, follow| these s| |00001980| 74 65 70 73 3a 0d 31 2e | 09 49 6e 73 65 72 74 20 |teps:.1.|.Insert | |00001990| 74 68 65 20 64 69 73 6b | 20 6c 61 62 65 6c 65 64 |the disk| labeled| |000019a0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 49 6e 73 | AppleSc|ript Ins| |000019b0| 74 61 6c 6c 61 74 69 6f | 6e 20 44 69 73 6b 20 69 |tallatio|n Disk i| |000019c0| 6e 74 6f 20 79 6f 75 72 | 20 66 6c 6f 70 70 79 20 |nto your| floppy | |000019d0| 20 64 69 73 6b 20 64 72 | 69 76 65 2e 0d 54 68 65 | disk dr|ive..The| |000019e0| 20 64 69 73 6b d5 73 20 | 69 63 6f 6e 20 61 70 70 | disk.s |icon app| |000019f0| 65 61 72 73 20 6f 6e 20 | 74 68 65 20 64 65 73 6b |ears on |the desk| |00001a00| 74 6f 70 2e 0d 32 2e 09 | 20 20 4f 70 65 6e 20 74 |top..2..| Open t| |00001a10| 68 65 20 64 69 73 6b 20 | 62 79 20 64 6f 75 62 6c |he disk |by doubl| |00001a20| 65 2d 63 6c 69 63 6b 69 | 6e 67 20 69 74 73 20 69 |e-clicki|ng its i| |00001a30| 63 6f 6e 2e 0d 33 2e 20 | 20 4f 70 65 6e 20 74 68 |con..3. | Open th| |00001a40| 65 20 49 6e 73 74 61 6c | 6c 65 72 20 62 79 20 64 |e Instal|ler by d| |00001a50| 6f 75 62 6c 65 2d 63 6c | 69 63 6b 69 6e 67 20 69 |ouble-cl|icking i| |00001a60| 74 73 20 69 63 6f 6e 2e | 0d 57 68 65 6e 20 79 6f |ts icon.|.When yo| |00001a70| 75 20 6f 70 65 6e 20 74 | 68 65 20 49 6e 73 74 61 |u open t|he Insta| |00001a80| 6c 6c 65 72 2c 20 69 74 | 20 64 69 73 70 6c 61 79 |ller, it| display| |00001a90| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |s inform|ation ab| |00001aa0| 6f 75 74 20 74 68 65 20 | 66 69 6c 65 73 20 74 6f |out the |files to| |00001ab0| 20 62 65 20 69 6e 73 74 | 61 6c 6c 65 64 2e 20 43 | be inst|alled. C| |00001ac0| 6c 69 63 6b 20 4f 4b 2e | 0d 34 2e 09 20 43 6c 69 |lick OK.|.4.. Cli| |00001ad0| 63 6b 20 74 68 65 20 49 | 6e 73 74 61 6c 6c 20 62 |ck the I|nstall b| |00001ae0| 75 74 74 6f 6e 2e 0d 54 | 68 65 20 49 6e 73 74 61 |utton..T|he Insta| |00001af0| 6c 6c 65 72 20 74 61 6b | 65 73 20 61 20 66 65 77 |ller tak|es a few| |00001b00| 20 6d 6f 6d 65 6e 74 73 | 20 74 6f 20 63 61 6c 63 | moments| to calc| |00001b10| 75 6c 61 74 65 20 77 68 | 61 74 20 6e 65 65 64 73 |ulate wh|at needs| |00001b20| 20 74 6f 20 62 65 20 64 | 6f 6e 65 20 61 6e 64 20 | to be d|one and | |00001b30| 74 68 65 6e 20 62 65 67 | 69 6e 73 20 74 6f 20 63 |then beg|ins to c| |00001b40| 6f 70 79 20 66 69 6c 65 | 73 2e 20 54 68 65 20 77 |opy file|s. The w| |00001b50| 68 6f 6c 65 20 70 72 6f | 63 65 73 73 20 6d 61 79 |hole pro|cess may| |00001b60| 20 74 61 6b 65 20 73 65 | 76 65 72 61 6c 20 6d 69 | take se|veral mi| |00001b70| 6e 75 74 65 73 2e 0d 35 | 2e 09 57 68 65 6e 20 79 |nutes..5|..When y| |00001b80| 6f 75 20 73 65 65 20 61 | 20 6d 65 73 73 61 67 65 |ou see a| message| |00001b90| 20 74 68 61 74 20 74 68 | 65 20 69 6e 73 74 61 6c | that th|e instal| |00001ba0| 6c 61 74 69 6f 6e 20 69 | 73 20 63 6f 6d 70 6c 65 |lation i|s comple| |00001bb0| 74 65 2c 20 66 6f 6c 6c | 6f 77 20 74 68 65 20 69 |te, foll|ow the i| |00001bc0| 6e 73 74 72 75 63 74 69 | 6f 6e 73 20 6f 6e 20 74 |nstructi|ons on t| |00001bd0| 68 65 20 73 63 72 65 65 | 6e 2e 0d 59 6f 75 20 68 |he scree|n..You h| |00001be0| 61 76 65 20 66 69 6e 69 | 73 68 65 64 20 69 6e 73 |ave fini|shed ins| |00001bf0| 74 61 6c 6c 69 6e 67 20 | 41 70 70 6c 65 53 63 72 |talling |AppleScr| |00001c00| 69 70 74 20 6f 6e 20 79 | 6f 75 72 20 4d 61 63 69 |ipt on y|our Maci| |00001c10| 6e 74 6f 73 68 2e 0d 57 | 68 61 74 20 67 65 74 73 |ntosh..W|hat gets| |00001c20| 20 69 6e 73 74 61 6c 6c | 65 64 0d 57 68 65 6e 20 | install|ed.When | |00001c30| 79 6f 75 20 69 6e 73 74 | 61 6c 6c 20 41 70 70 6c |you inst|all Appl| |00001c40| 65 53 63 72 69 70 74 2c | 20 74 68 65 20 49 6e 73 |eScript,| the Ins| |00001c50| 74 61 6c 6c 65 72 20 63 | 6f 70 69 65 73 20 74 68 |taller c|opies th| |00001c60| 65 20 73 6f 66 74 77 61 | 72 65 20 79 6f 75 20 6e |e softwa|re you n| |00001c70| 65 65 64 20 69 6e 74 6f | 20 74 68 65 20 53 79 73 |eed into| the Sys| |00001c80| 74 65 6d 20 46 6f 6c 64 | 65 72 20 6f 6e 20 79 6f |tem Fold|er on yo| |00001c90| 75 72 20 68 61 72 64 20 | 64 72 69 76 65 2e 20 49 |ur hard |drive. I| |00001ca0| 74 20 61 6c 73 6f 20 63 | 72 65 61 74 65 73 20 61 |t also c|reates a| |00001cb0| 20 66 6f 6c 64 65 72 20 | 63 61 6c 6c 65 64 20 41 | folder |called A| |00001cc0| 70 70 6c 65 53 63 72 69 | 70 74 20 55 74 69 6c 69 |ppleScri|pt Utili| |00001cd0| 74 69 65 73 20 61 6e 64 | 20 70 6c 61 63 65 73 20 |ties and| places | |00001ce0| 74 77 6f 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |two appl|ication | |00001cf0| 70 72 6f 67 72 61 6d 73 | 20 69 6e 73 69 64 65 2e |programs| inside.| |00001d00| 20 57 68 65 6e 20 79 6f | 75 20 6f 70 65 6e 20 74 | When yo|u open t| |00001d10| 68 65 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 55 |he Apple|Script U| |00001d20| 74 69 6c 69 74 69 65 73 | 20 66 6f 6c 64 65 72 2c |tilities| folder,| |00001d30| 20 79 6f 75 20 73 65 65 | 20 74 68 65 73 65 20 69 | you see| these i| |00001d40| 63 6f 6e 73 3a 0d 54 68 | 65 20 53 63 72 69 70 74 |cons:.Th|e Script| |00001d50| 20 45 64 69 74 6f 72 20 | 69 73 20 61 6e 20 61 70 | Editor |is an ap| |00001d60| 70 6c 69 63 61 74 69 6f | 6e 20 79 6f 75 20 75 73 |plicatio|n you us| |00001d70| 65 20 74 6f 20 6f 70 65 | 6e 20 61 6e 64 20 72 75 |e to ope|n and ru| |00001d80| 6e 20 73 63 72 69 70 74 | 73 2c 20 6d 61 6b 65 20 |n script|s, make | |00001d90| 6e 65 77 20 73 63 72 69 | 70 74 73 20 62 79 20 72 |new scri|pts by r| |00001da0| 65 63 6f 72 64 69 6e 67 | 20 6f 72 20 77 72 69 74 |ecording| or writ| |00001db0| 69 6e 67 20 74 68 65 6d | 2c 20 61 6e 64 20 73 61 |ing them|, and sa| |00001dc0| 76 65 20 73 63 72 69 70 | 74 73 2e 0d 54 68 65 20 |ve scrip|ts..The | |00001dd0| 53 63 72 69 70 74 61 62 | 6c 65 20 54 65 78 74 20 |Scriptab|le Text | |00001de0| 45 64 69 74 6f 72 20 69 | 73 20 61 20 73 61 6d 70 |Editor i|s a samp| |00001df0| 6c 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 28 |le appli|cation (| |00001e00| 61 20 73 69 6d 70 6c 65 | 20 77 6f 72 64 2d 70 72 |a simple| word-pr| |00001e10| 6f 63 65 73 73 69 6e 67 | 20 70 72 6f 67 72 61 6d |ocessing| program| |00001e20| 29 20 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 75 |) that y|ou can u| |00001e30| 73 65 20 74 6f 20 70 72 | 61 63 74 69 63 65 20 6d |se to pr|actice m| |00001e40| 61 6b 69 6e 67 20 73 63 | 72 69 70 74 73 2e 20 59 |aking sc|ripts. Y| |00001e50| 6f 75 20 63 61 6e 20 6d | 61 6b 65 20 73 63 72 69 |ou can m|ake scri| |00001e60| 70 74 73 20 74 68 61 74 | 20 73 65 6e 64 20 63 6f |pts that| send co| |00001e70| 6d 6d 61 6e 64 73 20 74 | 6f 20 74 68 65 20 53 63 |mmands t|o the Sc| |00001e80| 72 69 70 74 61 62 6c 65 | 20 54 65 78 74 20 45 64 |riptable| Text Ed| |00001e90| 69 74 6f 72 2e 0d 41 73 | 20 79 6f 75 20 66 6f 6c |itor..As| you fol| |00001ea0| 6c 6f 77 20 74 68 65 20 | 69 6e 73 74 72 75 63 74 |low the |instruct| |00001eb0| 69 6f 6e 73 20 69 6e 20 | 74 68 65 20 6e 65 78 74 |ions in |the next| |00001ec0| 20 63 68 61 70 74 65 72 | 2c 20 d2 41 70 70 6c 65 | chapter|, .Apple| |00001ed0| 53 63 72 69 70 74 20 51 | 75 69 63 6b 20 54 6f 75 |Script Q|uick Tou| |00001ee0| 72 2c d3 20 79 6f 75 20 | 77 69 6c 6c 20 75 73 65 |r,. you |will use| |00001ef0| 20 74 68 65 20 53 63 72 | 69 70 74 20 45 64 69 74 | the Scr|ipt Edit| |00001f00| 6f 72 20 74 6f 20 6d 61 | 6b 65 20 61 20 73 63 72 |or to ma|ke a scr| |00001f10| 69 70 74 20 74 68 61 74 | 20 73 65 6e 64 73 20 63 |ipt that| sends c| |00001f20| 6f 6d 6d 61 6e 64 73 20 | 74 6f 20 74 68 65 20 53 |ommands |to the S| |00001f30| 63 72 69 70 74 61 62 6c | 65 20 54 65 78 74 20 45 |criptabl|e Text E| |00001f40| 64 69 74 6f 72 2e 0d 41 | 70 70 6c 65 53 63 72 69 |ditor..A|ppleScri| |00001f50| 70 74 20 51 75 69 63 6b | 20 54 6f 75 72 0d 54 68 |pt Quick| Tour.Th| |00001f60| 69 73 20 63 68 61 70 74 | 65 72 20 67 75 69 64 65 |is chapt|er guide| |00001f70| 73 20 79 6f 75 20 74 68 | 72 6f 75 67 68 20 72 65 |s you th|rough re| |00001f80| 63 6f 72 64 69 6e 67 2c | 20 72 75 6e 6e 69 6e 67 |cording,| running| |00001f90| 2c 20 61 6e 64 20 63 68 | 61 6e 67 69 6e 67 20 61 |, and ch|anging a| |00001fa0| 20 73 69 6d 70 6c 65 20 | 73 63 72 69 70 74 20 75 | simple |script u| |00001fb0| 73 69 6e 67 20 74 68 65 | 20 53 63 72 69 70 74 20 |sing the| Script | |00001fc0| 45 64 69 74 6f 72 20 61 | 6e 64 20 53 63 72 69 70 |Editor a|nd Scrip| |00001fd0| 74 61 62 6c 65 20 54 65 | 78 74 20 45 64 69 74 6f |table Te|xt Edito| |00001fe0| 72 2e 0d 50 61 72 74 20 | 31 3a 20 52 65 63 6f 72 |r..Part |1: Recor| |00001ff0| 64 69 6e 67 20 61 20 73 | 63 72 69 70 74 0d 54 68 |ding a s|cript.Th| |00002000| 65 20 65 61 73 69 65 73 | 74 20 77 61 79 20 74 6f |e easies|t way to| |00002010| 20 63 72 65 61 74 65 20 | 61 20 73 63 72 69 70 74 | create |a script| |00002020| 20 69 73 20 74 6f 20 75 | 73 65 20 74 68 65 20 66 | is to u|se the f| |00002030| 65 61 74 75 72 65 20 6f | 66 20 74 68 65 20 53 63 |eature o|f the Sc| |00002040| 72 69 70 74 20 45 64 69 | 74 6f 72 20 63 61 6c 6c |ript Edi|tor call| |00002050| 65 64 20 74 68 65 20 72 | 65 63 6f 72 64 65 72 2e |ed the r|ecorder.| |00002060| 20 54 68 65 20 72 65 63 | 6f 72 64 65 72 20 74 75 | The rec|order tu| |00002070| 72 6e 73 20 79 6f 75 72 | 20 61 63 74 69 6f 6e 73 |rns your| actions| |00002080| 20 69 6e 74 6f 20 61 20 | 73 63 72 69 70 74 20 79 | into a |script y| |00002090| 6f 75 20 63 61 6e 20 72 | 75 6e 2e 20 0d 54 6f 20 |ou can r|un. .To | |000020a0| 72 65 63 6f 72 64 20 61 | 20 73 63 72 69 70 74 20 |record a| script | |000020b0| 74 68 61 74 20 6f 70 65 | 6e 73 20 74 68 65 20 53 |that ope|ns the S| |000020c0| 63 72 69 70 74 61 62 6c | 65 20 54 65 78 74 20 45 |criptabl|e Text E| |000020d0| 64 69 74 6f 72 20 61 6e | 64 20 74 79 70 65 73 20 |ditor an|d types | |000020e0| 61 20 6d 65 73 73 61 67 | 65 2c 20 66 6f 6c 6c 6f |a messag|e, follo| |000020f0| 77 20 74 68 65 73 65 20 | 73 74 65 70 73 3a 0d 31 |w these |steps:.1| |00002100| 2e 09 4f 70 65 6e 20 74 | 68 65 20 53 63 72 69 70 |..Open t|he Scrip| |00002110| 74 20 45 64 69 74 6f 72 | 20 62 79 20 64 6f 75 62 |t Editor| by doub| |00002120| 6c 65 2d 63 6c 69 63 6b | 69 6e 67 20 69 74 73 20 |le-click|ing its | |00002130| 69 63 6f 6e 2e 0d 41 20 | 6e 65 77 20 73 63 72 69 |icon..A |new scri| |00002140| 70 74 20 77 69 6e 64 6f | 77 20 6f 70 65 6e 73 2e |pt windo|w opens.| |00002150| 0d 32 2e 20 20 49 6e 20 | 74 68 65 20 73 63 72 69 |.2. In |the scri| |00002160| 70 74 20 77 69 6e 64 6f | 77 2c 20 74 79 70 65 20 |pt windo|w, type | |00002170| 61 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 6f 66 |a descri|ption of| |00002180| 20 79 6f 75 72 20 73 63 | 72 69 70 74 2e 0d 59 6f | your sc|ript..Yo| |00002190| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 64 65 |u can us|e the de| |000021a0| 73 63 72 69 70 74 69 6f | 6e 20 74 6f 20 74 65 6c |scriptio|n to tel| |000021b0| 6c 20 77 68 61 74 20 79 | 6f 75 72 20 73 63 72 69 |l what y|our scri| |000021c0| 70 74 20 64 6f 65 73 2c | 20 6f 72 20 74 6f 20 65 |pt does,| or to e| |000021d0| 78 70 6c 61 69 6e 20 73 | 6f 6d 65 74 68 69 6e 67 |xplain s|omething| |000021e0| 20 61 62 6f 75 74 20 74 | 68 65 20 73 63 72 69 70 | about t|he scrip| |000021f0| 74 2e 0d 33 2e 09 43 6c | 69 63 6b 20 74 68 65 20 |t..3..Cl|ick the | |00002200| 52 65 63 6f 72 64 20 62 | 75 74 74 6f 6e 20 74 6f |Record b|utton to| |00002210| 20 73 74 61 72 74 20 72 | 65 63 6f 72 64 69 6e 67 | start r|ecording| |00002220| 20 79 6f 75 72 20 73 63 | 72 69 70 74 2e 0d 41 73 | your sc|ript..As| |00002230| 20 6c 6f 6e 67 20 61 73 | 20 74 68 65 20 72 65 63 | long as| the rec| |00002240| 6f 72 64 65 72 20 69 73 | 20 74 75 72 6e 65 64 20 |order is| turned | |00002250| 6f 6e 2c 20 74 68 65 20 | 53 63 72 69 70 74 20 45 |on, the |Script E| |00002260| 64 69 74 6f 72 20 6b 65 | 65 70 73 20 61 20 72 65 |ditor ke|eps a re| |00002270| 63 6f 72 64 20 6f 66 20 | 74 68 65 20 74 68 69 6e |cord of |the thin| |00002280| 67 73 20 79 6f 75 20 64 | 6f 2e 0d 3c 09 42 79 20 |gs you d|o..<.By | |00002290| 74 68 65 20 77 61 79 3a | 20 20 41 73 20 6c 6f 6e |the way:| As lon| |000022a0| 67 20 61 73 20 74 68 65 | 20 52 65 63 6f 72 64 65 |g as the| Recorde| |000022b0| 72 20 69 73 20 74 75 72 | 6e 65 64 20 6f 6e 2c 20 |r is tur|ned on, | |000022c0| 74 68 65 20 41 70 70 6c | 65 20 69 63 6f 6e 20 69 |the Appl|e icon i| |000022d0| 6e 20 74 68 65 20 6d 65 | 6e 75 20 62 61 72 20 61 |n the me|nu bar a| |000022e0| 6c 74 65 72 6e 61 74 65 | 73 20 77 69 74 68 20 61 |lternate|s with a| |000022f0| 20 72 65 63 6f 72 64 69 | 6e 67 20 69 63 6f 6e 2e | recordi|ng icon.| |00002300| 20 54 68 65 20 66 6c 61 | 73 68 69 6e 67 20 69 63 | The fla|shing ic| |00002310| 6f 6e 20 69 73 20 61 20 | 72 65 6d 69 6e 64 65 72 |on is a |reminder| |00002320| 20 74 68 61 74 20 74 68 | 65 20 53 63 72 69 70 74 | that th|e Script| |00002330| 20 45 64 69 74 6f 72 20 | 69 73 20 72 65 63 6f 72 | Editor |is recor| |00002340| 64 69 6e 67 20 79 6f 75 | 72 20 61 63 74 69 6f 6e |ding you|r action| |00002350| 73 2e 20 20 20 3c 0d 34 | 2e 20 20 43 68 6f 6f 73 |s. <.4|. Choos| |00002360| 65 20 46 69 6e 64 65 72 | 20 66 72 6f 6d 20 74 68 |e Finder| from th| |00002370| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 6d 65 |e Applic|ation me| |00002380| 6e 75 2e 0d 59 6f 75 20 | 64 6f 20 74 68 69 73 20 |nu..You |do this | |00002390| 73 74 65 70 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |step in |order to| |000023a0| 20 6f 70 65 6e 20 74 68 | 65 20 53 63 72 69 70 74 | open th|e Script| |000023b0| 61 62 6c 65 20 54 65 78 | 74 20 45 64 69 74 6f 72 |able Tex|t Editor| |000023c0| 2e 0d 35 2e 09 4f 70 65 | 6e 20 74 68 65 20 53 63 |..5..Ope|n the Sc| |000023d0| 72 69 70 74 61 62 6c 65 | 20 54 65 78 74 20 45 64 |riptable| Text Ed| |000023e0| 69 74 6f 72 20 62 79 20 | 64 6f 75 62 6c 65 2d 63 |itor by |double-c| |000023f0| 6c 69 63 6b 69 6e 67 20 | 69 74 73 20 69 63 6f 6e |licking |its icon| |00002400| 2e 0d 57 68 65 6e 20 79 | 6f 75 20 6f 70 65 6e 20 |..When y|ou open | |00002410| 74 68 65 20 53 63 72 69 | 70 74 61 62 6c 65 20 54 |the Scri|ptable T| |00002420| 65 78 74 20 45 64 69 74 | 6f 72 2c 20 61 6e 20 65 |ext Edit|or, an e| |00002430| 6d 70 74 79 20 74 65 78 | 74 20 77 69 6e 64 6f 77 |mpty tex|t window| |00002440| 20 6f 70 65 6e 73 2e 0d | 36 2e 09 49 6e 20 74 68 | opens..|6..In th| |00002450| 65 20 74 68 65 20 53 63 | 72 69 70 74 61 62 6c 65 |e the Sc|riptable| |00002460| 20 54 65 78 74 20 45 64 | 69 74 6f 72 20 77 69 6e | Text Ed|itor win| |00002470| 64 6f 77 2c 20 74 79 70 | 65 20 74 68 65 20 6d 65 |dow, typ|e the me| |00002480| 73 73 61 67 65 20 d2 57 | 65 6c 63 6f 6d 65 20 74 |ssage .W|elcome t| |00002490| 6f 20 41 70 70 6c 65 53 | 63 72 69 70 74 21 d3 0d |o AppleS|cript!..| |000024a0| 37 2e 09 53 65 6c 65 63 | 74 20 74 68 65 20 77 6f |7..Selec|t the wo| |000024b0| 72 64 20 d2 41 70 70 6c | 65 53 63 72 69 70 74 2c |rd .Appl|eScript,| |000024c0| d3 74 68 65 6e 20 63 68 | 6f 6f 73 65 20 69 74 61 |.then ch|oose ita| |000024d0| 6c 69 63 20 66 72 6f 6d | 20 74 68 65 20 53 74 79 |lic from| the Sty| |000024e0| 6c 65 20 6d 65 6e 75 2e | 0d 54 68 61 74 d5 73 20 |le menu.|.That.s | |000024f0| 74 68 65 20 6c 61 73 74 | 20 61 63 74 69 6f 6e 20 |the last| action | |00002500| 74 6f 20 69 6e 63 6c 75 | 64 65 20 69 6e 20 74 68 |to inclu|de in th| |00002510| 65 20 73 63 72 69 70 74 | 2e 20 4e 6f 77 20 79 6f |e script|. Now yo| |00002520| 75 d5 6c 6c 20 73 77 69 | 74 63 68 20 62 61 63 6b |u.ll swi|tch back| |00002530| 20 74 6f 20 74 68 65 20 | 53 63 72 69 70 74 20 45 | to the |Script E| |00002540| 64 69 74 6f 72 20 61 6e | 64 20 74 75 72 6e 20 6f |ditor an|d turn o| |00002550| 66 66 20 74 68 65 20 72 | 65 63 6f 72 64 65 72 2e |ff the r|ecorder.| |00002560| 0d 38 2e 09 43 68 6f 6f | 73 65 20 53 63 72 69 70 |.8..Choo|se Scrip| |00002570| 74 20 45 64 69 74 6f 72 | 20 66 72 6f 6d 20 74 68 |t Editor| from th| |00002580| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 6d 65 |e Applic|ation me| |00002590| 6e 75 2e 0d 09 39 2e 20 | 20 43 6c 69 63 6b 20 74 |nu...9. | Click t| |000025a0| 68 65 20 53 74 6f 70 20 | 62 75 74 74 6f 6e 20 69 |he Stop |button i| |000025b0| 6e 20 74 68 65 20 73 63 | 72 69 70 74 20 77 69 6e |n the sc|ript win| |000025c0| 64 6f 77 2e 0d 57 68 65 | 6e 20 79 6f 75 20 73 74 |dow..Whe|n you st| |000025d0| 6f 70 20 72 65 63 6f 72 | 64 69 6e 67 2c 20 74 68 |op recor|ding, th| |000025e0| 65 20 53 63 72 69 70 74 | 20 45 64 69 74 6f 72 20 |e Script| Editor | |000025f0| 61 64 64 73 20 6f 6e 65 | 20 6c 61 73 74 20 63 6f |adds one| last co| |00002600| 6d 6d 61 6e 64 20 74 6f | 20 79 6f 75 72 20 73 63 |mmand to| your sc| |00002610| 72 69 70 74 2e 20 59 6f | 75 72 20 73 63 72 69 70 |ript. Yo|ur scrip| |00002620| 74 20 77 69 6e 64 6f 77 | 20 73 68 6f 75 6c 64 20 |t window| should | |00002630| 6e 6f 77 20 6c 6f 6f 6b | 20 6c 69 6b 65 20 74 68 |now look| like th| |00002640| 69 73 3a 0d 59 6f 75 20 | 68 61 76 65 20 66 69 6e |is:.You |have fin| |00002650| 69 73 68 65 64 20 72 65 | 63 6f 72 64 69 6e 67 20 |ished re|cording | |00002660| 79 6f 75 72 20 66 69 72 | 73 74 20 73 63 72 69 70 |your fir|st scrip| |00002670| 74 21 20 4e 65 78 74 20 | 79 6f 75 d5 6c 6c 20 71 |t! Next |you.ll q| |00002680| 75 69 74 20 74 68 65 20 | 53 63 72 69 70 74 61 62 |uit the |Scriptab| |00002690| 6c 65 20 54 65 78 74 20 | 45 64 69 74 6f 72 20 73 |le Text |Editor s| |000026a0| 6f 20 79 6f 75 20 63 61 | 6e 20 73 65 65 20 77 68 |o you ca|n see wh| |000026b0| 61 74 20 68 61 70 70 65 | 6e 73 20 77 68 65 6e 20 |at happe|ns when | |000026c0| 79 6f 75 20 72 75 6e 20 | 79 6f 75 72 20 73 63 72 |you run |your scr| |000026d0| 69 70 74 2e 0d 50 61 72 | 74 20 32 3a 20 47 65 74 |ipt..Par|t 2: Get| |000026e0| 74 69 6e 67 20 72 65 61 | 64 79 20 74 6f 20 72 75 |ting rea|dy to ru| |000026f0| 6e 20 79 6f 75 72 20 73 | 63 72 69 70 74 0d 59 6f |n your s|cript.Yo| |00002700| 75 72 20 73 63 72 69 70 | 74 20 77 69 6c 6c 20 72 |ur scrip|t will r| |00002710| 65 70 65 61 74 20 74 68 | 65 20 61 63 74 69 6f 6e |epeat th|e action| |00002720| 73 20 79 6f 75 20 6a 75 | 73 74 20 72 65 63 6f 72 |s you ju|st recor| |00002730| 64 65 64 3a 20 69 74 20 | 77 69 6c 6c 20 6f 70 65 |ded: it |will ope| |00002740| 6e 20 74 68 65 20 53 63 | 72 69 70 74 61 62 6c 65 |n the Sc|riptable| |00002750| 20 54 65 78 74 20 45 64 | 69 74 6f 72 20 61 6e 64 | Text Ed|itor and| |00002760| 20 74 79 70 65 20 61 20 | 6d 65 73 73 61 67 65 2e | type a |message.| |00002770| 20 54 68 65 20 53 63 72 | 69 70 74 61 62 6c 65 20 | The Scr|iptable | |00002780| 54 65 78 74 20 45 64 69 | 74 6f 72 20 77 61 73 6e |Text Edi|tor wasn| |00002790| d5 74 20 6f 70 65 6e 20 | 77 68 65 6e 20 79 6f 75 |.t open |when you| |000027a0| 20 73 74 61 72 74 65 64 | 20 72 65 63 6f 72 64 69 | started| recordi| |000027b0| 6e 67 2c 20 73 6f 20 62 | 65 66 6f 72 65 20 79 6f |ng, so b|efore yo| |000027c0| 75 20 72 75 6e 20 79 6f | 75 72 20 73 63 72 69 70 |u run yo|ur scrip| |000027d0| 74 2c 20 79 6f 75 d5 6c | 6c 20 71 75 69 74 20 74 |t, you.l|l quit t| |000027e0| 68 65 20 53 63 72 69 70 | 74 61 62 6c 65 20 54 65 |he Scrip|table Te| |000027f0| 78 74 20 45 64 69 74 6f | 72 2e 20 54 6f 20 6d 61 |xt Edito|r. To ma| |00002800| 6b 65 20 69 74 20 65 61 | 73 69 65 72 20 74 6f 20 |ke it ea|sier to | |00002810| 73 65 65 20 79 6f 75 72 | 20 73 63 72 69 70 74 20 |see your| script | |00002820| 77 6f 72 6b 2c 20 79 6f | 75 d5 6c 6c 20 61 6c 73 |work, yo|u.ll als| |00002830| 6f 20 6d 6f 76 65 20 74 | 68 65 20 73 63 72 69 70 |o move t|he scrip| |00002840| 74 20 77 69 6e 64 6f 77 | 20 6f 75 74 20 6f 66 20 |t window| out of | |00002850| 74 68 65 20 77 61 79 2c | 20 73 6f 20 74 68 61 74 |the way,| so that| |00002860| 20 79 6f 75 20 63 61 6e | 20 73 65 65 20 74 68 65 | you can| see the| |00002870| 20 53 63 72 69 70 74 61 | 62 6c 65 20 54 65 78 74 | Scripta|ble Text| |00002880| 20 45 64 69 74 6f 72 20 | 77 69 6e 64 6f 77 20 61 | Editor |window a| |00002890| 73 20 73 6f 6f 6e 20 61 | 73 20 69 74 20 6f 70 65 |s soon a|s it ope| |000028a0| 6e 73 2e 0d 54 6f 20 67 | 65 74 20 73 65 74 20 75 |ns..To g|et set u| |000028b0| 70 20 74 6f 20 72 75 6e | 20 79 6f 75 72 20 73 63 |p to run| your sc| |000028c0| 72 69 70 74 2c 20 66 6f | 6c 6c 6f 77 20 74 68 65 |ript, fo|llow the| |000028d0| 73 65 20 73 74 65 70 73 | 3a 0d 31 2e 09 43 68 6f |se steps|:.1..Cho| |000028e0| 6f 73 65 20 74 68 65 20 | 53 63 72 69 70 74 61 62 |ose the |Scriptab| |000028f0| 6c 65 20 54 65 78 74 20 | 45 64 69 74 6f 72 20 66 |le Text |Editor f| |00002900| 72 6f 6d 20 74 68 65 20 | 41 70 70 6c 69 63 61 74 |rom the |Applicat| |00002910| 69 6f 6e 20 6d 65 6e 75 | 2e 0d 59 6f 75 20 64 6f |ion menu|..You do| |00002920| 20 74 68 69 73 20 73 74 | 65 70 20 73 6f 20 74 68 | this st|ep so th| |00002930| 61 74 20 79 6f 75 20 63 | 61 6e 20 71 75 69 74 20 |at you c|an quit | |00002940| 74 68 65 20 53 63 72 69 | 70 74 61 62 6c 65 20 54 |the Scri|ptable T| |00002950| 65 78 74 20 45 64 69 74 | 6f 72 2e 0d 32 2e 09 43 |ext Edit|or..2..C| |00002960| 68 6f 6f 73 65 20 51 75 | 69 74 20 66 72 6f 6d 20 |hoose Qu|it from | |00002970| 74 68 65 20 46 69 6c 65 | 20 6d 65 6e 75 2e 0d 41 |the File| menu..A| |00002980| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 61 70 70 65 | dialog |box appe| |00002990| 61 72 73 20 69 6e 20 77 | 68 69 63 68 20 79 6f 75 |ars in w|hich you| |000029a0| 20 63 68 6f 6f 73 65 20 | 77 68 65 74 68 65 72 20 | choose |whether | |000029b0| 74 6f 20 73 61 76 65 20 | 74 68 65 20 61 63 74 69 |to save |the acti| |000029c0| 76 65 20 64 6f 63 75 6d | 65 6e 74 2e 0d 33 2e 09 |ve docum|ent..3..| |000029d0| 43 6c 69 63 6b 20 4e 6f | 2e 0d 4e 6f 77 20 79 6f |Click No|..Now yo| |000029e0| 75 d5 72 65 20 61 6c 6c | 20 73 65 74 d1 69 74 d5 |u.re all| set.it.| |000029f0| 73 20 74 69 6d 65 20 74 | 6f 20 72 75 6e 20 79 6f |s time t|o run yo| |00002a00| 75 72 20 73 63 72 69 70 | 74 2e 0d 50 61 72 74 20 |ur scrip|t..Part | |00002a10| 33 3a 20 52 75 6e 6e 69 | 6e 67 20 79 6f 75 72 20 |3: Runni|ng your | |00002a20| 73 63 72 69 70 74 0d 41 | 20 73 63 72 69 70 74 20 |script.A| script | |00002a30| 69 73 20 6c 69 6b 65 20 | 61 20 6c 69 73 74 20 6f |is like |a list o| |00002a40| 66 20 74 68 69 6e 67 73 | 20 74 6f 20 64 6f 2e 20 |f things| to do. | |00002a50| 57 68 65 6e 20 79 6f 75 | 20 72 75 6e 20 61 20 73 |When you| run a s| |00002a60| 63 72 69 70 74 2c 20 74 | 68 65 20 63 6f 6d 70 75 |cript, t|he compu| |00002a70| 74 65 72 20 67 6f 65 73 | 20 73 74 65 70 2d 62 79 |ter goes| step-by| |00002a80| 2d 73 74 65 70 20 66 72 | 6f 6d 20 74 68 65 20 74 |-step fr|om the t| |00002a90| 6f 70 20 74 6f 20 74 68 | 65 20 62 6f 74 74 6f 6d |op to th|e bottom| |00002aa0| 20 6f 66 20 74 68 65 20 | 73 63 72 69 70 74 2c 20 | of the |script, | |00002ab0| 64 6f 69 6e 67 20 65 61 | 63 68 20 74 68 69 6e 67 |doing ea|ch thing| |00002ac0| 20 6f 6e 20 74 68 65 20 | 6c 69 73 74 2e 20 54 6f | on the |list. To| |00002ad0| 20 72 75 6e 20 79 6f 75 | 72 20 73 63 72 69 70 74 | run you|r script| |00002ae0| 3a 0d 6e 09 43 6c 69 63 | 6b 20 74 68 65 20 52 75 |:.n.Clic|k the Ru| |00002af0| 6e 20 62 75 74 74 6f 6e | 20 69 6e 20 74 68 65 20 |n button| in the | |00002b00| 73 63 72 69 70 74 20 77 | 69 6e 64 6f 77 2e 0d 57 |script w|indow..W| |00002b10| 68 65 6e 20 79 6f 75 20 | 72 75 6e 20 79 6f 75 72 |hen you |run your| |00002b20| 20 73 63 72 69 70 74 2c | 20 74 68 65 20 53 63 72 | script,| the Scr| |00002b30| 69 70 74 61 62 6c 65 20 | 54 65 78 74 20 45 64 69 |iptable |Text Edi| |00002b40| 74 6f 72 20 6f 70 65 6e | 73 2c 20 64 69 73 70 6c |tor open|s, displ| |00002b50| 61 79 73 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 |ays a ne|w window| |00002b60| 2c 20 74 79 70 65 73 20 | d2 57 65 6c 63 6f 6d 65 |, types |.Welcome| |00002b70| 20 74 6f 20 41 70 70 6c | 65 53 63 72 69 70 74 d3 | to Appl|eScript.| |00002b80| 69 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 2c 20 61 |in the w|indow, a| |00002b90| 6e 64 20 63 68 61 6e 67 | 65 73 20 74 68 65 20 73 |nd chang|es the s| |00002ba0| 74 79 6c 65 20 6f 66 20 | 74 68 65 20 77 6f 72 64 |tyle of |the word| |00002bb0| 20 d2 41 70 70 6c 65 53 | 63 72 69 70 74 d3 20 74 | .AppleS|cript. t| |00002bc0| 6f 20 69 74 61 6c 69 63 | 2e 0d 49 6e 20 74 68 65 |o italic|..In the| |00002bd0| 20 6e 65 78 74 20 73 65 | 63 74 69 6f 6e 2c 20 79 | next se|ction, y| |00002be0| 6f 75 d5 6c 6c 20 63 68 | 61 6e 67 65 20 74 68 69 |ou.ll ch|ange thi| |00002bf0| 73 20 73 63 72 69 70 74 | 2c 20 74 68 65 6e 20 72 |s script|, then r| |00002c00| 75 6e 20 69 74 20 61 67 | 61 69 6e 2e 20 54 6f 20 |un it ag|ain. To | |00002c10| 73 65 74 20 74 68 69 6e | 67 73 20 75 70 20 74 6f |set thin|gs up to| |00002c20| 20 72 75 6e 20 74 68 65 | 20 73 63 72 69 70 74 20 | run the| script | |00002c30| 61 67 61 69 6e 3a 0d 6e | 09 51 75 69 74 20 74 68 |again:.n|.Quit th| |00002c40| 65 20 53 63 72 69 70 74 | 61 62 6c 65 20 54 65 78 |e Script|able Tex| |00002c50| 74 20 45 64 69 74 6f 72 | 2e 0d 50 61 72 74 20 34 |t Editor|..Part 4| |00002c60| 3a 20 43 68 61 6e 67 69 | 6e 67 20 79 6f 75 72 20 |: Changi|ng your | |00002c70| 73 63 72 69 70 74 0d 4f | 6e 63 65 20 79 6f 75 d5 |script.O|nce you.| |00002c80| 76 65 20 72 65 63 6f 72 | 64 65 64 20 61 20 73 63 |ve recor|ded a sc| |00002c90| 72 69 70 74 2c 20 79 6f | 75 20 63 61 6e 20 65 64 |ript, yo|u can ed| |00002ca0| 69 74 20 69 74 20 74 6f | 20 6d 61 6b 65 20 69 74 |it it to| make it| |00002cb0| 20 64 6f 20 73 6c 69 67 | 68 74 6c 79 20 64 69 66 | do slig|htly dif| |00002cc0| 66 65 72 65 6e 74 20 74 | 68 69 6e 67 73 2e 20 59 |ferent t|hings. Y| |00002cd0| 6f 75 20 65 64 69 74 20 | 73 63 72 69 70 74 73 20 |ou edit |scripts | |00002ce0| 69 6e 20 6d 75 63 68 20 | 74 68 65 20 73 61 6d 65 |in much |the same| |00002cf0| 20 77 61 79 20 79 6f 75 | 20 65 64 69 74 20 61 6e | way you| edit an| |00002d00| 79 20 74 65 78 74 20 64 | 6f 63 75 6d 65 6e 74 2e |y text d|ocument.| |00002d10| 20 54 6f 20 65 64 69 74 | 20 79 6f 75 72 20 73 63 | To edit| your sc| |00002d20| 72 69 70 74 2c 20 66 6f | 6c 6c 6f 77 20 74 68 65 |ript, fo|llow the| |00002d30| 73 65 20 73 74 65 70 73 | 3a 0d 31 2e 09 49 6e 20 |se steps|:.1..In | |00002d40| 74 68 65 20 73 63 72 69 | 70 74 20 77 69 6e 64 6f |the scri|pt windo| |00002d50| 77 2c 20 73 65 6c 65 63 | 74 20 74 68 65 20 77 6f |w, selec|t the wo| |00002d60| 72 64 20 d2 69 74 61 6c | 69 63 2e d3 0d 32 2e 09 |rd .ital|ic...2..| |00002d70| 54 79 70 65 20 d2 62 6f | 6c 64 2e d3 0d 54 68 61 |Type .bo|ld...Tha| |00002d80| 74 d5 73 20 61 6c 6c 20 | 74 68 65 72 65 20 69 73 |t.s all |there is| |00002d90| 20 74 6f 20 65 64 69 74 | 69 6e 67 20 61 20 73 63 | to edit|ing a sc| |00002da0| 72 69 70 74 2e 20 49 74 | d5 73 20 6a 75 73 74 20 |ript. It|.s just | |00002db0| 6c 69 6b 65 20 65 64 69 | 74 69 6e 67 20 61 6e 79 |like edi|ting any| |00002dc0| 20 6f 74 68 65 72 20 74 | 79 70 65 20 6f 66 20 74 | other t|ype of t| |00002dd0| 65 78 74 20 6f 6e 20 79 | 6f 75 72 20 4d 61 63 69 |ext on y|our Maci| |00002de0| 6e 74 6f 73 68 2e 20 4e | 65 78 74 2c 20 63 6f 6e |ntosh. N|ext, con| |00002df0| 74 69 6e 75 65 20 77 69 | 74 68 20 50 61 72 74 20 |tinue wi|th Part | |00002e00| 35 20 74 6f 20 66 69 6e | 64 20 6f 75 74 20 68 6f |5 to fin|d out ho| |00002e10| 77 20 74 6f 20 73 61 76 | 65 20 79 6f 75 72 20 73 |w to sav|e your s| |00002e20| 63 72 69 70 74 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |cript, i|ncluding| |00002e30| 20 74 68 65 20 63 68 61 | 6e 67 65 20 79 6f 75 20 | the cha|nge you | |00002e40| 6a 75 73 74 20 6d 61 64 | 65 2e 0d 50 61 72 74 20 |just mad|e..Part | |00002e50| 35 3a 20 53 61 76 69 6e | 67 20 79 6f 75 72 20 73 |5: Savin|g your s| |00002e60| 63 72 69 70 74 0d 59 6f | 75 20 63 61 6e 20 73 61 |cript.Yo|u can sa| |00002e70| 76 65 20 79 6f 75 72 20 | 73 63 72 69 70 74 20 69 |ve your |script i| |00002e80| 6e 20 61 6e 79 20 6f 66 | 20 73 65 76 65 72 61 6c |n any of| several| |00002e90| 20 6b 69 6e 64 73 20 6f | 66 20 64 6f 63 75 6d 65 | kinds o|f docume| |00002ea0| 6e 74 73 2e 20 54 68 65 | 20 6b 69 6e 64 20 6f 66 |nts. The| kind of| |00002eb0| 20 64 6f 63 75 6d 65 6e | 74 20 79 6f 75 20 63 68 | documen|t you ch| |00002ec0| 6f 6f 73 65 20 64 65 70 | 65 6e 64 73 20 6f 6e 20 |oose dep|ends on | |00002ed0| 77 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |what you| want to| |00002ee0| 20 64 6f 20 77 69 74 68 | 20 79 6f 75 72 20 73 63 | do with| your sc| |00002ef0| 72 69 70 74 20 6c 61 74 | 65 72 2e 20 59 6f 75 20 |ript lat|er. You | |00002f00| 63 61 6e 3a 0d 6e 09 72 | 75 6e 20 79 6f 75 72 20 |can:.n.r|un your | |00002f10| 73 63 72 69 70 74 20 62 | 79 20 69 74 73 65 6c 66 |script b|y itself| |00002f20| 2c 20 61 73 20 69 66 20 | 69 74 20 77 65 72 65 20 |, as if |it were | |00002f30| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 28 |an appli|cation (| |00002f40| 77 69 74 68 6f 75 74 20 | 6f 70 65 6e 69 6e 67 20 |without |opening | |00002f50| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito| |00002f60| 72 29 0d 6e 09 6f 70 65 | 6e 20 79 6f 75 72 20 73 |r).n.ope|n your s| |00002f70| 61 76 65 64 20 73 63 72 | 69 70 74 20 69 6e 20 74 |aved scr|ipt in t| |00002f80| 68 65 20 53 63 72 69 70 | 74 20 45 64 69 74 6f 72 |he Scrip|t Editor| |00002f90| 0d 6e 09 6f 70 65 6e 20 | 79 6f 75 72 20 73 61 76 |.n.open |your sav| |00002fa0| 65 64 20 73 63 72 69 70 | 74 20 61 73 20 74 65 78 |ed scrip|t as tex| |00002fb0| 74 20 69 6e 20 61 6e 6f | 74 68 65 72 20 70 72 6f |t in ano|ther pro| |00002fc0| 67 72 61 6d 20 28 66 6f | 72 20 65 78 61 6d 70 6c |gram (fo|r exampl| |00002fd0| 65 2c 20 69 6e 20 74 68 | 65 20 53 63 72 69 70 74 |e, in th|e Script| |00002fe0| 61 62 6c 65 20 54 65 78 | 74 20 45 64 69 74 6f 72 |able Tex|t Editor| |00002ff0| 29 0d 54 68 65 72 65 20 | 69 73 20 61 20 66 6f 72 |).There |is a for| |00003000| 6d 61 74 20 74 68 61 74 | d5 73 20 62 65 73 74 20 |mat that|.s best | |00003010| 74 6f 20 75 73 65 20 66 | 6f 72 20 65 61 63 68 20 |to use f|or each | |00003020| 6f 66 20 74 68 65 73 65 | 20 73 69 74 75 61 74 69 |of these| situati| |00003030| 6f 6e 73 2e 20 49 6e 20 | 74 68 69 73 20 74 75 74 |ons. In |this tut| |00003040| 6f 72 69 61 6c 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |orial, y|ou will | |00003050| 73 61 76 65 20 79 6f 75 | 72 20 73 63 72 69 70 74 |save you|r script| |00003060| 20 61 73 20 61 20 d2 73 | 63 72 69 70 74 20 61 70 | as a .s|cript ap| |00003070| 70 6c 69 63 61 74 69 6f | 6e d3 73 6f 20 74 68 61 |plicatio|n.so tha| |00003080| 74 20 79 6f 75 20 63 61 | 6e 20 72 75 6e 20 69 74 |t you ca|n run it| |00003090| 20 62 79 20 69 74 73 65 | 6c 66 2e 20 54 6f 20 73 | by itse|lf. To s| |000030a0| 61 76 65 20 79 6f 75 72 | 20 73 63 72 69 70 74 2c |ave your| script,| |000030b0| 20 66 6f 6c 6c 6f 77 20 | 74 68 65 73 65 20 73 74 | follow |these st| |000030c0| 65 70 73 3a 0d 31 2e 09 | 43 68 6f 6f 73 65 20 53 |eps:.1..|Choose S| |000030d0| 61 76 65 20 66 72 6f 6d | 20 74 68 65 20 46 69 6c |ave from| the Fil| |000030e0| 65 20 6d 65 6e 75 2e 0d | 32 2e 09 49 6e 20 74 68 |e menu..|2..In th| |000030f0| 65 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 74 68 61 |e dialog| box tha| |00003100| 74 20 61 70 70 65 61 72 | 73 2c 20 63 68 6f 6f 73 |t appear|s, choos| |00003110| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 66 72 |e Applic|ation fr| |00003120| 6f 6d 20 74 68 65 20 4b | 69 6e 64 20 70 6f 70 2d |om the K|ind pop-| |00003130| 75 70 20 6d 65 6e 75 2e | 0d 57 68 65 6e 20 79 6f |up menu.|.When yo| |00003140| 75 20 73 61 76 65 20 61 | 20 73 63 72 69 70 74 20 |u save a| script | |00003150| 61 73 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |as an ap|plicatio| |00003160| 6e 2c 20 79 6f 75 20 63 | 61 6e 20 72 75 6e 20 74 |n, you c|an run t| |00003170| 68 65 20 73 63 72 69 70 | 74 20 77 69 74 68 6f 75 |he scrip|t withou| |00003180| 74 20 6f 70 65 6e 69 6e | 67 20 74 68 65 20 53 63 |t openin|g the Sc| |00003190| 72 69 70 74 20 45 64 69 | 74 6f 72 2e 0d 33 2e 09 |ript Edi|tor..3..| |000031a0| 54 79 70 65 20 61 20 6e | 61 6d 65 20 66 6f 72 20 |Type a n|ame for | |000031b0| 79 6f 75 72 20 73 63 72 | 69 70 74 20 61 6e 64 20 |your scr|ipt and | |000031c0| 63 6c 69 63 6b 20 53 61 | 76 65 2e 0d 59 6f 75 20 |click Sa|ve..You | |000031d0| 68 61 76 65 20 66 69 6e | 69 73 68 65 64 20 73 61 |have fin|ished sa| |000031e0| 76 69 6e 67 20 79 6f 75 | 72 20 73 63 72 69 70 74 |ving you|r script| |000031f0| 2e 20 42 65 63 61 75 73 | 65 20 79 6f 75 20 73 61 |. Becaus|e you sa| |00003200| 76 65 64 20 69 74 20 61 | 73 20 61 6e 20 61 70 70 |ved it a|s an app| |00003210| 6c 69 63 61 74 69 6f 6e | 2c 20 79 6f 75 20 64 6f |lication|, you do| |00003220| 6e d5 74 20 6e 65 65 64 | 20 74 6f 20 75 73 65 20 |n.t need| to use | |00003230| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito| |00003240| 72 20 74 6f 20 72 75 6e | 20 69 74 2e 0d 34 2e 09 |r to run| it..4..| |00003250| 43 68 6f 6f 73 65 20 51 | 75 69 74 20 66 72 6f 6d |Choose Q|uit from| |00003260| 20 74 68 65 20 46 69 6c | 65 20 6d 65 6e 75 2e 0d | the Fil|e menu..| |00003270| 4e 65 78 74 2c 20 79 6f | 75 d5 6c 6c 20 72 75 6e |Next, yo|u.ll run| |00003280| 20 79 6f 75 72 20 73 63 | 72 69 70 74 20 61 70 70 | your sc|ript app| |00003290| 6c 69 63 61 74 69 6f 6e | 2e 0d 50 61 72 74 20 36 |lication|..Part 6| |000032a0| 3a 20 52 75 6e 6e 69 6e | 67 20 79 6f 75 72 20 73 |: Runnin|g your s| |000032b0| 63 72 69 70 74 20 61 70 | 70 6c 69 63 61 74 69 6f |cript ap|plicatio| |000032c0| 6e 0d 59 6f 75 20 73 61 | 76 65 64 20 79 6f 75 72 |n.You sa|ved your| |000032d0| 20 73 63 72 69 70 74 20 | 61 73 20 61 6e 20 61 70 | script |as an ap| |000032e0| 70 6c 69 63 61 74 69 6f | 6e 2e 20 54 68 61 74 20 |plicatio|n. That | |000032f0| 6d 65 61 6e 73 20 74 68 | 61 74 20 79 6f 75 20 63 |means th|at you c| |00003300| 61 6e 20 72 75 6e 20 69 | 74 20 77 69 74 68 6f 75 |an run i|t withou| |00003310| 74 20 6f 70 65 6e 69 6e | 67 20 74 68 65 20 53 63 |t openin|g the Sc| |00003320| 72 69 70 74 20 45 64 69 | 74 6f 72 2e 20 46 6f 6c |ript Edi|tor. Fol| |00003330| 6c 6f 77 20 74 68 65 73 | 65 20 73 74 65 70 73 20 |low thes|e steps | |00003340| 74 6f 20 72 75 6e 20 79 | 6f 75 72 20 73 63 72 69 |to run y|our scri| |00003350| 70 74 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 3a 0d |pt appli|cation:.| |00003360| 31 2e 09 4f 70 65 6e 20 | 79 6f 75 72 20 73 63 72 |1..Open |your scr| |00003370| 69 70 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ipt appl|ication | |00003380| 62 79 20 64 6f 75 62 6c | 65 2d 63 6c 69 63 6b 69 |by doubl|e-clicki| |00003390| 6e 67 20 69 74 73 20 69 | 63 6f 6e 2e 0d 41 20 73 |ng its i|con..A s| |000033a0| 74 61 72 74 75 70 20 73 | 63 72 65 65 6e 20 64 69 |tartup s|creen di| |000033b0| 73 70 6c 61 79 73 20 74 | 68 65 20 64 65 73 63 72 |splays t|he descr| |000033c0| 69 70 74 69 6f 6e 20 6f | 66 20 79 6f 75 72 20 73 |iption o|f your s| |000033d0| 63 72 69 70 74 20 74 68 | 61 74 20 79 6f 75 20 77 |cript th|at you w| |000033e0| 72 6f 74 65 20 69 6e 20 | 69 74 73 20 73 63 72 69 |rote in |its scri| |000033f0| 70 74 20 77 69 6e 64 6f | 77 2e 0d 32 2e 09 49 6e |pt windo|w..2..In| |00003400| 20 74 68 65 20 73 74 61 | 72 74 75 70 20 73 63 72 | the sta|rtup scr| |00003410| 65 65 6e 20 77 69 6e 64 | 6f 77 2c 20 63 6c 69 63 |een wind|ow, clic| |00003420| 6b 20 52 75 6e 2e 0d 54 | 68 65 20 73 63 72 69 70 |k Run..T|he scrip| |00003430| 74 20 6f 70 65 6e 73 20 | 74 68 65 20 53 63 72 69 |t opens |the Scri| |00003440| 70 74 61 62 6c 65 20 54 | 65 78 74 20 45 64 69 74 |ptable T|ext Edit| |00003450| 6f 72 2c 20 74 79 70 65 | 73 20 61 20 6d 65 73 73 |or, type|s a mess| |00003460| 61 67 65 2c 20 61 6e 64 | 20 63 68 61 6e 67 65 73 |age, and| changes| |00003470| 20 74 68 65 20 6c 61 73 | 74 20 77 6f 72 64 20 74 | the las|t word t| |00003480| 6f 20 62 6f 6c 64 3a 0d | 33 2e 09 43 68 6f 6f 73 |o bold:.|3..Choos| |00003490| 65 20 51 75 69 74 20 66 | 72 6f 6d 20 74 68 65 20 |e Quit f|rom the | |000034a0| 46 69 6c 65 20 6d 65 6e | 75 2e 0d 59 6f 75 20 63 |File men|u..You c| |000034b0| 61 6e 20 73 61 76 65 20 | 74 68 65 20 53 63 72 69 |an save |the Scri| |000034c0| 70 74 61 62 6c 65 20 54 | 65 78 74 20 45 64 69 74 |ptable T|ext Edit| |000034d0| 6f 72 20 64 6f 63 75 6d | 65 6e 74 20 69 66 20 79 |or docum|ent if y| |000034e0| 6f 75 20 6c 69 6b 65 2c | 20 62 75 74 20 79 6f 75 |ou like,| but you| |000034f0| 20 64 6f 6e d5 74 20 6e | 65 65 64 20 74 6f 2e 0d | don.t n|eed to..| |00003500| 57 68 61 74 d5 73 20 6e | 65 78 74 0d 59 6f 75 d5 |What.s n|ext.You.| |00003510| 76 65 20 63 6f 6d 70 6c | 65 74 65 64 20 74 68 65 |ve compl|eted the| |00003520| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 51 75 69 | AppleSc|ript Qui| |00003530| 63 6b 20 54 6f 75 72 2e | 20 59 6f 75 d5 76 65 20 |ck Tour.| You.ve | |00003540| 6c 65 61 72 6e 65 64 20 | 68 6f 77 20 74 6f 20 6d |learned |how to m| |00003550| 61 6b 65 20 61 20 6e 65 | 77 20 73 63 72 69 70 74 |ake a ne|w script| |00003560| 20 62 79 20 72 65 63 6f | 72 64 69 6e 67 20 79 6f | by reco|rding yo| |00003570| 75 72 20 61 63 74 69 6f | 6e 73 2c 20 61 6e 64 20 |ur actio|ns, and | |00003580| 79 6f 75 20 6b 6e 6f 77 | 20 68 6f 77 20 74 6f 20 |you know| how to | |00003590| 72 75 6e 20 74 68 65 20 | 73 63 72 69 70 74 2c 20 |run the |script, | |000035a0| 6d 61 6b 65 20 63 68 61 | 6e 67 65 73 20 69 6e 20 |make cha|nges in | |000035b0| 69 74 2c 20 61 6e 64 20 | 73 61 76 65 20 69 74 2e |it, and |save it.| |000035c0| 20 54 68 65 73 65 20 61 | 72 65 20 61 6c 6c 20 74 | These a|re all t| |000035d0| 68 65 20 62 61 73 69 63 | 20 73 6b 69 6c 6c 73 20 |he basic| skills | |000035e0| 79 6f 75 20 6e 65 65 64 | 20 69 6e 20 6f 72 64 65 |you need| in orde| |000035f0| 72 20 74 6f 20 75 73 65 | 20 41 70 70 6c 65 53 63 |r to use| AppleSc| |00003600| 72 69 70 74 2e 0d 54 68 | 65 72 65 d5 73 20 6d 6f |ript..Th|ere.s mo| |00003610| 72 65 20 74 6f 20 6c 65 | 61 72 6e 2c 20 74 68 6f |re to le|arn, tho| |00003620| 75 67 68 2e 20 54 6f 20 | 66 69 6e 64 20 6f 75 74 |ugh. To |find out| |00003630| 20 6d 6f 72 65 20 61 62 | 6f 75 74 20 74 68 65 20 | more ab|out the | |00003640| 41 70 70 6c 65 53 63 72 | 69 70 74 20 6c 61 6e 67 |AppleScr|ipt lang| |00003650| 75 61 67 65 2c 20 73 65 | 65 20 74 68 65 20 41 70 |uage, se|e the Ap| |00003660| 70 6c 65 53 63 72 69 70 | 74 20 4c 61 6e 67 75 61 |pleScrip|t Langua| |00003670| 67 65 20 47 75 69 64 65 | 2e 20 54 6f 20 6c 65 61 |ge Guide|. To lea| |00003680| 72 6e 20 6d 6f 72 65 20 | 61 62 6f 75 74 20 75 73 |rn more |about us| |00003690| 69 6e 67 20 74 68 65 20 | 53 63 72 69 70 74 20 45 |ing the |Script E| |000036a0| 64 69 74 6f 72 2c 20 74 | 75 72 6e 20 74 6f 20 43 |ditor, t|urn to C| |000036b0| 68 61 70 74 65 72 20 33 | 2c 20 d2 55 73 69 6e 67 |hapter 3|, .Using| |000036c0| 20 74 68 65 20 53 63 72 | 69 70 74 20 45 64 69 74 | the Scr|ipt Edit| |000036d0| 6f 72 2e d3 0d 55 73 69 | 6e 67 20 74 68 65 20 53 |or...Usi|ng the S| |000036e0| 63 72 69 70 74 20 45 64 | 69 74 6f 72 0d 55 73 65 |cript Ed|itor.Use| |000036f0| 20 74 68 69 73 20 63 68 | 61 70 74 65 72 20 74 6f | this ch|apter to| |00003700| 20 66 69 6e 64 20 6f 75 | 74 20 68 6f 77 20 74 6f | find ou|t how to| |00003710| 20 75 73 65 20 74 68 65 | 20 53 63 72 69 70 74 20 | use the| Script | |00003720| 45 64 69 74 6f 72 20 74 | 6f 3a 0d 6e 09 6f 70 65 |Editor t|o:.n.ope| |00003730| 6e 20 73 63 72 69 70 74 | 73 20 74 68 61 74 20 68 |n script|s that h| |00003740| 61 76 65 20 62 65 65 6e | 20 73 61 76 65 64 0d 6e |ave been| saved.n| |00003750| 09 72 65 63 6f 72 64 20 | 6e 65 77 20 73 63 72 69 |.record |new scri| |00003760| 70 74 73 0d 6e 09 6d 61 | 6b 65 20 63 68 61 6e 67 |pts.n.ma|ke chang| |00003770| 65 73 20 69 6e 20 73 63 | 72 69 70 74 73 20 79 6f |es in sc|ripts yo| |00003780| 75 20 72 65 63 6f 72 64 | 0d 6e 09 63 68 65 63 6b |u record|.n.check| |00003790| 20 73 63 72 69 70 74 73 | 20 66 6f 72 20 65 72 72 | scripts| for err| |000037a0| 6f 72 73 0d 6e 09 66 6f | 72 6d 61 74 20 73 63 72 |ors.n.fo|rmat scr| |000037b0| 69 70 74 73 20 0d 6e 09 | 73 61 76 65 20 73 63 72 |ipts .n.|save scr| |000037c0| 69 70 74 73 20 69 6e 20 | 73 65 76 65 72 61 6c 20 |ipts in |several | |000037d0| 66 6f 72 6d 61 74 73 0d | 6e 09 72 75 6e 20 73 63 |formats.|n.run sc| |000037e0| 72 69 70 74 73 0d 6e 09 | 76 69 65 77 20 74 68 65 |ripts.n.|view the| |000037f0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 74 65 72 | AppleSc|ript ter| |00003800| 6d 73 20 79 6f 75 20 63 | 61 6e 20 75 73 65 20 77 |ms you c|an use w| |00003810| 69 74 68 20 61 20 73 63 | 72 69 70 74 61 62 6c 65 |ith a sc|riptable| |00003820| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 0d 41 6c 74 | applica|tion.Alt| |00003830| 68 6f 75 67 68 20 74 68 | 69 73 20 63 68 61 70 74 |hough th|is chapt| |00003840| 65 72 20 64 6f 65 73 20 | 6e 6f 74 20 65 78 70 6c |er does |not expl| |00003850| 61 69 6e 20 68 6f 77 20 | 74 6f 20 77 72 69 74 65 |ain how |to write| |00003860| 20 73 63 72 69 70 74 73 | 2c 20 79 6f 75 20 77 69 | scripts|, you wi| |00003870| 6c 6c 20 66 69 6e 64 20 | 73 6f 6d 65 20 6f 66 20 |ll find |some of | |00003880| 69 74 73 20 73 65 63 74 | 69 6f 6e 73 20 6d 6f 72 |its sect|ions mor| |00003890| 65 20 75 73 65 66 75 6c | 20 69 66 20 79 6f 75 20 |e useful| if you | |000038a0| 64 6f 20 6b 6e 6f 77 20 | 73 6f 6d 65 74 68 69 6e |do know |somethin| |000038b0| 67 20 61 62 6f 75 74 20 | 74 68 65 20 41 70 70 6c |g about |the Appl| |000038c0| 65 53 63 72 69 70 74 20 | 6c 61 6e 67 75 61 67 65 |eScript |language| |000038d0| 2e 20 46 6f 72 20 74 68 | 65 20 69 6e 66 6f 72 6d |. For th|e inform| |000038e0| 61 74 69 6f 6e 20 79 6f | 75 20 6e 65 65 64 20 61 |ation yo|u need a| |000038f0| 62 6f 75 74 20 74 68 65 | 20 41 70 70 6c 65 53 63 |bout the| AppleSc| |00003900| 72 69 70 74 20 6c 61 6e | 67 75 61 67 65 2c 20 73 |ript lan|guage, s| |00003910| 65 65 20 74 68 65 20 41 | 70 70 6c 65 53 63 72 69 |ee the A|ppleScri| |00003920| 70 74 20 4c 61 6e 67 75 | 61 67 65 20 47 75 69 64 |pt Langu|age Guid| |00003930| 65 2e 0d 54 68 65 20 69 | 6e 73 74 72 75 63 74 69 |e..The i|nstructi| |00003940| 6f 6e 73 20 69 6e 20 74 | 68 69 73 20 63 68 61 70 |ons in t|his chap| |00003950| 74 65 72 20 61 73 73 75 | 6d 65 20 74 68 61 74 20 |ter assu|me that | |00003960| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito| |00003970| 72 20 69 73 20 61 63 74 | 69 76 65 2c 20 61 6e 64 |r is act|ive, and| |00003980| 20 74 68 61 74 20 79 6f | 75 20 68 61 76 65 20 61 | that yo|u have a| |00003990| 74 20 6c 65 61 73 74 20 | 6f 6e 65 20 73 63 72 69 |t least |one scri| |000039a0| 70 74 20 61 6e 64 20 6f | 6e 65 20 73 63 72 69 70 |pt and o|ne scrip| |000039b0| 74 61 62 6c 65 20 61 70 | 70 6c 69 63 61 74 69 6f |table ap|plicatio| |000039c0| 6e 20 28 73 75 63 68 20 | 61 73 20 74 68 65 20 53 |n (such |as the S| |000039d0| 63 72 69 70 74 61 62 6c | 65 20 54 65 78 74 20 45 |criptabl|e Text E| |000039e0| 64 69 74 6f 72 29 20 6f | 6e 20 79 6f 75 72 20 68 |ditor) o|n your h| |000039f0| 61 72 64 20 64 72 69 76 | 65 2e 0d 4f 70 65 6e 69 |ard driv|e..Openi| |00003a00| 6e 67 20 61 20 73 63 72 | 69 70 74 0d 59 6f 75 20 |ng a scr|ipt.You | |00003a10| 63 61 6e 20 75 73 65 20 | 74 68 65 20 53 63 72 69 |can use |the Scri| |00003a20| 70 74 20 45 64 69 74 6f | 72 20 74 6f 20 6f 70 65 |pt Edito|r to ope| |00003a30| 6e 20 61 6e 79 20 73 63 | 72 69 70 74 20 65 78 63 |n any sc|ript exc| |00003a40| 65 70 74 20 74 68 6f 73 | 65 20 74 68 61 74 20 68 |ept thos|e that h| |00003a50| 61 76 65 20 62 65 65 6e | 20 73 61 76 65 64 20 61 |ave been| saved a| |00003a60| 73 20 72 75 6e 2d 6f 6e | 6c 79 20 73 63 72 69 70 |s run-on|ly scrip| |00003a70| 74 73 2e 20 28 46 6f 72 | 20 6d 6f 72 65 20 69 6e |ts. (For| more in| |00003a80| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about | |00003a90| 66 69 6c 65 20 66 6f 72 | 6d 61 74 73 20 66 6f 72 |file for|mats for| |00003aa0| 20 73 61 76 69 6e 67 20 | 73 63 72 69 70 74 73 2c | saving |scripts,| |00003ab0| 20 73 65 65 20 d2 53 61 | 76 69 6e 67 20 61 20 53 | see .Sa|ving a S| |00003ac0| 63 72 69 70 74 d3 20 6c | 61 74 65 72 20 69 6e 20 |cript. l|ater in | |00003ad0| 74 68 69 73 20 63 68 61 | 70 74 65 72 2e 29 0d 54 |this cha|pter.).T| |00003ae0| 6f 20 6f 70 65 6e 20 61 | 20 73 63 72 69 70 74 2c |o open a| script,| |00003af0| 20 66 6f 6c 6c 6f 77 20 | 74 68 65 73 65 20 73 74 | follow |these st| |00003b00| 65 70 73 3a 0d 31 2e 09 | 43 68 6f 6f 73 65 20 4f |eps:.1..|Choose O| |00003b10| 70 65 6e 20 66 72 6f 6d | 20 74 68 65 20 46 69 6c |pen from| the Fil| |00003b20| 65 20 6d 65 6e 75 2e 20 | 0d 32 2e 09 49 6e 20 74 |e menu. |.2..In t| |00003b30| 68 65 20 64 69 61 6c 6f | 67 20 62 6f 78 20 74 68 |he dialo|g box th| |00003b40| 61 74 20 61 70 70 65 61 | 72 73 2c 20 73 65 6c 65 |at appea|rs, sele| |00003b50| 63 74 20 74 68 65 20 73 | 63 72 69 70 74 20 79 6f |ct the s|cript yo| |00003b60| 75 20 77 61 6e 74 20 74 | 6f 20 6f 70 65 6e 20 61 |u want t|o open a| |00003b70| 6e 64 20 63 6c 69 63 6b | 20 4f 70 65 6e 2e 0d 54 |nd click| Open..T| |00003b80| 68 65 20 73 63 72 69 70 | 74 20 61 70 70 65 61 72 |he scrip|t appear| |00003b90| 73 20 69 6e 20 61 20 6e | 65 77 20 73 63 72 69 70 |s in a n|ew scrip| |00003ba0| 74 20 77 69 6e 64 6f 77 | 2e 0d 52 65 63 6f 72 64 |t window|..Record| |00003bb0| 69 6e 67 20 61 20 73 63 | 72 69 70 74 0d 59 6f 75 |ing a sc|ript.You| |00003bc0| 20 63 61 6e 20 75 73 65 | 20 74 68 65 20 53 63 72 | can use| the Scr| |00003bd0| 69 70 74 20 45 64 69 74 | 6f 72 20 74 6f 20 72 65 |ipt Edit|or to re| |00003be0| 63 6f 72 64 20 61 20 73 | 65 72 69 65 73 20 6f 66 |cord a s|eries of| |00003bf0| 20 61 63 74 69 6f 6e 73 | 2e 20 59 6f 75 20 63 61 | actions|. You ca| |00003c00| 6e 20 6f 6e 6c 79 20 72 | 65 63 6f 72 64 20 61 63 |n only r|ecord ac| |00003c10| 74 69 6f 6e 73 20 69 6e | 20 61 20 72 65 63 6f 72 |tions in| a recor| |00003c20| 64 61 62 6c 65 20 61 70 | 70 6c 69 63 61 74 69 6f |dable ap|plicatio| |00003c30| 6e 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |n. For e|xample, | |00003c40| 79 6f 75 20 63 61 6e d5 | 74 20 72 65 63 6f 72 64 |you can.|t record| |00003c50| 20 61 6e 79 74 68 69 6e | 67 20 79 6f 75 20 64 6f | anythin|g you do| |00003c60| 20 69 6e 20 54 65 61 63 | 68 54 65 78 74 2c 20 62 | in Teac|hText, b| |00003c70| 65 63 61 75 73 65 20 54 | 65 61 63 68 54 65 78 74 |ecause T|eachText| |00003c80| 20 69 73 6e d5 74 20 73 | 63 72 69 70 74 61 62 6c | isn.t s|criptabl| |00003c90| 65 20 6f 72 20 72 65 63 | 6f 72 64 61 62 6c 65 2e |e or rec|ordable.| |00003ca0| 0d 41 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |.An appl|ication | |00003cb0| 69 73 20 73 63 72 69 70 | 74 61 62 6c 65 20 77 68 |is scrip|table wh| |00003cc0| 65 6e 20 79 6f 75 20 63 | 61 6e 20 75 73 65 20 41 |en you c|an use A| |00003cd0| 70 70 6c 65 53 63 72 69 | 70 74 20 74 6f 20 63 6f |ppleScri|pt to co| |00003ce0| 6e 74 72 6f 6c 20 69 74 | 2e 20 49 74 20 69 73 20 |ntrol it|. It is | |00003cf0| 72 65 63 6f 72 64 61 62 | 6c 65 20 77 68 65 6e 20 |recordab|le when | |00003d00| 79 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 65 20 |you can |use the | |00003d10| 72 65 63 6f 72 64 65 72 | 20 77 69 74 68 20 69 74 |recorder| with it| |00003d20| 2e 20 41 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |. An app|lication| |00003d30| 20 63 61 6e 20 62 65 20 | 73 63 72 69 70 74 61 62 | can be |scriptab| |00003d40| 6c 65 20 77 69 74 68 6f | 75 74 20 62 65 69 6e 67 |le witho|ut being| |00003d50| 20 72 65 63 6f 72 64 61 | 62 6c 65 2e 0d 4e 6f 74 | recorda|ble..Not| |00003d60| 20 61 6c 6c 20 61 63 74 | 69 6f 6e 73 20 61 72 65 | all act|ions are| |00003d70| 20 72 65 63 6f 72 64 65 | 64 2e 20 49 66 20 79 6f | recorde|d. If yo| |00003d80| 75 20 6d 6f 76 65 20 74 | 68 65 20 6d 6f 75 73 65 |u move t|he mouse| |00003d90| 20 69 6e 20 63 69 72 63 | 6c 65 73 2c 20 66 6f 72 | in circ|les, for| |00003da0| 20 65 78 61 6d 70 6c 65 | 2c 20 69 74 20 70 72 6f | example|, it pro| |00003db0| 62 61 62 6c 79 20 77 6f | 6e d5 74 20 62 65 20 72 |bably wo|n.t be r| |00003dc0| 65 63 6f 72 64 65 64 20 | 69 6e 20 79 6f 75 72 20 |ecorded |in your | |00003dd0| 73 63 72 69 70 74 2e 20 | 54 68 61 74 d5 73 20 62 |script. |That.s b| |00003de0| 65 63 61 75 73 65 20 6d | 6f 76 69 6e 67 20 74 68 |ecause m|oving th| |00003df0| 65 20 6d 6f 75 73 65 20 | 64 6f 65 73 6e d5 74 20 |e mouse |doesn.t | |00003e00| 72 65 73 75 6c 74 20 69 | 6e 20 61 20 63 68 61 6e |result i|n a chan| |00003e10| 67 65 20 69 6e 20 79 6f | 75 72 20 64 6f 63 75 6d |ge in yo|ur docum| |00003e20| 65 6e 74 2e 20 54 68 65 | 20 72 65 63 6f 72 64 65 |ent. The| recorde| |00003e30| 72 20 72 65 63 6f 72 64 | 73 20 6f 6e 6c 79 20 74 |r record|s only t| |00003e40| 68 69 6e 67 73 20 79 6f | 75 20 64 6f 20 74 68 61 |hings yo|u do tha| |00003e50| 74 20 63 68 61 6e 67 65 | 20 79 6f 75 72 20 64 6f |t change| your do| |00003e60| 63 75 6d 65 6e 74 20 69 | 6e 20 73 6f 6d 65 20 73 |cument i|n some s| |00003e70| 69 67 6e 69 66 69 63 61 | 6e 74 20 6f 72 20 6d 65 |ignifica|nt or me| |00003e80| 61 6e 69 6e 67 66 75 6c | 20 77 61 79 2e 20 46 6f |aningful| way. Fo| |00003e90| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 79 70 69 6e |r exampl|e, typin| |00003ea0| 67 20 61 20 6d 65 73 73 | 61 67 65 20 69 6e 20 61 |g a mess|age in a| |00003eb0| 20 74 65 78 74 20 77 69 | 6e 64 6f 77 20 69 73 20 | text wi|ndow is | |00003ec0| 61 20 6d 65 61 6e 69 6e | 67 66 75 6c 20 63 68 61 |a meanin|gful cha| |00003ed0| 6e 67 65 2c 20 62 65 63 | 61 75 73 65 20 69 74 20 |nge, bec|ause it | |00003ee0| 6d 61 6b 65 73 20 73 6f | 6d 65 74 68 69 6e 67 20 |makes so|mething | |00003ef0| 61 62 6f 75 74 20 74 68 | 65 20 64 6f 63 75 6d 65 |about th|e docume| |00003f00| 6e 74 20 64 69 66 66 65 | 72 65 6e 74 2e 20 53 61 |nt diffe|rent. Sa| |00003f10| 76 69 6e 67 20 61 20 66 | 69 6c 65 20 61 6c 73 6f |ving a f|ile also| |00003f20| 20 72 65 73 75 6c 74 73 | 20 69 6e 20 61 20 6d 65 | results| in a me| |00003f30| 61 6e 69 6e 67 66 75 6c | 20 63 68 61 6e 67 65 2e |aningful| change.| |00003f40| 20 43 6c 69 63 6b 69 6e | 67 20 73 6f 6d 65 77 68 | Clickin|g somewh| |00003f50| 65 72 65 20 69 6e 20 74 | 68 65 20 64 6f 63 75 6d |ere in t|he docum| |00003f60| 65 6e 74 20 64 6f 65 73 | 6e d5 74 20 72 65 73 75 |ent does|n.t resu| |00003f70| 6c 74 20 69 6e 20 61 20 | 63 68 61 6e 67 65 20 69 |lt in a |change i| |00003f80| 6e 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 2c 20 |n the do|cument, | |00003f90| 61 6e 64 20 69 73 6e d5 | 74 20 72 65 63 6f 72 64 |and isn.|t record| |00003fa0| 65 64 2e 0d 54 6f 20 73 | 74 61 72 74 20 72 65 63 |ed..To s|tart rec| |00003fb0| 6f 72 64 69 6e 67 20 79 | 6f 75 72 20 61 63 74 69 |ording y|our acti| |00003fc0| 6f 6e 73 20 61 73 20 61 | 20 73 63 72 69 70 74 3a |ons as a| script:| |00003fd0| 0d 31 2e 09 43 6c 69 63 | 6b 20 74 68 65 20 52 65 |.1..Clic|k the Re| |00003fe0| 63 6f 72 64 20 62 75 74 | 74 6f 6e 20 69 6e 20 74 |cord but|ton in t| |00003ff0| 68 65 20 61 63 74 69 76 | 65 20 73 63 72 69 70 74 |he activ|e script| |00004000| 20 77 69 6e 64 6f 77 2e | 20 0d 59 6f 75 20 63 61 | window.| .You ca| |00004010| 6e 20 61 6c 73 6f 20 63 | 68 6f 6f 73 65 20 52 65 |n also c|hoose Re| |00004020| 63 6f 72 64 20 66 72 6f | 6d 20 74 68 65 20 43 6f |cord fro|m the Co| |00004030| 6e 74 72 6f 6c 73 20 6d | 65 6e 75 2e 0d 32 2e 09 |ntrols m|enu..2..| |00004040| 4f 70 65 6e 20 61 20 73 | 63 72 69 70 74 61 62 6c |Open a s|criptabl| |00004050| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 6e |e applic|ation an| |00004060| 64 20 70 65 72 66 6f 72 | 6d 20 74 68 65 20 61 63 |d perfor|m the ac| |00004070| 74 69 6f 6e 73 20 79 6f | 75 20 77 61 6e 74 20 74 |tions yo|u want t| |00004080| 6f 20 72 65 63 6f 72 64 | 2e 0d 54 6f 20 73 74 6f |o record|..To sto| |00004090| 70 20 72 65 63 6f 72 64 | 69 6e 67 3a 0d 31 2e 09 |p record|ing:.1..| |000040a0| 43 6c 69 63 6b 20 74 68 | 65 20 73 63 72 69 70 74 |Click th|e script| |000040b0| 20 77 69 6e 64 6f 77 20 | 74 6f 20 6d 61 6b 65 20 | window |to make | |000040c0| 69 74 20 61 63 74 69 76 | 65 20 28 6f 72 20 63 68 |it activ|e (or ch| |000040d0| 6f 6f 73 65 20 53 63 72 | 69 70 74 20 45 64 69 74 |oose Scr|ipt Edit| |000040e0| 6f 72 20 66 72 6f 6d 20 | 74 68 65 20 41 70 70 6c |or from |the Appl| |000040f0| 69 63 61 74 69 6f 6e 20 | 6d 65 6e 75 29 2e 20 0d |ication |menu). .| |00004100| 32 2e 09 43 6c 69 63 6b | 20 74 68 65 20 53 74 6f |2..Click| the Sto| |00004110| 70 20 62 75 74 74 6f 6e | 2e 0d 59 6f 75 20 63 61 |p button|..You ca| |00004120| 6e 20 61 6c 73 6f 20 63 | 68 6f 6f 73 65 20 53 74 |n also c|hoose St| |00004130| 6f 70 20 66 72 6f 6d 20 | 74 68 65 20 43 6f 6e 74 |op from |the Cont| |00004140| 72 6f 6c 73 20 6d 65 6e | 75 2e 0d 45 64 69 74 69 |rols men|u..Editi| |00004150| 6e 67 20 61 20 73 63 72 | 69 70 74 0d 59 6f 75 20 |ng a scr|ipt.You | |00004160| 63 61 6e 20 65 64 69 74 | 20 61 20 73 63 72 69 70 |can edit| a scrip| |00004170| 74 20 6d 75 63 68 20 61 | 73 20 79 6f 75 20 77 6f |t much a|s you wo| |00004180| 75 6c 64 20 65 64 69 74 | 20 61 6e 79 20 74 65 78 |uld edit| any tex| |00004190| 74 20 64 6f 63 75 6d 65 | 6e 74 20 6f 6e 20 79 6f |t docume|nt on yo| |000041a0| 75 72 20 4d 61 63 69 6e | 74 6f 73 68 2e 20 54 68 |ur Macin|tosh. Th| |000041b0| 65 20 65 64 69 74 69 6e | 67 20 61 63 74 69 6f 6e |e editin|g action| |000041c0| 73 20 79 6f 75 20 63 61 | 6e 20 74 61 6b 65 20 69 |s you ca|n take i| |000041d0| 6e 63 6c 75 64 65 3a 0d | 41 63 74 69 6f 6e 09 52 |nclude:.|Action.R| |000041e0| 65 73 75 6c 74 09 09 09 | 09 09 0d 43 6c 69 63 6b |esult...|...Click| |000041f0| 09 50 6c 61 63 65 73 20 | 61 6e 20 69 6e 73 65 72 |.Places |an inser| |00004200| 74 69 6f 6e 20 70 6f 69 | 6e 74 20 69 6e 20 74 68 |tion poi|nt in th| |00004210| 65 20 74 65 78 74 20 61 | 74 20 74 68 65 20 6c 6f |e text a|t the lo| |00004220| 63 61 74 69 6f 6e 20 79 | 6f 75 ca 63 6c 69 63 6b |cation y|ou.click| |00004230| 65 64 2e 0d 43 6c 69 63 | 6b 20 61 6e 64 20 64 72 |ed..Clic|k and dr| |00004240| 61 67 09 53 65 6c 65 63 | 74 73 20 74 68 65 20 70 |ag.Selec|ts the p| |00004250| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 73 63 |ortion o|f the sc| |00004260| 72 69 70 74 20 79 6f 75 | 20 64 72 61 67 20 61 63 |ript you| drag ac| |00004270| 72 6f 73 73 2e 0d 44 6f | 75 62 6c 65 2d 63 6c 69 |ross..Do|uble-cli| |00004280| 63 6b 09 53 65 6c 65 63 | 74 73 20 61 20 77 6f 72 |ck.Selec|ts a wor| |00004290| 64 20 6f 72 20 63 6f 6d | 6d 61 6e 64 2e 20 0d 54 |d or com|mand. .T| |000042a0| 72 69 70 6c 65 2d 63 6c | 69 63 6b 09 53 65 6c 65 |riple-cl|ick.Sele| |000042b0| 63 74 73 20 61 6e 20 65 | 6e 74 69 72 65 20 6c 69 |cts an e|ntire li| |000042c0| 6e 65 2e 0d 50 72 65 73 | 73 20 61 72 72 6f 77 20 |ne..Pres|s arrow | |000042d0| 6b 65 79 09 4d 6f 76 65 | 73 20 74 68 65 20 69 6e |key.Move|s the in| |000042e0| 73 65 72 74 69 6f 6e 20 | 70 6f 69 6e 74 20 69 6e |sertion |point in| |000042f0| 20 74 68 65 20 64 69 72 | 65 63 74 69 6f 6e 20 6f | the dir|ection o| |00004300| 66 20 74 68 65 20 61 72 | 72 6f 77 2e 0d 4f 70 74 |f the ar|row..Opt| |00004310| 69 6f 6e d0 4c 65 66 74 | 20 41 72 72 6f 77 20 6b |ion.Left| Arrow k| |00004320| 65 79 20 09 4d 6f 76 65 | 73 20 74 68 65 20 69 6e |ey .Move|s the in| |00004330| 73 65 72 74 69 6f 6e 20 | 70 6f 69 6e 74 20 74 6f |sertion |point to| |00004340| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o| |00004350| 66 20 74 68 65 20 6c 69 | 6e 65 2e 0d 4f 70 74 69 |f the li|ne..Opti| |00004360| 6f 6e d0 52 69 67 68 74 | 20 41 72 72 6f 77 20 6b |on.Right| Arrow k| |00004370| 65 79 20 09 4d 6f 76 65 | 73 20 74 68 65 20 69 6e |ey .Move|s the in| |00004380| 73 65 72 74 69 6f 6e 20 | 70 6f 69 6e 74 20 74 6f |sertion |point to| |00004390| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the | |000043a0| 6c 69 6e 65 2e 0d 4f 70 | 74 69 6f 6e d0 55 70 20 |line..Op|tion.Up | |000043b0| 41 72 72 6f 77 20 6b 65 | 79 20 09 4d 6f 76 65 73 |Arrow ke|y .Moves| |000043c0| 20 74 68 65 20 69 6e 73 | 65 72 74 69 6f 6e 20 70 | the ins|ertion p| |000043d0| 6f 69 6e 74 20 74 6f 20 | 74 68 65 20 62 65 67 69 |oint to |the begi| |000043e0| 6e 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 73 63 72 |nning of| the scr| |000043f0| 69 70 74 2e 0d 4f 70 74 | 69 6f 6e d0 44 6f 77 6e |ipt..Opt|ion.Down| |00004400| 20 41 72 72 6f 77 20 6b | 65 79 20 09 4d 6f 76 65 | Arrow k|ey .Move| |00004410| 73 20 74 68 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |s the in|sertion | |00004420| 70 6f 69 6e 74 20 74 6f | 20 74 68 65 20 65 6e 64 |point to| the end| |00004430| 20 6f 66 20 74 68 65 20 | 73 63 72 69 70 74 2e 0d | of the |script..| |00004440| 43 68 65 63 6b 69 6e 67 | 20 74 68 65 20 73 79 6e |Checking| the syn| |00004450| 74 61 78 20 6f 66 20 61 | 20 73 63 72 69 70 74 0d |tax of a| script.| |00004460| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 65 20 |You can |use the | |00004470| 53 63 72 69 70 74 20 45 | 64 69 74 6f 72 20 74 6f |Script E|ditor to| |00004480| 20 63 68 65 63 6b 20 74 | 68 65 20 73 79 6e 74 61 | check t|he synta| |00004490| 78 20 6f 66 20 61 20 73 | 63 72 69 70 74 2e 20 49 |x of a s|cript. I| |000044a0| 66 20 74 68 65 20 73 79 | 6e 74 61 78 20 69 73 20 |f the sy|ntax is | |000044b0| 63 6f 72 72 65 63 74 2c | 20 74 68 65 20 73 63 72 |correct,| the scr| |000044c0| 69 70 74 20 69 73 20 63 | 6f 6d 70 69 6c 65 64 20 |ipt is c|ompiled | |000044d0| 61 66 74 65 72 20 79 6f | 75 20 63 68 65 63 6b 20 |after yo|u check | |000044e0| 74 68 65 20 73 79 6e 74 | 61 78 2e 0d 53 79 6e 74 |the synt|ax..Synt| |000044f0| 61 78 20 69 73 20 74 68 | 65 20 73 65 74 20 6f 66 |ax is th|e set of| |00004500| 20 72 75 6c 65 73 20 61 | 62 6f 75 74 20 77 68 61 | rules a|bout wha| |00004510| 74 20 74 65 72 6d 73 20 | 79 6f 75 20 63 61 6e 20 |t terms |you can | |00004520| 75 73 65 20 69 6e 20 61 | 20 73 63 72 69 70 74 20 |use in a| script | |00004530| 61 6e 64 20 68 6f 77 20 | 79 6f 75 20 63 61 6e 20 |and how |you can | |00004540| 70 75 74 20 74 68 65 6d | 20 74 6f 67 65 74 68 65 |put them| togethe| |00004550| 72 2e 20 43 6f 6d 70 69 | 6c 69 6e 67 20 69 73 20 |r. Compi|ling is | |00004560| 74 68 65 20 70 72 6f 63 | 65 73 73 20 6f 66 20 63 |the proc|ess of c| |00004570| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 73 63 72 69 |hanging |the scri| |00004580| 70 74 20 66 72 6f 6d 20 | 41 70 70 6c 65 53 63 72 |pt from |AppleScr| |00004590| 69 70 74 20 74 65 72 6d | 73 20 79 6f 75 20 63 61 |ipt term|s you ca| |000045a0| 6e 20 72 65 61 64 20 69 | 6e 74 6f 20 63 6f 6d 6d |n read i|nto comm| |000045b0| 61 6e 64 73 20 74 68 65 | 20 63 6f 6d 70 75 74 65 |ands the| compute| |000045c0| 72 20 63 61 6e 20 70 65 | 72 66 6f 72 6d 2e 0d 57 |r can pe|rform..W| |000045d0| 68 65 6e 20 79 6f 75 20 | 72 65 63 6f 72 64 20 61 |hen you |record a| |000045e0| 20 73 63 72 69 70 74 20 | 61 6e 64 20 64 6f 6e d5 | script |and don.| |000045f0| 74 20 6d 61 6b 65 20 61 | 6e 79 20 63 68 61 6e 67 |t make a|ny chang| |00004600| 65 73 20 74 6f 20 69 74 | 2c 20 74 68 65 20 43 68 |es to it|, the Ch| |00004610| 65 63 6b 20 53 79 6e 74 | 61 78 20 62 75 74 74 6f |eck Synt|ax butto| |00004620| 6e 20 69 73 20 6e 6f 74 | 20 61 76 61 69 6c 61 62 |n is not| availab| |00004630| 6c 65 2e 20 54 68 69 73 | 20 69 73 20 62 65 63 61 |le. This| is beca| |00004640| 75 73 65 20 74 68 65 20 | 53 63 72 69 70 74 20 45 |use the |Script E| |00004650| 64 69 74 6f 72 20 64 6f | 65 73 20 6e 6f 74 20 72 |ditor do|es not r| |00004660| 65 63 6f 72 64 20 73 63 | 72 69 70 74 73 20 77 69 |ecord sc|ripts wi| |00004670| 74 68 20 69 6e 63 6f 72 | 72 65 63 74 20 73 79 6e |th incor|rect syn| |00004680| 74 61 78 2e 20 57 68 65 | 6e 20 79 6f 75 20 6d 61 |tax. Whe|n you ma| |00004690| 6b 65 20 61 20 63 68 61 | 6e 67 65 20 74 6f 20 61 |ke a cha|nge to a| |000046a0| 20 72 65 63 6f 72 64 65 | 64 20 73 63 72 69 70 74 | recorde|d script| |000046b0| 2c 20 6f 72 20 77 68 65 | 6e 20 79 6f 75 20 77 72 |, or whe|n you wr| |000046c0| 69 74 65 20 61 20 73 63 | 72 69 70 74 2c 20 79 6f |ite a sc|ript, yo| |000046d0| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 43 68 |u can us|e the Ch| |000046e0| 65 63 6b 20 53 79 6e 74 | 61 78 20 62 75 74 74 6f |eck Synt|ax butto| |000046f0| 6e 2e 20 0d 57 68 65 6e | 20 79 6f 75 20 77 72 69 |n. .When| you wri| |00004700| 74 65 20 61 20 73 63 72 | 69 70 74 2c 20 61 6c 6c |te a scr|ipt, all| |00004710| 20 6f 66 20 74 68 65 20 | 74 65 72 6d 73 20 79 6f | of the |terms yo| |00004720| 75 20 74 79 70 65 20 61 | 70 70 65 61 72 20 69 6e |u type a|ppear in| |00004730| 20 74 68 65 20 73 61 6d | 65 20 66 6f 6e 74 20 61 | the sam|e font a| |00004740| 6e 64 20 73 69 7a 65 20 | 28 75 73 75 61 6c 6c 79 |nd size |(usually| |00004750| 20 31 30 20 70 6f 69 6e | 74 20 4e 65 77 20 59 6f | 10 poin|t New Yo| |00004760| 72 6b 29 2e 20 57 68 65 | 6e 20 79 6f 75 20 63 68 |rk). Whe|n you ch| |00004770| 65 63 6b 20 74 68 65 20 | 73 79 6e 74 61 78 2c 20 |eck the |syntax, | |00004780| 74 68 65 20 53 63 72 69 | 70 74 20 45 64 69 74 6f |the Scri|pt Edito| |00004790| 72 20 61 70 70 6c 69 65 | 73 20 64 69 66 66 65 72 |r applie|s differ| |000047a0| 65 6e 74 20 66 6f 6e 74 | 73 20 61 6e 64 20 73 69 |ent font|s and si| |000047b0| 7a 65 73 20 74 6f 20 74 | 68 65 20 64 69 66 66 65 |zes to t|he diffe| |000047c0| 72 65 6e 74 20 6b 69 6e | 64 73 20 6f 66 20 74 65 |rent kin|ds of te| |000047d0| 72 6d 73 20 69 6e 20 79 | 6f 75 72 20 73 63 72 69 |rms in y|our scri| |000047e0| 70 74 2e 20 59 6f 75 20 | 63 61 6e 20 63 68 6f 6f |pt. You |can choo| |000047f0| 73 65 20 74 68 65 20 66 | 6f 6e 74 73 20 61 6e 64 |se the f|onts and| |00004800| 20 73 69 7a 65 73 20 61 | 70 70 6c 69 65 64 20 74 | sizes a|pplied t| |00004810| 6f 20 74 68 65 20 74 65 | 72 6d 73 20 69 6e 20 79 |o the te|rms in y| |00004820| 6f 75 72 20 73 63 72 69 | 70 74 2e 20 54 6f 20 66 |our scri|pt. To f| |00004830| 69 6e 64 20 6f 75 74 20 | 68 6f 77 20 74 6f 20 6d |ind out |how to m| |00004840| 61 6b 65 20 63 68 61 6e | 67 65 73 20 74 6f 20 73 |ake chan|ges to s| |00004850| 63 72 69 70 74 20 66 6f | 72 6d 61 74 74 69 6e 67 |cript fo|rmatting| |00004860| 2c 20 73 65 65 20 74 68 | 65 20 6e 65 78 74 20 73 |, see th|e next s| |00004870| 65 63 74 69 6f 6e 2c 20 | d2 46 6f 72 6d 61 74 74 |ection, |.Formatt| |00004880| 69 6e 67 20 61 20 53 63 | 72 69 70 74 2e d3 0d 54 |ing a Sc|ript...T| |00004890| 6f 20 63 68 65 63 6b 20 | 74 68 65 20 73 79 6e 74 |o check |the synt| |000048a0| 61 78 20 6f 66 20 61 20 | 73 63 72 69 70 74 3a 0d |ax of a |script:.| |000048b0| 6e 09 43 6c 69 63 6b 20 | 74 68 65 20 43 68 65 63 |n.Click |the Chec| |000048c0| 6b 20 53 79 6e 74 61 78 | 20 62 75 74 74 6f 6e 20 |k Syntax| button | |000048d0| 69 6e 20 74 68 65 20 73 | 63 72 69 70 74 20 77 69 |in the s|cript wi| |000048e0| 6e 64 6f 77 2e 0d 54 68 | 65 20 53 63 72 69 70 74 |ndow..Th|e Script| |000048f0| 20 45 64 69 74 6f 72 20 | 69 64 65 6e 74 69 66 69 | Editor |identifi| |00004900| 65 73 20 74 68 65 20 66 | 69 72 73 74 20 73 79 6e |es the f|irst syn| |00004910| 74 61 78 20 65 72 72 6f | 72 20 69 74 20 66 69 6e |tax erro|r it fin| |00004920| 64 73 20 66 6f 72 20 79 | 6f 75 20 62 79 20 73 65 |ds for y|ou by se| |00004930| 6c 65 63 74 69 6e 67 20 | 74 68 65 20 74 65 78 74 |lecting |the text| |00004940| 20 74 68 61 74 20 61 70 | 70 65 61 72 73 20 74 6f | that ap|pears to| |00004950| 20 63 6f 6e 74 61 69 6e | 20 74 68 65 20 65 72 72 | contain| the err| |00004960| 6f 72 2e 20 57 68 65 6e | 20 74 68 65 20 53 63 72 |or. When| the Scr| |00004970| 69 70 74 20 45 64 69 74 | 6f 72 20 66 69 6e 64 73 |ipt Edit|or finds| |00004980| 20 61 20 73 79 6e 74 61 | 78 20 65 72 72 6f 72 20 | a synta|x error | |00004990| 69 6e 20 61 20 73 63 72 | 69 70 74 2c 20 69 74 20 |in a scr|ipt, it | |000049a0| 64 6f 65 73 20 6e 6f 74 | 20 61 70 70 6c 79 20 61 |does not| apply a| |000049b0| 6e 79 20 66 6f 72 6d 61 | 74 74 69 6e 67 20 74 6f |ny forma|tting to| |000049c0| 20 74 68 65 20 73 63 72 | 69 70 74 2e 0d 49 66 20 | the scr|ipt..If | |000049d0| 74 68 65 20 73 79 6e 74 | 61 78 20 6f 66 20 74 68 |the synt|ax of th| |000049e0| 65 20 73 63 72 69 70 74 | 20 69 73 20 63 6f 72 72 |e script| is corr| |000049f0| 65 63 74 2c 20 74 68 65 | 20 53 63 72 69 70 74 20 |ect, the| Script | |00004a00| 45 64 69 74 6f 72 20 63 | 6f 6d 70 69 6c 65 73 20 |Editor c|ompiles | |00004a10| 74 68 65 20 73 63 72 69 | 70 74 2e 0d 43 68 65 63 |the scri|pt..Chec| |00004a20| 6b 69 6e 67 20 73 79 6e | 74 61 78 20 77 6f 6e d5 |king syn|tax won.| |00004a30| 74 20 66 69 6e 64 20 61 | 6c 6c 20 74 68 65 20 70 |t find a|ll the p| |00004a40| 72 6f 62 6c 65 6d 73 20 | 61 20 73 63 72 69 70 74 |roblems |a script| |00004a50| 20 63 61 6e 20 68 61 76 | 65 2c 20 62 75 74 20 69 | can hav|e, but i| |00004a60| 74 20 77 69 6c 6c 20 69 | 64 65 6e 74 69 66 79 20 |t will i|dentify | |00004a70| 41 70 70 6c 65 53 63 72 | 69 70 74 20 65 78 70 72 |AppleScr|ipt expr| |00004a80| 65 73 73 69 6f 6e 73 20 | 74 68 61 74 20 61 72 65 |essions |that are| |00004a90| 20 70 75 74 20 74 6f 67 | 65 74 68 65 72 20 69 6e | put tog|ether in| |00004aa0| 63 6f 72 72 65 63 74 6c | 79 2e 20 41 20 73 63 72 |correctl|y. A scr| |00004ab0| 69 70 74 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 73 |ipt cont|aining s| |00004ac0| 79 6e 74 61 78 20 65 72 | 72 6f 72 73 20 63 61 6e |yntax er|rors can| |00004ad0| 20 62 65 20 73 61 76 65 | 64 20 6f 6e 6c 79 20 61 | be save|d only a| |00004ae0| 73 20 61 20 74 65 78 74 | 20 66 69 6c 65 2c 20 6e |s a text| file, n| |00004af0| 6f 74 20 61 73 20 61 20 | 63 6f 6d 70 69 6c 65 64 |ot as a |compiled| |00004b00| 20 73 63 72 69 70 74 20 | 6f 72 20 73 63 72 69 70 | script |or scrip| |00004b10| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0d 46 |t applic|ation..F| |00004b20| 6f 72 6d 61 74 74 69 6e | 67 20 61 20 73 63 72 69 |ormattin|g a scri| |00004b30| 70 74 0d 53 63 72 69 70 | 74 73 20 68 61 76 65 20 |pt.Scrip|ts have | |00004b40| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 64 69 66 66 |a number| of diff| |00004b50| 65 72 65 6e 74 20 70 61 | 72 74 73 2c 20 69 6e 63 |erent pa|rts, inc| |00004b60| 6c 75 64 69 6e 67 20 6f | 70 65 72 61 74 6f 72 73 |luding o|perators| |00004b70| 20 73 75 63 68 20 61 73 | 20 d2 2b d3 20 61 6e 64 | such as| .+. and| |00004b80| 20 d2 3d d3 2c 20 6b 65 | 79 77 6f 72 64 73 2c 20 | .=., ke|ywords, | |00004b90| 75 73 65 72 20 6e 61 6d | 65 73 2c 20 61 6e 64 20 |user nam|es, and | |00004ba0| 6d 6f 72 65 2e 20 54 68 | 65 20 53 63 72 69 70 74 |more. Th|e Script| |00004bb0| 20 45 64 69 74 6f 72 20 | 6b 65 65 70 73 20 74 72 | Editor |keeps tr| |00004bc0| 61 63 6b 20 6f 66 20 74 | 68 65 73 65 20 64 69 66 |ack of t|hese dif| |00004bd0| 66 65 72 65 6e 74 20 70 | 61 72 74 73 20 66 6f 72 |ferent p|arts for| |00004be0| 20 79 6f 75 2c 20 61 6e | 64 20 61 70 70 6c 69 65 | you, an|d applie| |00004bf0| 73 20 66 6f 72 6d 61 74 | 74 69 6e 67 20 74 6f 20 |s format|ting to | |00004c00| 68 65 6c 70 20 79 6f 75 | 20 69 64 65 6e 74 69 66 |help you| identif| |00004c10| 79 20 74 68 65 6d 2e 0d | 59 6f 75 20 63 61 6e 20 |y them..|You can | |00004c20| 63 68 61 6e 67 65 20 74 | 68 65 20 66 6f 6e 74 73 |change t|he fonts| |00004c30| 2c 20 73 69 7a 65 73 2c | 20 73 74 79 6c 65 73 2c |, sizes,| styles,| |00004c40| 20 61 6e 64 20 63 6f 6c | 6f 72 73 20 75 73 65 64 | and col|ors used| |00004c50| 20 66 6f 72 20 70 61 72 | 74 73 20 6f 66 20 73 63 | for par|ts of sc| |00004c60| 72 69 70 74 73 2e 20 54 | 68 65 20 63 68 61 6e 67 |ripts. T|he chang| |00004c70| 65 73 20 79 6f 75 20 6d | 61 6b 65 20 61 70 70 6c |es you m|ake appl| |00004c80| 79 20 74 6f 20 61 6c 6c | 20 6f 66 20 79 6f 75 72 |y to all| of your| |00004c90| 20 73 63 72 69 70 74 73 | 2c 20 6e 6f 74 20 6a 75 | scripts|, not ju| |00004ca0| 73 74 20 74 68 65 20 61 | 63 74 69 76 65 20 73 63 |st the a|ctive sc| |00004cb0| 72 69 70 74 2e 20 54 6f | 20 63 68 61 6e 67 65 20 |ript. To| change | |00004cc0| 73 63 72 69 70 74 20 66 | 6f 72 6d 61 74 74 69 6e |script f|ormattin| |00004cd0| 67 3a 0d 31 2e 09 43 68 | 6f 6f 73 65 20 41 70 70 |g:.1..Ch|oose App| |00004ce0| 6c 65 53 63 72 69 70 74 | 20 46 6f 72 6d 61 74 74 |leScript| Formatt| |00004cf0| 69 6e 67 20 66 72 6f 6d | 20 74 68 65 20 45 64 69 |ing from| the Edi| |00004d00| 74 20 6d 65 6e 75 2e 0d | 32 2e 09 49 6e 20 74 68 |t menu..|2..In th| |00004d10| 65 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 74 68 61 |e dialog| box tha| |00004d20| 74 20 61 70 70 65 61 72 | 73 2c 20 63 6c 69 63 6b |t appear|s, click| |00004d30| 20 61 20 73 63 72 69 70 | 74 20 65 6c 65 6d 65 6e | a scrip|t elemen| |00004d40| 74 20 74 6f 20 73 65 6c | 65 63 74 20 69 74 2e 0d |t to sel|ect it..| |00004d50| 33 2e 09 55 73 65 20 74 | 68 65 20 46 6f 6e 74 20 |3..Use t|he Font | |00004d60| 61 6e 64 20 53 74 79 6c | 65 20 6d 65 6e 75 73 20 |and Styl|e menus | |00004d70| 74 6f 20 63 68 6f 6f 73 | 65 20 61 20 66 6f 6e 74 |to choos|e a font| |00004d80| 2c 20 73 69 7a 65 2c 20 | 61 6e 64 20 73 74 79 6c |, size, |and styl| |00004d90| 65 20 66 6f 72 20 74 68 | 65 20 73 63 72 69 70 74 |e for th|e script| |00004da0| 20 65 6c 65 6d 65 6e 74 | 20 79 6f 75 20 63 68 6f | element| you cho| |00004db0| 73 65 2e 0d 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |se..The |followin| |00004dc0| 67 20 74 61 62 6c 65 20 | 64 65 73 63 72 69 62 65 |g table |describe| |00004dd0| 73 20 74 68 65 20 6b 69 | 6e 64 73 20 6f 66 20 74 |s the ki|nds of t| |00004de0| 65 72 6d 73 20 79 6f 75 | 20 63 61 6e 20 66 6f 72 |erms you| can for| |00004df0| 6d 61 74 2e 0d 43 61 74 | 65 67 6f 72 79 09 57 68 |mat..Cat|egory.Wh| |00004e00| 61 74 20 69 74 20 6d 65 | 61 6e 73 09 09 09 09 09 |at it me|ans.....| |00004e10| 09 0d 4e 65 77 6c 79 20 | 74 79 70 65 64 20 74 65 |..Newly |typed te| |00004e20| 78 74 09 41 6e 79 20 70 | 6f 72 74 69 6f 6e 20 6f |xt.Any p|ortion o| |00004e30| 66 20 61 20 73 63 72 69 | 70 74 20 79 6f 75 20 74 |f a scri|pt you t| |00004e40| 79 70 65 20 62 65 66 6f | 72 65 20 73 61 76 69 6e |ype befo|re savin| |00004e50| 67 2c 20 72 75 6e 6e 69 | 6e 67 2c 20 6f 72 20 63 |g, runni|ng, or c| |00004e60| 68 65 63 6b 69 6e 67 20 | 73 79 6e 74 61 78 2e 0d |hecking |syntax..| |00004e70| 4f 70 65 72 61 74 6f 72 | 73 09 4f 70 65 72 61 74 |Operator|s.Operat| |00004e80| 6f 72 73 20 70 65 72 66 | 6f 72 6d 20 61 63 74 69 |ors perf|orm acti| |00004e90| 6f 6e 73 20 28 d2 6f 70 | 65 72 61 74 65 d3 29 20 |ons (.op|erate.) | |00004ea0| 6f 6e 20 76 61 6c 75 65 | 73 2e 20 46 6f 72 20 65 |on value|s. For e| |00004eb0| 78 61 6d 70 6c 65 2c 20 | 74 68 65 20 d2 2b d3 20 |xample, |the .+. | |00004ec0| 6f 70 65 72 61 74 6f 72 | 20 61 64 64 73 20 74 77 |operator| adds tw| |00004ed0| 6f 20 76 61 6c 75 65 73 | 20 74 6f 67 65 74 68 65 |o values| togethe| |00004ee0| 72 2e 0d 4c 61 6e 67 75 | 61 67 65 20 6b 65 79 77 |r..Langu|age keyw| |00004ef0| 6f 72 64 73 09 54 68 65 | 20 73 63 72 69 70 74 69 |ords.The| scripti| |00004f00| 6e 67 20 74 65 72 6d 73 | 20 62 75 69 6c 74 20 69 |ng terms| built i| |00004f10| 6e 74 6f 20 41 70 70 6c | 65 53 63 72 69 70 74 2e |nto Appl|eScript.| |00004f20| 0d 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 6b 65 79 |.Applica|tion key| |00004f30| 77 6f 72 64 73 09 54 68 | 65 20 73 63 72 69 70 74 |words.Th|e script| |00004f40| 69 6e 67 20 74 65 72 6d | 73 20 62 75 69 6c 74 20 |ing term|s built | |00004f50| 69 6e 74 6f 20 61 20 73 | 63 72 69 70 74 61 62 6c |into a s|criptabl| |00004f60| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0d 43 |e applic|ation..C| |00004f70| 6f 6d 6d 65 6e 74 73 09 | 45 78 70 6c 61 6e 61 74 |omments.|Explanat| |00004f80| 69 6f 6e 73 20 61 62 6f | 75 74 20 74 68 69 6e 67 |ions abo|ut thing| |00004f90| 73 20 69 6e 20 79 6f 75 | 72 20 73 63 72 69 70 74 |s in you|r script| |00004fa0| 2e 20 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |. You ca|n use th| |00004fb0| 65 6d 20 66 6f 72 20 79 | 6f 75 72 73 65 6c 66 20 |em for y|ourself | |00004fc0| 61 6e 64 20 66 6f 72 20 | 70 65 6f 70 6c 65 20 77 |and for |people w| |00004fd0| 68 6f 20 72 65 61 64 20 | 79 6f 75 72 20 73 63 72 |ho read |your scr| |00004fe0| 69 70 74 73 2e 20 54 68 | 65 20 63 6f 6d 70 75 74 |ipts. Th|e comput| |00004ff0| 65 72 20 69 67 6e 6f 72 | 65 73 20 63 6f 6d 6d 65 |er ignor|es comme| |00005000| 6e 74 73 2e 0d 56 61 6c | 75 65 73 09 41 20 6b 69 |nts..Val|ues.A ki| |00005010| 6e 64 20 6f 66 20 64 61 | 74 61 20 28 69 6e 66 6f |nd of da|ta (info| |00005020| 72 6d 61 74 69 6f 6e 29 | 20 74 68 61 74 20 41 70 |rmation)| that Ap| |00005030| 70 6c 65 53 63 72 69 70 | 74 20 63 61 6e 20 75 73 |pleScrip|t can us| |00005040| 65 2e 20 4e 75 6d 62 65 | 72 73 20 61 6e 64 20 77 |e. Numbe|rs and w| |00005050| 6f 72 64 73 20 63 61 6e | 20 62 65 20 76 61 6c 75 |ords can| be valu| |00005060| 65 73 2e 0d 56 61 72 69 | 61 62 6c 65 73 09 54 65 |es..Vari|ables.Te| |00005070| 72 6d 73 20 74 68 61 74 | 20 61 72 65 20 75 73 65 |rms that| are use| |00005080| 64 20 61 73 20 63 6f 6e | 74 61 69 6e 65 72 73 20 |d as con|tainers | |00005090| 66 6f 72 20 76 61 6c 75 | 65 73 20 28 73 75 63 68 |for valu|es (such| |000050a0| 20 61 73 20 61 20 6e 75 | 6d 62 65 72 20 6f 72 20 | as a nu|mber or | |000050b0| 61 20 77 6f 72 64 29 2e | 0d 52 65 66 65 72 65 6e |a word).|.Referen| |000050c0| 63 65 73 09 50 68 72 61 | 73 65 73 20 74 68 61 74 |ces.Phra|ses that| |000050d0| 20 73 70 65 63 69 66 79 | 20 61 6e 20 6f 62 6a 65 | specify| an obje| |000050e0| 63 74 20 74 68 61 74 20 | 61 20 73 63 72 69 70 74 |ct that |a script| |000050f0| 20 63 61 6e 20 69 64 65 | 6e 74 69 66 79 2e 20 46 | can ide|ntify. F| |00005100| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 d2 77 6f 72 |or examp|le, .wor| |00005110| 64 20 32 20 6f 66 20 64 | 6f 63 75 6d 65 6e 74 20 |d 2 of d|ocument | |00005120| 31 d3 20 69 73 20 61 20 | 72 65 66 65 72 65 6e 63 |1. is a |referenc| |00005130| 65 2e 20 52 65 66 65 72 | 65 6e 63 65 20 66 6f 72 |e. Refer|ence for| |00005140| 6d 61 74 74 69 6e 67 20 | 69 73 20 6f 6e 6c 79 20 |matting |is only | |00005150| 61 70 70 6c 69 65 64 20 | 69 6e 20 74 68 65 20 52 |applied |in the R| |00005160| 65 73 75 6c 74 20 77 69 | 6e 64 6f 77 2c 20 6e 6f |esult wi|ndow, no| |00005170| 74 20 74 68 65 20 65 64 | 69 74 69 6e 67 20 77 69 |t the ed|iting wi| |00005180| 6e 64 6f 77 2e 0d 54 6f | 20 66 6f 72 6d 61 74 20 |ndow..To| format | |00005190| 61 20 73 63 72 69 70 74 | 20 79 6f 75 20 6d 75 73 |a script| you mus| |000051a0| 74 20 75 73 65 20 74 68 | 65 20 41 70 70 6c 65 53 |t use th|e AppleS| |000051b0| 63 72 69 70 74 20 46 6f | 72 6d 61 74 74 69 6e 67 |cript Fo|rmatting| |000051c0| 20 63 6f 6d 6d 61 6e 64 | 3b 20 79 6f 75 20 63 61 | command|; you ca| |000051d0| 6e d5 74 20 73 65 6c 65 | 63 74 20 70 61 72 74 20 |n.t sele|ct part | |000051e0| 6f 66 20 61 20 73 63 72 | 69 70 74 20 61 6e 64 20 |of a scr|ipt and | |000051f0| 63 68 6f 6f 73 65 20 61 | 6e 20 69 74 65 6d 20 66 |choose a|n item f| |00005200| 72 6f 6d 20 74 68 65 20 | 46 6f 6e 74 20 6f 72 20 |rom the |Font or | |00005210| 53 74 79 6c 65 20 6d 65 | 6e 75 73 2e 20 54 68 69 |Style me|nus. Thi| |00005220| 73 20 69 73 20 73 6f 20 | 74 68 61 74 20 74 68 65 |s is so |that the| |00005230| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 69 73 20 63 | formatt|ing is c| |00005240| 6f 6e 73 69 73 74 65 6e | 74 20 74 68 72 6f 75 67 |onsisten|t throug| |00005250| 68 6f 75 74 20 74 68 65 | 20 77 68 6f 6c 65 20 73 |hout the| whole s| |00005260| 63 72 69 70 74 2e 20 59 | 6f 75 20 63 61 6e 2c 20 |cript. Y|ou can, | |00005270| 68 6f 77 65 76 65 72 2c | 20 75 73 65 20 74 68 65 |however,| use the| |00005280| 20 46 6f 6e 74 20 61 6e | 64 20 53 74 79 6c 65 20 | Font an|d Style | |00005290| 6d 65 6e 75 73 20 74 6f | 20 66 6f 72 6d 61 74 20 |menus to| format | |000052a0| 74 65 78 74 20 69 6e 20 | 74 68 65 20 64 65 73 63 |text in |the desc| |000052b0| 72 69 70 74 69 6f 6e 20 | 61 72 65 61 20 6f 66 20 |ription |area of | |000052c0| 74 68 65 20 73 63 72 69 | 70 74 20 77 69 6e 64 6f |the scri|pt windo| |000052d0| 77 2e 20 49 66 20 79 6f | 75 20 73 61 76 65 20 74 |w. If yo|u save t| |000052e0| 68 65 20 73 63 72 69 70 | 74 20 61 73 20 61 6e 20 |he scrip|t as an | |000052f0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 74 68 65 |applicat|ion, the| |00005300| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 79 6f 75 20 | formatt|ing you | |00005310| 61 70 70 6c 79 20 74 6f | 20 69 74 73 20 64 65 73 |apply to| its des| |00005320| 63 72 69 70 74 69 6f 6e | 20 61 70 70 65 61 72 73 |cription| appears| |00005330| 20 69 6e 20 74 68 65 20 | 73 63 72 69 70 74 d5 73 | in the |script.s| |00005340| 20 73 74 61 72 74 75 70 | 20 73 63 72 65 65 6e 2e | startup| screen.| |00005350| 20 0d 49 6e 20 61 64 64 | 69 74 69 6f 6e 20 74 6f | .In add|ition to| |00005360| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 79 6f 75 72 | formatt|ing your| |00005370| 20 73 63 72 69 70 74 20 | 62 79 20 63 68 6f 6f 73 | script |by choos| |00005380| 69 6e 67 20 66 6f 6e 74 | 73 2c 20 73 69 7a 65 73 |ing font|s, sizes| |00005390| 2c 20 73 74 79 6c 65 73 | 2c 20 61 6e 64 20 63 6f |, styles|, and co| |000053a0| 6c 6f 72 73 2c 20 74 68 | 65 20 53 63 72 69 70 74 |lors, th|e Script| |000053b0| 20 45 64 69 74 6f 72 20 | 61 75 74 6f 6d 61 74 69 | Editor |automati| |000053c0| 63 61 6c 6c 79 20 69 6e | 64 65 6e 74 73 20 73 6f |cally in|dents so| |000053d0| 6d 65 20 6c 69 6e 65 73 | 20 6f 66 20 79 6f 75 72 |me lines| of your| |000053e0| 20 73 63 72 69 70 74 73 | 2e 20 41 6c 6c 20 6c 69 | scripts|. All li| |000053f0| 6e 65 73 20 77 69 74 68 | 69 6e 20 63 6f 6d 70 6f |nes with|in compo| |00005400| 75 6e 64 20 73 74 61 74 | 65 6d 65 6e 74 73 20 61 |und stat|ements a| |00005410| 72 65 20 69 6e 64 65 6e | 74 65 64 2e 20 0d 41 20 |re inden|ted. .A | |00005420| 63 6f 6d 70 6f 75 6e 64 | 20 73 74 61 74 65 6d 65 |compound| stateme| |00005430| 6e 74 20 69 73 20 61 6e | 20 41 70 70 6c 65 53 63 |nt is an| AppleSc| |00005440| 72 69 70 74 20 73 74 61 | 74 65 6d 65 6e 74 20 74 |ript sta|tement t| |00005450| 68 61 74 20 74 61 6b 65 | 73 20 75 70 20 6d 6f 72 |hat take|s up mor| |00005460| 65 20 74 68 61 6e 20 6f | 6e 65 20 6c 69 6e 65 20 |e than o|ne line | |00005470| 61 6e 64 20 69 6e 63 6c | 75 64 65 73 20 6f 74 68 |and incl|udes oth| |00005480| 65 72 20 73 74 61 74 65 | 6d 65 6e 74 73 20 77 69 |er state|ments wi| |00005490| 74 68 69 6e 20 69 74 2e | 20 46 6f 72 20 6d 6f 72 |thin it.| For mor| |000054a0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |e inform|ation ab| |000054b0| 6f 75 74 20 63 6f 6d 70 | 6f 75 6e 64 20 73 74 61 |out comp|ound sta| |000054c0| 74 65 6d 65 6e 74 73 2c | 20 73 65 65 20 43 68 61 |tements,| see Cha| |000054d0| 70 74 65 72 20 33 20 6f | 66 20 74 68 65 20 41 70 |pter 3 o|f the Ap| |000054e0| 70 6c 65 20 53 63 72 69 | 70 74 20 4c 61 6e 75 61 |ple Scri|pt Lanua| |000054f0| 67 65 20 47 75 69 64 65 | 2e 0d 59 6f 75 20 63 61 |ge Guide|..You ca| |00005500| 6e 20 75 73 65 20 74 68 | 65 20 54 61 62 20 6b 65 |n use th|e Tab ke| |00005510| 79 20 74 6f 20 69 6e 64 | 65 6e 74 20 6c 69 6e 65 |y to ind|ent line| |00005520| 73 20 69 6e 20 79 6f 75 | 72 20 73 63 72 69 70 74 |s in you|r script| |00005530| 73 2e 20 59 6f 75 20 63 | 61 6e 6e 6f 74 20 75 73 |s. You c|annot us| |00005540| 65 20 74 68 65 20 54 61 | 62 20 6b 65 79 20 69 6e |e the Ta|b key in| |00005550| 20 74 68 65 20 6d 69 64 | 64 6c 65 20 6f 66 20 61 | the mid|dle of a| |00005560| 20 6c 69 6e 65 2c 20 68 | 6f 77 65 76 65 72 2c 20 | line, h|owever, | |00005570| 65 78 63 65 70 74 20 77 | 69 74 68 69 6e 20 61 20 |except w|ithin a | |00005580| 73 74 72 69 6e 67 20 28 | 61 20 70 69 65 63 65 20 |string (|a piece | |00005590| 6f 66 20 74 65 78 74 20 | 65 6e 63 6c 6f 73 65 64 |of text |enclosed| |000055a0| 20 62 79 20 71 75 6f 74 | 65 20 6d 61 72 6b 73 29 | by quot|e marks)| |000055b0| 2e 0d 54 6f 20 69 6e 64 | 65 6e 74 20 79 6f 75 72 |..To ind|ent your| |000055c0| 20 73 63 72 69 70 74 73 | 20 61 75 74 6f 6d 61 74 | scripts| automat| |000055d0| 69 63 61 6c 6c 79 2c 20 | 70 72 65 73 73 20 74 68 |ically, |press th| |000055e0| 65 20 45 6e 74 65 72 20 | 6b 65 79 2e 20 0d 54 6f |e Enter |key. .To| |000055f0| 20 66 6f 72 63 65 20 74 | 68 65 20 6e 65 78 74 20 | force t|he next | |00005600| 6c 69 6e 65 20 6f 66 20 | 79 6f 75 72 20 73 63 72 |line of |your scr| |00005610| 69 70 74 20 74 6f 20 62 | 65 67 69 6e 20 61 74 20 |ipt to b|egin at | |00005620| 74 68 65 20 6c 65 66 74 | 20 6d 61 72 67 69 6e 2c |the left| margin,| |00005630| 20 68 6f 6c 64 20 64 6f | 77 6e 20 74 68 65 20 53 | hold do|wn the S| |00005640| 68 69 66 74 20 6b 65 79 | 20 61 6e 64 20 70 72 65 |hift key| and pre| |00005650| 73 73 20 52 65 74 75 72 | 6e 2e 20 0d 4c 69 6e 65 |ss Retur|n. .Line| |00005660| 73 20 69 6e 20 61 20 73 | 63 72 69 70 74 20 61 72 |s in a s|cript ar| |00005670| 65 20 73 6f 6d 65 74 69 | 6d 65 73 20 74 6f 6f 20 |e someti|mes too | |00005680| 6c 6f 6e 67 20 74 6f 20 | 66 69 74 20 69 6e 20 74 |long to |fit in t| |00005690| 68 65 20 61 63 74 69 76 | 65 20 77 69 6e 64 6f 77 |he activ|e window| |000056a0| 2e 20 59 6f 75 20 63 61 | 6e 20 6d 61 6b 65 20 61 |. You ca|n make a| |000056b0| 20 6c 69 6e 65 20 73 68 | 6f 72 74 65 72 20 62 79 | line sh|orter by| |000056c0| 20 62 72 65 61 6b 69 6e | 67 20 69 74 20 75 70 20 | breakin|g it up | |000056d0| 69 6e 74 6f 20 74 77 6f | 20 6c 69 6e 65 73 20 77 |into two| lines w| |000056e0| 69 74 68 20 74 68 65 20 | 63 6f 6e 74 69 6e 75 61 |ith the |continua| |000056f0| 74 69 6f 6e 20 63 68 61 | 72 61 63 74 65 72 2e 20 |tion cha|racter. | |00005700| 54 6f 20 69 6e 73 65 72 | 74 20 61 20 63 6f 6e 74 |To inser|t a cont| |00005710| 69 6e 75 61 74 69 6f 6e | 20 63 68 61 72 61 63 74 |inuation| charact| |00005720| 65 72 20 69 6e 74 6f 20 | 61 20 6c 69 6e 65 20 69 |er into |a line i| |00005730| 6e 20 79 6f 75 72 20 73 | 63 72 69 70 74 2c 20 68 |n your s|cript, h| |00005740| 6f 6c 64 20 64 6f 77 6e | 20 74 68 65 20 4f 70 74 |old down| the Opt| |00005750| 69 6f 6e 20 6b 65 79 20 | 61 6e 64 20 70 72 65 73 |ion key |and pres| |00005760| 73 20 52 65 74 75 72 6e | 2e 20 41 20 6c 69 6e 65 |s Return|. A line| |00005770| 20 62 72 6f 6b 65 6e 20 | 69 6e 74 6f 20 74 77 6f | broken |into two| |00005780| 20 6f 72 20 6d 6f 72 65 | 20 6c 69 6e 65 73 20 77 | or more| lines w| |00005790| 69 74 68 20 61 20 63 6f | 6e 74 69 6e 75 61 74 69 |ith a co|ntinuati| |000057a0| 6f 6e 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |on chara|cter is | |000057b0| 74 72 65 61 74 65 64 20 | 61 73 20 61 20 73 69 6e |treated |as a sin| |000057c0| 67 6c 65 20 6c 69 6e 65 | 20 77 68 65 6e 20 79 6f |gle line| when yo| |000057d0| 75 20 72 75 6e 20 79 6f | 75 72 20 73 63 72 69 70 |u run yo|ur scrip| |000057e0| 74 2e 0d 53 61 76 69 6e | 67 20 61 20 73 63 72 69 |t..Savin|g a scri| |000057f0| 70 74 0d 59 6f 75 20 63 | 61 6e 20 73 61 76 65 20 |pt.You c|an save | |00005800| 61 20 73 63 72 69 70 74 | 20 61 73 20 6f 6e 65 20 |a script| as one | |00005810| 6f 66 20 74 68 72 65 65 | 20 6b 69 6e 64 73 20 6f |of three| kinds o| |00005820| 66 20 64 6f 63 75 6d 65 | 6e 74 3a 0d 6e 09 61 73 |f docume|nt:.n.as| |00005830| 20 61 20 74 65 78 74 20 | 66 69 6c 65 2c 20 66 6f | a text |file, fo| |00005840| 72 20 6f 70 65 6e 69 6e | 67 20 77 69 74 68 20 6f |r openin|g with o| |00005850| 74 68 65 72 20 4d 61 63 | 69 6e 74 6f 73 68 20 61 |ther Mac|intosh a| |00005860| 70 70 6c 69 63 61 74 69 | 6f 6e 73 0d 6e 09 61 73 |pplicati|ons.n.as| |00005870| 20 61 20 63 6f 6d 70 69 | 6c 65 64 20 73 63 72 69 | a compi|led scri| |00005880| 70 74 2c 20 66 6f 72 20 | 6f 70 65 6e 69 6e 67 20 |pt, for |opening | |00005890| 77 69 74 68 20 74 68 65 | 20 53 63 72 69 70 74 20 |with the| Script | |000058a0| 45 64 69 74 6f 72 0d 6e | 09 61 73 20 61 6e 20 61 |Editor.n|.as an a| |000058b0| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 66 6f 72 20 |pplicati|on, for | |000058c0| 75 73 69 6e 67 20 62 79 | 20 69 74 73 65 6c 66 20 |using by| itself | |000058d0| 77 69 74 68 6f 75 74 20 | 74 68 65 20 53 63 72 69 |without |the Scri| |000058e0| 70 74 20 45 64 69 74 6f | 72 20 0d 54 6f 20 73 61 |pt Edito|r .To sa| |000058f0| 76 65 20 61 20 73 63 72 | 69 70 74 3a 0d 31 2e 09 |ve a scr|ipt:.1..| |00005900| 20 43 68 6f 6f 73 65 20 | 53 61 76 65 20 6f 72 20 | Choose |Save or | |00005910| 53 61 76 65 20 41 73 20 | 66 72 6f 6d 20 74 68 65 |Save As |from the| |00005920| 20 46 69 6c 65 20 6d 65 | 6e 75 2e 0d 32 2e 09 20 | File me|nu..2.. | |00005930| 49 6e 20 74 68 65 20 64 | 69 61 6c 6f 67 20 62 6f |In the d|ialog bo| |00005940| 78 20 74 68 61 74 20 61 | 70 70 65 61 72 73 2c 20 |x that a|ppears, | |00005950| 73 65 6c 65 63 74 20 61 | 20 6c 6f 63 61 74 69 6f |select a| locatio| |00005960| 6e 2c 20 73 70 65 63 69 | 66 79 20 61 20 6e 61 6d |n, speci|fy a nam| |00005970| 65 2c 20 61 6e 64 20 63 | 68 6f 6f 73 65 20 61 20 |e, and c|hoose a | |00005980| 66 6f 72 6d 61 74 20 66 | 6f 72 20 74 68 65 20 73 |format f|or the s| |00005990| 63 72 69 70 74 2e 0d 33 | 2e 09 43 6c 69 63 6b 20 |cript..3|..Click | |000059a0| 53 61 76 65 2e 0d 53 61 | 76 69 6e 67 20 61 20 73 |Save..Sa|ving a s| |000059b0| 63 72 69 70 74 20 77 69 | 74 68 6f 75 74 20 63 6f |cript wi|thout co| |000059c0| 6d 70 69 6c 69 6e 67 20 | 69 74 0d 57 68 65 6e 20 |mpiling |it.When | |000059d0| 79 6f 75 20 73 61 76 65 | 20 61 20 73 63 72 69 70 |you save| a scrip| |000059e0| 74 2c 20 69 74 20 69 73 | 20 75 73 75 61 6c 6c 79 |t, it is| usually| |000059f0| 20 63 6f 6d 70 69 6c 65 | 64 20 62 65 66 6f 72 65 | compile|d before| |00005a00| 20 69 74 20 69 73 20 73 | 61 76 65 64 2e 20 54 6f | it is s|aved. To| |00005a10| 20 73 61 76 65 20 61 20 | 73 63 72 69 70 74 20 77 | save a |script w| |00005a20| 69 74 68 6f 75 74 20 63 | 6f 6d 70 69 6c 69 6e 67 |ithout c|ompiling| |00005a30| 20 69 74 3a 0d 6e 20 20 | 48 6f 6c 64 20 64 6f 77 | it:.n |Hold dow| |00005a40| 6e 20 74 68 65 20 53 68 | 69 66 74 20 6b 65 79 20 |n the Sh|ift key | |00005a50| 77 68 69 6c 65 20 63 68 | 6f 6f 73 69 6e 67 20 53 |while ch|oosing S| |00005a60| 61 76 65 20 66 72 6f 6d | 20 74 68 65 20 46 69 6c |ave from| the Fil| |00005a70| 65 20 6d 65 6e 75 2e 0d | 54 68 65 20 53 61 76 65 |e menu..|The Save| |00005a80| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 61 70 70 65 | dialog |box appe| |00005a90| 61 72 73 2c 20 62 75 74 | 20 79 6f 75 20 63 61 6e |ars, but| you can| |00005aa0| 20 6f 6e 6c 79 20 73 61 | 76 65 20 74 68 65 20 73 | only sa|ve the s| |00005ab0| 63 72 69 70 74 20 61 73 | 20 61 20 74 65 78 74 20 |cript as| a text | |00005ac0| 64 6f 63 75 6d 65 6e 74 | 2e 0d 53 61 76 65 20 6f |document|..Save o| |00005ad0| 70 74 69 6f 6e 73 20 66 | 6f 72 20 73 63 72 69 70 |ptions f|or scrip| |00005ae0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 0d 57 |t applic|ations.W| |00005af0| 68 65 6e 20 79 6f 75 20 | 73 61 76 65 20 61 20 73 |hen you |save a s| |00005b00| 63 72 69 70 74 20 61 73 | 20 61 6e 20 61 70 70 6c |cript as| an appl| |00005b10| 69 63 61 74 69 6f 6e 2c | 20 74 77 6f 20 61 64 64 |ication,| two add| |00005b20| 69 74 69 6f 6e 61 6c 20 | 62 75 74 74 6f 6e 73 20 |itional |buttons | |00005b30| 61 70 70 65 61 72 20 69 | 6e 20 74 68 65 20 64 69 |appear i|n the di| |00005b40| 61 6c 6f 67 20 62 6f 78 | 3a 0d 6e 09 53 74 61 79 |alog box|:.n.Stay| |00005b50| 20 4f 70 65 6e 2e 20 20 | 43 68 6f 6f 73 65 20 74 | Open. |Choose t| |00005b60| 68 69 73 20 6f 70 74 69 | 6f 6e 20 77 68 65 6e 20 |his opti|on when | |00005b70| 79 6f 75 20 77 61 6e 74 | 20 79 6f 75 72 20 73 63 |you want| your sc| |00005b80| 72 69 70 74 20 74 6f 20 | 72 65 6d 61 69 6e 20 61 |ript to |remain a| |00005b90| 76 61 69 6c 61 62 6c 65 | 20 61 66 74 65 72 20 69 |vailable| after i| |00005ba0| 74 20 72 75 6e 73 20 28 | 69 6e 73 74 65 61 64 20 |t runs (|instead | |00005bb0| 6f 66 20 71 75 69 74 74 | 69 6e 67 20 61 75 74 6f |of quitt|ing auto| |00005bc0| 6d 61 74 69 63 61 6c 6c | 79 29 2e 20 54 68 69 73 |maticall|y). This| |00005bd0| 20 63 61 6e 20 62 65 20 | 75 73 65 66 75 6c 20 77 | can be |useful w| |00005be0| 68 65 6e 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |hen you |want to | |00005bf0| 73 65 6e 64 20 63 6f 6d | 6d 61 6e 64 73 20 66 72 |send com|mands fr| |00005c00| 6f 6d 20 61 6e 6f 74 68 | 65 72 20 73 63 72 69 70 |om anoth|er scrip| |00005c10| 74 20 74 6f 20 74 68 65 | 20 6f 70 65 6e 20 73 63 |t to the| open sc| |00005c20| 72 69 70 74 2e 0d 6e 20 | 20 4e 65 76 65 72 20 53 |ript..n | Never S| |00005c30| 68 6f 77 20 53 74 61 72 | 74 75 70 20 53 63 72 65 |how Star|tup Scre| |00005c40| 65 6e 2e 20 20 43 68 6f | 6f 73 65 20 74 68 69 73 |en. Cho|ose this| |00005c50| 20 6f 70 74 69 6f 6e 20 | 77 68 65 6e 20 79 6f 75 | option |when you| |00005c60| 20 64 6f 6e d5 74 20 77 | 61 6e 74 20 74 68 65 20 | don.t w|ant the | |00005c70| 73 74 61 72 74 75 70 20 | 73 63 72 65 65 6e 20 74 |startup |screen t| |00005c80| 6f 20 61 70 70 65 61 72 | 2e 20 54 68 65 20 73 74 |o appear|. The st| |00005c90| 61 72 74 75 70 20 73 63 | 72 65 65 6e 20 64 69 73 |artup sc|reen dis| |00005ca0| 70 6c 61 79 73 20 74 68 | 65 20 64 65 73 63 72 69 |plays th|e descri| |00005cb0| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 63 72 |ption of| the scr| |00005cc0| 69 70 74 20 79 6f 75 20 | 77 72 69 74 65 20 69 6e |ipt you |write in| |00005cd0| 20 74 68 65 20 74 6f 70 | 20 70 61 72 74 20 6f 66 | the top| part of| |00005ce0| 20 74 68 65 20 53 63 72 | 69 70 74 20 45 64 69 74 | the Scr|ipt Edit| |00005cf0| 6f 72 20 77 69 6e 64 6f | 77 2e 0d 53 61 76 69 6e |or windo|w..Savin| |00005d00| 67 20 61 20 73 63 72 69 | 70 74 20 61 73 20 72 75 |g a scri|pt as ru| |00005d10| 6e 2d 6f 6e 6c 79 0d 59 | 6f 75 20 63 61 6e 20 73 |n-only.Y|ou can s| |00005d20| 61 76 65 20 61 20 73 63 | 72 69 70 74 20 69 6e 20 |ave a sc|ript in | |00005d30| 61 20 66 6f 72 6d 61 74 | 20 74 68 61 74 20 63 61 |a format| that ca| |00005d40| 6e 20 62 65 20 72 75 6e | 20 62 75 74 20 63 61 6e |n be run| but can| |00005d50| 6e 6f 74 20 62 65 20 6f | 70 65 6e 65 64 20 69 6e |not be o|pened in| |00005d60| 20 74 68 65 20 53 63 72 | 69 70 74 20 45 64 69 74 | the Scr|ipt Edit| |00005d70| 6f 72 20 28 6f 72 20 61 | 6e 79 20 6f 74 68 65 72 |or (or a|ny other| |00005d80| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 29 2e 20 54 | applica|tion). T| |00005d90| 68 69 73 20 69 73 20 63 | 61 6c 6c 65 64 20 61 20 |his is c|alled a | |00005da0| 72 75 6e 2d 6f 6e 6c 79 | 20 73 63 72 69 70 74 2e |run-only| script.| |00005db0| 20 54 6f 20 73 61 76 65 | 20 61 20 73 63 72 69 70 | To save| a scrip| |00005dc0| 74 20 61 73 20 72 75 6e | 2d 6f 6e 6c 79 3a 0d 31 |t as run|-only:.1| |00005dd0| 2e 09 43 68 6f 6f 73 65 | 20 53 61 76 65 20 41 73 |..Choose| Save As| |00005de0| 20 52 75 6e 2d 4f 6e 6c | 79 20 66 72 6f 6d 20 74 | Run-Onl|y from t| |00005df0| 68 65 20 46 69 6c 65 20 | 6d 65 6e 75 2e 0d 32 2e |he File |menu..2.| |00005e00| 09 49 6e 20 74 68 65 20 | 64 69 61 6c 6f 67 20 62 |.In the |dialog b| |00005e10| 6f 78 20 74 68 61 74 20 | 61 70 70 65 61 72 73 2c |ox that |appears,| |00005e20| 20 73 65 6c 65 63 74 20 | 61 20 6c 6f 63 61 74 69 | select |a locati| |00005e30| 6f 6e 2c 20 73 70 65 63 | 69 66 79 20 61 20 6e 61 |on, spec|ify a na| |00005e40| 6d 65 2c 20 61 6e 64 20 | 63 68 6f 6f 73 65 20 61 |me, and |choose a| |00005e50| 20 66 6f 72 6d 61 74 20 | 66 6f 72 20 74 68 65 20 | format |for the | |00005e60| 73 63 72 69 70 74 2e 0d | 59 6f 75 20 63 61 6e 20 |script..|You can | |00005e70| 73 61 76 65 20 72 75 6e | 2d 6f 6e 6c 79 20 73 63 |save run|-only sc| |00005e80| 72 69 70 74 73 20 61 73 | 20 63 6f 6d 70 69 6c 65 |ripts as| compile| |00005e90| 64 20 73 63 72 69 70 74 | 73 20 6f 72 20 61 73 20 |d script|s or as | |00005ea0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 20 59 6f |applicat|ions. Yo| |00005eb0| 75 20 63 61 6e 6e 6f 74 | 20 73 61 76 65 20 61 20 |u cannot| save a | |00005ec0| 72 75 6e 2d 6f 6e 6c 79 | 20 73 63 72 69 70 74 20 |run-only| script | |00005ed0| 61 73 20 74 65 78 74 2e | 0d 33 2e 09 43 6c 69 63 |as text.|.3..Clic| |00005ee0| 6b 20 53 61 76 65 2e 0d | 09 09 52 75 6e 6e 69 6e |k Save..|..Runnin| |00005ef0| 67 20 61 20 73 63 72 69 | 70 74 0d 54 6f 20 72 75 |g a scri|pt.To ru| |00005f00| 6e 20 61 20 73 63 72 69 | 70 74 20 74 68 61 74 d5 |n a scri|pt that.| |00005f10| 73 20 69 6e 20 74 68 65 | 20 61 63 74 69 76 65 20 |s in the| active | |00005f20| 73 63 72 69 70 74 20 77 | 69 6e 64 6f 77 3a 0d 6e |script w|indow:.n| |00005f30| 09 43 6c 69 63 6b 20 74 | 68 65 20 52 75 6e 20 62 |.Click t|he Run b| |00005f40| 75 74 74 6f 6e 2e 0d 59 | 6f 75 20 63 61 6e 20 61 |utton..Y|ou can a| |00005f50| 6c 73 6f 20 63 68 6f 6f | 73 65 20 52 75 6e 20 66 |lso choo|se Run f| |00005f60| 72 6f 6d 20 74 68 65 20 | 43 6f 6e 74 72 6f 6c 73 |rom the |Controls| |00005f70| 20 6d 65 6e 75 2e 0d 54 | 6f 20 73 74 6f 70 20 61 | menu..T|o stop a| |00005f80| 20 73 63 72 69 70 74 20 | 74 68 61 74 d5 73 20 72 | script |that.s r| |00005f90| 75 6e 6e 69 6e 67 2c 20 | 70 72 65 73 73 20 74 68 |unning, |press th| |00005fa0| 65 20 53 74 6f 70 20 62 | 75 74 74 6f 6e 20 28 6f |e Stop b|utton (o| |00005fb0| 72 20 68 6f 6c 64 20 64 | 6f 77 6e 20 74 68 65 20 |r hold d|own the | |00005fc0| 43 6f 6d 6d 61 6e 64 20 | 6b 65 79 20 61 6e 64 20 |Command |key and | |00005fd0| 70 72 65 73 73 20 74 68 | 65 20 70 65 72 69 6f 64 |press th|e period| |00005fe0| 20 6b 65 79 29 2e 0d 54 | 6f 20 72 75 6e 20 61 20 | key)..T|o run a | |00005ff0| 73 63 72 69 70 74 20 61 | 70 70 6c 69 63 61 74 69 |script a|pplicati| |00006000| 6f 6e 3a 0d 6e 09 4f 70 | 65 6e 20 74 68 65 20 69 |on:.n.Op|en the i| |00006010| 63 6f 6e 20 6f 66 20 74 | 68 65 20 73 63 72 69 70 |con of t|he scrip| |00006020| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 62 79 |t applic|ation by| |00006030| 20 64 6f 75 62 6c 65 2d | 63 6c 69 63 6b 69 6e 67 | double-|clicking| |00006040| 20 69 74 2e 0d 59 6f 75 | 20 63 61 6e 20 74 75 72 | it..You| can tur| |00006050| 6e 20 6f 66 66 20 74 68 | 65 20 73 63 72 69 70 74 |n off th|e script| |00006060| d5 73 20 73 74 61 72 74 | 75 70 20 73 63 72 65 65 |.s start|up scree| |00006070| 6e 20 28 69 66 20 69 74 | 20 61 70 70 65 61 72 73 |n (if it| appears| |00006080| 29 62 79 20 63 68 6f 6f | 73 69 6e 67 20 55 73 65 |)by choo|sing Use| |00006090| 20 53 74 61 72 74 75 70 | 20 53 63 72 65 65 6e 20 | Startup| Screen | |000060a0| 66 72 6f 6d 20 74 68 65 | 20 46 69 6c 65 20 6d 65 |from the| File me| |000060b0| 6e 75 2e 0d 59 6f 75 20 | 63 61 6e 20 66 6f 72 63 |nu..You |can forc| |000060c0| 65 20 74 68 65 20 73 63 | 72 69 70 74 d5 73 20 73 |e the sc|ript.s s| |000060d0| 74 61 72 74 75 70 20 73 | 63 72 65 65 6e 20 74 6f |tartup s|creen to| |000060e0| 20 61 70 70 65 61 72 20 | 62 79 20 68 6f 6c 64 69 | appear |by holdi| |000060f0| 6e 67 20 64 6f 77 6e 20 | 74 68 65 20 43 6f 6e 74 |ng down |the Cont| |00006100| 72 6f 6c 20 6b 65 79 20 | 77 68 65 6e 20 79 6f 75 |rol key |when you| |00006110| 20 6f 70 65 6e 20 74 68 | 65 20 73 63 72 69 70 74 | open th|e script| |00006120| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 0d 09 09 | applica|tion....| |00006130| 56 69 65 77 69 6e 67 20 | 41 70 70 6c 65 53 63 72 |Viewing |AppleScr| |00006140| 69 70 74 20 63 6f 6d 6d | 61 6e 64 73 0d 45 76 65 |ipt comm|ands.Eve| |00006150| 72 79 20 73 63 72 69 70 | 74 61 62 6c 65 20 61 70 |ry scrip|table ap| |00006160| 70 6c 69 63 61 74 69 6f | 6e 20 68 61 73 20 69 74 |plicatio|n has it| |00006170| 73 20 6f 77 6e 20 64 69 | 63 74 69 6f 6e 61 72 79 |s own di|ctionary| |00006180| 2c 20 6f 72 20 73 65 74 | 20 6f 66 20 41 70 70 6c |, or set| of Appl| |00006190| 65 53 63 72 69 70 74 20 | 74 65 72 6d 73 2c 20 74 |eScript |terms, t| |000061a0| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |hat you |can use | |000061b0| 77 69 74 68 20 69 74 2e | 20 59 6f 75 20 63 61 6e |with it.| You can| |000061c0| 20 6f 70 65 6e 20 61 6e | 20 61 70 70 6c 69 63 61 | open an| applica| |000061d0| 74 69 6f 6e d5 73 20 41 | 70 70 6c 65 53 63 72 69 |tion.s A|ppleScri| |000061e0| 70 74 20 64 69 63 74 69 | 6f 6e 61 72 79 20 69 6e |pt dicti|onary in| |000061f0| 20 6f 72 64 65 72 20 74 | 6f 20 66 69 6e 64 20 6f | order t|o find o| |00006200| 75 74 20 77 68 61 74 20 | 74 65 72 6d 73 20 79 6f |ut what |terms yo| |00006210| 75 20 63 61 6e 20 75 73 | 65 20 61 6e 64 20 74 68 |u can us|e and th| |00006220| 65 20 70 72 6f 70 65 72 | 20 73 79 6e 74 61 78 20 |e proper| syntax | |00006230| 66 6f 72 20 74 68 65 20 | 74 65 72 6d 73 2e 0d 54 |for the |terms..T| |00006240| 6f 20 6f 70 65 6e 20 61 | 6e 20 61 70 70 6c 69 63 |o open a|n applic| |00006250| 61 74 69 6f 6e d5 73 20 | 64 69 63 74 69 6f 6e 61 |ation.s |dictiona| |00006260| 72 79 2c 20 66 6f 6c 6c | 6f 77 20 74 68 65 73 65 |ry, foll|ow these| |00006270| 20 73 74 65 70 73 3a 0d | 31 2e 09 43 68 6f 6f 73 | steps:.|1..Choos| |00006280| 65 20 4f 70 65 6e 20 44 | 69 63 74 69 6f 6e 61 72 |e Open D|ictionar| |00006290| 79 20 66 72 6f 6d 20 74 | 68 65 20 46 69 6c 65 20 |y from t|he File | |000062a0| 6d 65 6e 75 2e 0d 41 20 | 64 69 61 6c 6f 67 20 62 |menu..A |dialog b| |000062b0| 6f 78 20 61 70 70 65 61 | 72 73 20 69 6e 20 77 68 |ox appea|rs in wh| |000062c0| 69 63 68 20 79 6f 75 20 | 63 61 6e 20 73 65 6c 65 |ich you |can sele| |000062d0| 63 74 20 61 20 73 63 72 | 69 70 74 61 62 6c 65 20 |ct a scr|iptable | |000062e0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 0d 32 2e 09 |applicat|ion..2..| |000062f0| 53 65 6c 65 63 74 20 74 | 68 65 20 61 70 70 6c 69 |Select t|he appli| |00006300| 63 61 74 69 6f 6e 20 79 | 6f 75 20 77 61 6e 74 20 |cation y|ou want | |00006310| 61 6e 64 20 63 6c 69 63 | 6b 20 4f 70 65 6e 2e 0d |and clic|k Open..| |00006320| 54 68 65 20 44 69 63 74 | 69 6f 6e 61 72 79 20 77 |The Dict|ionary w| |00006330| 69 6e 64 6f 77 20 6f 70 | 65 6e 73 2e 0d 33 2e 09 |indow op|ens..3..| |00006340| 54 6f 20 73 65 65 20 74 | 68 65 20 64 65 74 61 69 |To see t|he detai| |00006350| 6c 73 20 61 62 6f 75 74 | 20 75 73 69 6e 67 20 61 |ls about| using a| |00006360| 6e 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 74 65 |n AppleS|cript te| |00006370| 72 6d 2c 20 63 6c 69 63 | 6b 20 69 74 2e 0d 54 68 |rm, clic|k it..Th| |00006380| 65 20 64 65 74 61 69 6c | 73 20 66 6f 72 20 75 73 |e detail|s for us| |00006390| 69 6e 67 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |ing the |command | |000063a0| 61 70 70 65 61 72 20 69 | 6e 20 74 68 65 20 77 69 |appear i|n the wi| |000063b0| 6e 64 6f 77 2e 20 0d 54 | 68 65 20 74 65 72 6d 73 |ndow. .T|he terms| |000063c0| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 61 6e | availab|le in an| |000063d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 64 | applica|tion.s d| |000063e0| 69 63 74 69 6f 6e 61 72 | 79 20 61 72 65 20 6f 72 |ictionar|y are or| |000063f0| 67 61 6e 69 7a 65 64 20 | 69 6e 74 6f 20 73 75 69 |ganized |into sui| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.