Keynote 136 2003-10-09 16:01:28 -0700 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.8 0.6 0 0 0 0.2 0.2 0.8 0 0 0 0.8 0.8 1 0 0 0 0.698039 0.698039 0.698039 0 0 0 0.501961 0.501961 0.501961 0 0 0 0 0 0 0 0 0 0 0 0 version 1 CPBorderColorProperty 0 0 0 CPTextProperty root East West North 1st Qtr 20.4 30.6 45.9 2nd Qtr 27.4 38.6 46.9 3rd Qtr 90.0 34.6 45.0 4th Qtr 20.4 31.6 43.9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Click to edit Master text styles Second level Third level Fourth level 4 <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> 0 1 2 3 4 <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> Applescripting the Unscriptable -- Ted Stevko, Stevko Studios Click to edit Master text styles Second level Third level Fourth level 4 version 1 CPBorderColorProperty 0 0 0 CPTextProperty <styles> <fill-style fill-type="none"/> <dash-style pattern="none"/> <shadow-style opacity="0" radius="0"/> </styles> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3934" size="60 45" file="thumbs/st1.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Notes about this presentation</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[This is about half-10.2.8, half-10.3, so forgive me if there’s any mistakes or issues; some of this changed between the beta and the release in 10.3.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">I dropped the final Applescript file into SubEthaEdit for perusal.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Comments about my poor Applescript techniques are welcomed, encouraged, and hoped for; send them to me at my e-mail, ted@stevko.com]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">If you’ve got questions, shout out.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[I’d like to thank Matt Neuburg for allowing me to borrow the name, and Rogue Amoeba for allowing me to use their program as an example.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3024" size="60 45" file="thumbs/st2.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Why? It’s a long story...</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This all started out because I listen to headphones all day</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Audio streams aren't always convenient or stoppable.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[To fix, I got Audio Hijack Pro... but I can’t run it on my Wintel machine at work.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Audio Hijack Pro has no Applescript support </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">So I had to find another way to do this...</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3318" size="60 45" file="thumbs/st3.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">GUI Scripting</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[End users benefit from GUI scripting by being able to script those programs which don't have Applescript support]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Programmers who cannot build in Applescript support directly can support GUI scripting, and gain additional benefit from doing so.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Goal is <span font-name="TimesNewRomanPS-BoldMT">not</span> <![CDATA[ to discourage building in Applescript support -- lots of discussion on Apple's Applescript user list about this.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3298" size="60 45" file="thumbs/st4.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Goals of this presentation</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">To go through what’s been introduced in the GUI Scripting</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Touch on how GUI scripting works on the back end for Cocoa/Carbon programmers</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Show how to build a GUI script for a program that has no built-in Applescript</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Once these goals are met, I’ll show the script that let me achieve my goal of being able to ignore the world for days at a time.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2316" size="60 45" file="thumbs/st5.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">What can you do with GUI scripting?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Can access any standard GUI element's attributes and actions</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[This currently includes all elements built into Cocoa & Carbon, as well as element in Java apps that use the Cocoa/Java bridge.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Claims it works with Java, but I’m not finding that true for Swing apps. Haven’t tested AWT.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-8"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3086" size="60 45" file="thumbs/st6.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">What can you do with GUI scripting?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Actions include clicking radio & checkboxes, adding text to text areas, opening and selecting elements from menus, etc.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Also includes key commands and x/y coordinate clicking (sort of)</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[A full listing of all elements is available in the System Events dictionary; we'll cover the major ones.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3730" size="60 45" file="thumbs/st7.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">How’s it work?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Information on GUI Scripting from Apple http://www.apple.com/applescript/GUI/]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Beta for 10.2 Released in December 2002, final 1.0 in Panther</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[The beta was a download consists of an update to the System Events program and a UI Element Inspector]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[The final is included in Panther directly, with the UI Element Inspector a seperate download.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Sample scripts are available at the above address for the 1.0 release only now (and there were changes). ]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Sample scripts in the scripts menu</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" location="200.2 22" size="1037.6 132" vertical-alignment="tracks-master"/> <body visibility="tracks-master" location="236.2 161.65" size="1007.6 749" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3732" size="60 45" file="thumbs/st8.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">But how do I script these elements, dammit?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[OK, now the obligatory “where can I find more” page is past, how do you script these things?]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[It’s pretty simple. You tell the System Events application, to tell the application you want to script, to either get info about the GUI elements or tell it’s GUI elements to do an action. ]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This leaves us a few problems, though</content> </bullet> <bullet level="2" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="2.5" paragraph-alignment="left" paragraph-first-line-indent="2.5" tab-stops="L 33.5 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="40" paragraph-line-spacing="1" font-name="TimesNewRomanPSMT">What are the basic GUI elements?</content> </bullet> <bullet level="2" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="2.5" paragraph-alignment="left" paragraph-first-line-indent="2.5" tab-stops="L 33.5 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="40" paragraph-line-spacing="1" font-name="TimesNewRomanPSMT">How do I tell Applescript which GUI elements I want?</content> </bullet> <bullet level="2" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="2.5" paragraph-alignment="left" paragraph-first-line-indent="2.5" tab-stops="L 33.5 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="40" paragraph-line-spacing="1" font-name="TimesNewRomanPSMT">What info can I get from the GUI element?</content> </bullet> <bullet level="2" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="2.5" paragraph-alignment="left" paragraph-first-line-indent="2.5" tab-stops="L 33.5 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="40" paragraph-line-spacing="1" font-name="TimesNewRomanPSMT">What can I do to the GUI element?</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 168.35" size="1007.6 768.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" location="206.2 14" size="1037.6 140.15" vertical-alignment="tracks-master"/> </drawables> <transition-style type="apple:revolve" duration="1"> <property name="direction" value="13"/> </transition-style> <thumbnails> <thumbnail byte-size="3982" size="60 45" file="thumbs/st9.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Finding The Basic Applescript Classes and Commands</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">The classes and commands for these are found in the System Events application</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[System Events is a background app that allows you to system level things, like create clicks, attach scripts to folders, etc. ]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[In the beta the classes were added to "System Events Suite" in the downloaded System Events]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Panther contains these updates with the standard install, this time inside of “Process Suite”]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Other than knowing that this is the application you select to find the GUI scripting dictionary, this can be nicely ignored.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 167.65" size="1001.6 743" vertical-alignment="tracks-master"/> <title visibility="tracks-master" location="206.2 18" size="1037.6 142.15" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3758" size="60 45" file="thumbs/st10.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Finding Out Things About An Application You Want To Script</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This is where the UI Element Inspector comes in. </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">You use this to find out about not only the application you want to script</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[This application goes out and reads the accessability hierarchy -- not the object hierarchy -- and relates information about the element directly under your mouse]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Lessons for programmers: build your GUIs carefully & logically -- now your end users might be looking at these.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-9"> <drawables> <body visibility="tracks-master" location="236.2 142.35" size="513.6 768.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <image opacity="1" natural-size="330 400" transformation="1.47273 0 0 1.47273 750 216.576" display-name="UI_Inspector.tif" image-data="UI_Inspector.tif" stroke-color="g1" byte-size="71656" stroke-width="2" lock-aspect-ratio="true"> <styles> <shadow-style opacity="0" radius="0"/> <dash-style pattern="none"/> </styles> </image> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3834" size="60 45" file="thumbs/st11.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">What’s the UI Element Inspector?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Program that allows you to roll over a GUI and "inspect" the elements of any GUI interface.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Same program bundled with the Accessability API</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">It’s the most confusing thing about Applescript GUI Scripting. </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">So, let's take a look at it!</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 142.35" size="462 768.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <image opacity="1" natural-size="330 400" transformation="1.59765 0 0 1.59765 715 206.939" display-name="UI_Inspector_BlockedOff.tif" image-data="UI_Inspector_BlockedOff.tif" stroke-color="g1" byte-size="74476" stroke-width="2" lock-aspect-ratio="true"> <styles> <shadow-style opacity="0" radius="0"/> <dash-style pattern="none"/> </styles> </image> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="4316" size="60 45" file="thumbs/st81.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Looking at the Inspector</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">If you look at this while you roll over things, you get three distinct areas</content> </bullet> <bullet level="1" marker-type="character"> <content font-color="0.657609 0.0169056 0.1103" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">The tree heirarchy of an element</content> <character-bullet-style size-technique="relative" size="1"> <bullet-characters font-color="0.657609 0.0169056 0.1103" font-name="TimesNewRomanPSMT" font-size="24">•</bullet-characters> </character-bullet-style> </bullet> <bullet level="1" marker-type="character"> <content font-color="0.0281911 0.451087 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">The attributes of an element</content> <character-bullet-style size-technique="relative" size="1"> <bullet-characters font-color="0.0281911 0.451087 0" font-name="TimesNewRomanPSMT" font-size="24">•</bullet-characters> </character-bullet-style> </bullet> <bullet level="1" marker-type="character"> <content font-color="0 0 1" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">The actions available to an element</content> <character-bullet-style size-technique="relative" size="1"> <bullet-characters font-color="0 0 1" font-name="TimesNewRomanPSMT" font-size="24">•</bullet-characters> </character-bullet-style> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 331.65" size="969.6 579" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <g transformation="1 0 0 1 681.5 66.5"> <shape path="M 0 0 L 100 0 L 100 100 L 0 100 Z M 0 0" transformation="5.16693 0 0 2.51 681.5 66.5"/> <image opacity="1" natural-size="202 94" transformation="2.46809 0 0 2.46809 690 77" display-name="UI_Inspector_tree.tif" image-data="UI_Inspector_tree.tif" stroke-color="g1" byte-size="28232" stroke-width="2" lock-aspect-ratio="true"> <styles> <shadow-style opacity="0" radius="0"/> <dash-style pattern="none"/> </styles> </image> </g> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3608" size="60 45" file="thumbs/st13.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Tree Hierarchy</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This shows the tree you're going to have to walk down to access a GUI element</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[So, in this case, you would need to reference the pop up button of the group of the scroll area of the window “Test Text” of application “Audio Hijack Pro”]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[References can be made by either name or element number -- although UI Element Inspector doesn’t tell you what the number is]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3640" size="60 45" file="thumbs/st14.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">What the heck's "AXPopUpButton"?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This is the proper name of the element as seen by Apple’s Accessability API.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Apple introduced an Accessibility API to allow non-standard input devices to access applications]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Each element of the standard Cocoa and Carbon GUI API implements the accessibility API]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[In Applescript, though, you will be calling things like “pop up button”, not “AXPopUpButton”. This particular tree list is to be used as more of a guide than an absolute. ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="239.8 142.35" size="1008 789.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <shape path="M 0 0 L 100 0 L 100 100 L 0 100 Z M 0 0" transformation="5.50314 0 0 5.2 689.648 400.5"/> <image opacity="1" natural-size="228 215" transformation="2.36279 0 0 2.36279 696.265 406" display-name="UI_Inspector_AttAndAct.tif" image-data="UI_Inspector_AttAndAct.tif" stroke-color="g1" byte-size="43080" stroke-width="2" lock-aspect-ratio="true"> <styles> <shadow-style opacity="0" radius="0"/> <dash-style pattern="none"/> </styles> </image> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3780" size="60 45" file="thumbs/st15.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Attributes and Actions</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Lots of attributes for every element, but not all available for getting</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Some attributes can be "set" -- ones with (W) in front of them</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Some attributes are a pain to access, like children. Will not return a list when called; you have to build your own list.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Actions show what you can do to that element ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="4106" size="60 45" file="thumbs/st16.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Why can’t I script some elements?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Accessibility is built into the standard set of UI elements -- but custom UI elements need to implement the Accessibility API to be GUI scriptable.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[For Applescript, you don't need to know this; but if you're building an application, this is why a custom UI element would not have access.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[For Carbon/Cocoa builders, having your custom GUI elements implement the Accessability API’s GUI classes allows them to be accessed both by Applescript and by non-standard input devices]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Java developers seem to need to use the Cocoa/Java bridge instead of Swing for GUIs.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 208.35" size="1007.6 607.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" location="206.2 22" size="1037.6 144" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3396" size="60 45" file="thumbs/st131.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">How do I use the UI Element Inspector?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Use the tree information to find where the UI element is</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Use the attributes to find out information about the UI element</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Use the actions to find out what actions you can perform.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This gives you the information you need to script any specific UI element.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[But.. the UI Element inspector is a pain -- it was built for working with the Accessability API.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <image opacity="1" natural-size="752 540" transformation="1.18708 0 0 1.18708 278.318 265.585" display-name="UI_Browser_Full.tiff" image-data="UI_Browser_Full.tiff" stroke-color="g1" byte-size="160240" stroke-width="2" lock-aspect-ratio="true"> <styles> <shadow-style opacity="0" radius="0"/> <dash-style pattern="none"/> </styles> </image> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="4154" size="60 45" file="thumbs/st141.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Prefab UI Browser</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Prefab UI Browser: http://www.prefab.com/uibrowser/, $40</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3906" size="60 45" file="thumbs/st19.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Prefab UI Browser</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Easier to use to walk the tree: elements have clear Applescript names, and UI Browser gives number references, where UI Element Inspector does not]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Allows you to test setting attributes, clicking elements, doing keyboard commands, etc. without having to built test Applescripts]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Best of all, UI Browser builds Applescript statements for you, including clicking elements, getting and setting attributes, and building basic try blocks.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[If you’re doing GUI scripting, it’s near essential. Apple’s product isn’t built for doing Applescripting.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="874 180" transformation="1 0 0 1 288 548"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" <!-- insert items here --> end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3172" size="60 45" file="thumbs/st20.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Building The Script</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Because you're calling the System Events app, you tell the System Events application to tell an application process.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[This gets you access to it’s GUI elements. If you tell the application directly, it would be a reference to that program’s Applescript elements. ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="878 324" transformation="1 0 0 1 268 540"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” tell scroll area 1 click button 1 end tell end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3212" size="60 45" file="thumbs/st17.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Referencing elements</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Since each of the items is in a vast tree, you just have to descend the tree.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Either tell a series of items (set value of text field 1 of row presetNum of table 1 of scrollArea 1 of "Preset List" to timerName) or..]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Use a series of tell statements -- ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="920 360" transformation="1 0 0 1 265 500"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” tell scroll area 1 set theVar to get value of button 1 set value of button 1 to theVar end tell end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3284" size="60 45" file="thumbs/st22.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Getting and setting attributes</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Getting attributes is as simple as “get <attribute> of <UI element>”; setting is “set, etc.”]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Note: Some items in the beta claimed to be modifiable, and are not: you will need to test. Not sure about Panther yet.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="966 324" transformation="1 0 0 1 276 494"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” tell scroll area 1 click button 1 end tell end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2982" size="60 45" file="thumbs/st23.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Buttons</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Again, simple as can be: find the element and use "click"</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[A button (or any other element) has to be enabled (enabled attribute is true) in order to click it, or perform any other action on it.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="972 324" transformation="1 0 0 1 270 574"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” click pop up button 1 pick menu item "MP3 VBR" of menu "OtherViews" of pop up button 1 end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3408" size="60 45" file="thumbs/st211.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Drop-down Menus</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Drop-down menus include both "pop up buttons" and "menu buttons" </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">You must click the button first to be able to reach the menu items.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Once the button is clicked, the drop down menus then have access to their menu child element, which has an array of child menu items. ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="1002 252" transformation="1 0 0 1 264 522"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” pick menu item "New Preset" of menu "File" end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3180" size="60 45" file="thumbs/st24.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Menus & Menu Items</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Menus are basically containers for menu items; you select a menu, then select a menu item.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Menu items have 3 actions: cancel, to skip selecting a menu item; click, which selects the item; and pick, which also selects the item]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-10"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="1002 288" transformation="1 0 0 1 264 580"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” pick menu item "New Preset" of menu 1 of menu bar item “File” of menu bar 1 end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3504" size="60 45" file="thumbs/st26.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Menu Bars & Menu Bar Items</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Menu Bars are containers for menu bar items, which are containers for menus.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[To select something in a menu bar, you need to select the menu bar, select the menu bar item, select the menu, then select the menu item.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">This is new in Panther; the beta had menu bar, menu, menu item.</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" location="236.2 142.35" size="1007.6 621.3" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="994 252" transformation="1 0 0 1 272 491"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” set value of text field 1 to “Say hi, Bob!” end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2982" size="60 45" file="thumbs/st221.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Text Fields</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Text fields actually are pretty simple; set the attribute "value" for the text field.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Static text fields, natch, can't be changed; but they occur often inside of a lot of programs as labels.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="926 360" transformation="1 0 0 1 277 466"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” if enabled of button 2 is 0 then click button 1 end if click button 2 end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3148" size="60 45" file="thumbs/st28.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Enabled and Disabled Elements</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[All elements have an "enabled" value; if it's not enabled, you can't actually change or act on it. ]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Disabled elements still claim to be clickable, but are not -- you need to enable them first. ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2878" size="60 45" file="thumbs/st241.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Open Dialogs</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Because we’re using System Events to access this program, we can't just use an "open" statement. We have to use the UI to open files.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[This combines a couple of things: clicking on an element, switching windows, entering a text field, and then click select.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="934 468" transformation="1 0 0 1 284 422"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" click menu item "Select Target..." of menu "Control" of menu bar 1 keystroke "/" using control down tell sheet 1 of window "Open" set value of text field 1 to ]]> <span font-color="g0">"/users/stevko/Desktop/"</span> <![CDATA[ click button 1 end tell click button "Open" of window "Open" end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3362" size="60 45" file="thumbs/st30.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Open Dialogs</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Open dialog boxes contain a text field which you can set to a file or folder location like "/Users/default/Desktop". Just don't forget to click on the "select" button afterwards.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="908 252" transformation="1 0 0 1 278 589"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” increment incrementor 1 end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3348" size="60 45" file="thumbs/st261.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Incrementors</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Incrementors are a particular type of UI element which moves values up and down</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Consist both of sliders and up/down buttons</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[These can use the actions "increment" and "decriment", which do exactly like they say.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">They also can contain child buttons, which can be used in a click statement</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="916 252" transformation="1 0 0 1 288 639"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” click at {233, 533} end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3442" size="60 45" file="thumbs/st27.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Clicking Elements By Location</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">You can also "click" at a location on the screen.</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Call click using a list consisting of an {x,y} coordinate point</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Does not work for elements which aren't extensions of the Accessability API</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Finding the point where to click is a pain, because it’s based on the whole screen, not the window. ]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <textbox size="904 288" transformation="1 0 0 1 278 471"> <content font-color="0 0 0" paragraph-alignment="left" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336" font-size="30" font-name="Courier"> <![CDATA[tell "System Events" tell application process "Audio Hijack Pro" tell window “Preset List” keystroke "a" with {command down, option down} end tell end tell end tell]]> </content> </textbox> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3148" size="60 45" file="thumbs/st33.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Keystrokes</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Finally, you can send keystrokes as well, along with any combination of the command keys (command, control, option, shift, or caps lock)]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Keystrokes can specify any key except function keys, command keys and the escape key.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3122" size="60 45" file="thumbs/st29.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Unscriptable Elements</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Despite all of this, some elements aren't scriptable -- anything that doesn't extend the Accessability API won't be accessable.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Custom UI elements need to have this capability built in, by using the Accessability API. Often it's not done, and the Accessability API has only been available for around a year to a year and a half.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2038" size="60 45" file="thumbs/st301.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Now, To The Actual Script....</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3152" size="60 45" file="thumbs/st31.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Additional Things To Do</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"/> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Wrap this script in a perl script, save it off and run it that way, but that's for another time.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Set up any DSPs I choose beforehand, and duplicate a preset instead of creating a new preset. Added benefit: I wouldn't have to select the channel, it could be pre-set-up as well.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Create this as a CGI, set up a web server, and go to town.</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3040" size="60 45" file="thumbs/st32.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Downsides Of GUI Scripting</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Can’t register a click at a particular location!</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Scripts will be very specific to a particular program, and require a lot of searching through a program.]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Not all of the elements & attributes are accessable, like being able to access the array of children, or sometimes simple things like an element’s value]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3158" size="60 45" file="thumbs/st331.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Positive Benefits of GUI Scripting</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[It gives applications that have no other APIs or scripting languages a way to be scripted. ]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Encourages application developers to use the Accessability API, a good thing all around]]> </content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Encourages good UI development in a logical structure</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Encourages use of standard UI elements whenever possible</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <body visibility="tracks-master" vertical-alignment="tracks-master"/> <title visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2986" size="60 45" file="thumbs/st34.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Future Developments?</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Obviously, more UI elements and simpler access for common elements</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">Support for double-click and click and drag</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT">A more readable UI Element Inspector</content> </bullet> <bullet level="1" marker-type="inherited"> <content font-color="0 0 0" paragraph-head-indent="8.598" paragraph-alignment="left" paragraph-first-line-indent="8.598" tab-stops="L 2 L 47 L 119 L 191 L 263 L 335 L 407 L 479" font-size="48" paragraph-line-spacing="1.8" font-name="TimesNewRomanPSMT"> <![CDATA[Extending the API so that a click anywhere on the application has the same effect as a mouse click. Hard, but worthwhile.]]> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="2046" size="60 45" file="thumbs/st35.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">Questions, Comments, Insults?</content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" location="260.2 147.65" size="1007.6 740.7" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3384" size="60 45" file="thumbs/st41.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">The Final Applescript</content> </bullet> <bullet level="1" marker-type="none"> <content font-color="0.501961 0 0.501961" paragraph-head-indent="8.598" font-ligatures="none" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336 L 364 L 392 L 420 L 448 L 476 L 504 L 532 L 560 L 588 L 616 L 644 L 672 L 700 L 728 L 756 L 784 L 812 L 840 L 868 L 896 L 924 L 952 L 980 L 1008 L 1036 L 1064 L 1092 L 1120 L 1148 L 1176 L 1204 L 1232 L 1260 L 1288 L 1316 L 1344 L 1372 L 1400 L 1428 L 1456 L 1484 L 1512 L 1540 L 1568 L 1596 L 1624 L 1652 L 1680 L 1708 L 1736 L 1764 L 1792 L 1820 L 1848 L 1876 L 1904 L 1932 L 1960 L 1988 L 2016 L 2044 L 2072 L 2100 L 2128 L 2156 L 2184 L 2212 L 2240 L 2268 L 2296 L 2324 L 2352 L 2380 L 2408 L 2436 L 2464 L 2492 L 2520 L 2548 L 2576 L 2604 L 2632 L 2660 L 2688 L 2716 L 2744 L 2772 L 2800" font-size="12" font-name="Courier"> <div paragraph-head-indent="28.8"> <![CDATA[-- An example script using the GUI Scripting beta software -- First, set some standard variables like name and time and channel -- This also helps, so that you don't have to set these multiple times in the script -- when you're editing it at the command line. property timerName : "Test Timer" -- start time is the hour over the 24 hour day. property startTime : 12 -- recordingTime is in minutes property recordingTime : "45" property channel : "kwmu.asf" property bitrate : "64 Kbps" property days : {1, 2, 3, 5, 6, 7} tell application "Audio Hijack Pro" to activate -- may not need to activate applicaton tell application "System Events" ]]> </div> <div paragraph-head-indent="57.6"> <![CDATA[ tell application process "Audio Hijack Pro" ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ -- first, we need to open the list of recordings and the recording times, -- which is called the "Presets List". -- To do this, we'll use keystroke. The keystroke for this is command-1 -- it doesn't close the window if you hit it while it's open keystroke 1 using command down -- if you want to, you can click a menu item like the following line: -- click menu item "Show Presets" of menu "Window" of menu bar 1 -- next, we need to create a new preset click button "New" of tool bar 1 of window "Presets List" -- I'm renaming the new item from "untitled preset" to the timer name tell window "Presets List" ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ tell table 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ set presetNum to get count of rows if presetNum is greater than 0 then ]]> </div> <div paragraph-head-indent="172.8"> <![CDATA[ set value of text field 1 of row presetNum to timerName set selected of row presetNum to true ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ else ]]> </div> <div paragraph-head-indent="172.8"> <![CDATA[ error "Something went wrong when I added an preset. Stopping script" ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ end if ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell click button "Open" of tool bar 1 ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell ]]> </div> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-1"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" location="246.2 146.35" size="1007.6 768.3" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3044" size="60 45" file="thumbs/st42.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">The Final Applescript cont’d</content> </bullet> <bullet level="1" marker-type="none"> <content font-color="0.501961 0 0.501961" paragraph-head-indent="8.598" font-ligatures="none" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336 L 364 L 392 L 420 L 448 L 476 L 504 L 532 L 560 L 588 L 616 L 644 L 672 L 700 L 728 L 756 L 784 L 812 L 840 L 868 L 896 L 924 L 952 L 980 L 1008 L 1036 L 1064 L 1092 L 1120 L 1148 L 1176 L 1204 L 1232 L 1260 L 1288 L 1316 L 1344 L 1372 L 1400 L 1428 L 1456 L 1484 L 1512 L 1540 L 1568 L 1596 L 1624 L 1652 L 1680 L 1708 L 1736 L 1764 L 1792 L 1820 L 1848 L 1876 L 1904 L 1932 L 1960 L 1988 L 2016 L 2044 L 2072 L 2100 L 2128 L 2156 L 2184 L 2212 L 2240 L 2268 L 2296 L 2324 L 2352 L 2380 L 2408 L 2436 L 2464 L 2492 L 2520 L 2548 L 2576 L 2604 L 2632 L 2660 L 2688 L 2716 L 2744 L 2772 L 2800" font-size="12" font-name="Courier"> <div paragraph-head-indent="86.4"> <![CDATA[ tell window timerName ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ -- open all of the needed areas first if not (exists (button "Mute" of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Control" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if not (exists (group 4 of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Recording" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if not (exists (checkbox "Timer Enabled" of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Timer" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell -- make the selections for control click menu item "Select Target..." of menu "Control" of menu bar 1 keystroke "/" using control down set filePath to "/users/stevko/Desktop/" & channel tell sheet 1 of window "Open" ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ set value of text field 1 to filePath click button 1 ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell click button "Open" of window "Open" tell window timerName ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ -- make selections for recording -- change type tell pop up button 1 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click click menu item "MP3" of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 -- change stereo/mono tell pop up button 2 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click click menu item "Stereo" of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 -- change bitrate tell pop up button 3 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click pick menu item bitrate of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 ]]> </div> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-11"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" location="246.2 146.35" size="1007.6 768.3" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3044" size="60 45" file="thumbs/st43.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT">The Final Applescript cont’d</content> </bullet> <bullet level="1" marker-type="none"> <content font-color="0.501961 0 0.501961" paragraph-head-indent="8.598" font-ligatures="none" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336 L 364 L 392 L 420 L 448 L 476 L 504 L 532 L 560 L 588 L 616 L 644 L 672 L 700 L 728 L 756 L 784 L 812 L 840 L 868 L 896 L 924 L 952 L 980 L 1008 L 1036 L 1064 L 1092 L 1120 L 1148 L 1176 L 1204 L 1232 L 1260 L 1288 L 1316 L 1344 L 1372 L 1400 L 1428 L 1456 L 1484 L 1512 L 1540 L 1568 L 1596 L 1624 L 1652 L 1680 L 1708 L 1736 L 1764 L 1792 L 1820 L 1848 L 1876 L 1904 L 1932 L 1960 L 1988 L 2016 L 2044 L 2072 L 2100 L 2128 L 2156 L 2184 L 2212 L 2240 L 2268 L 2296 L 2324 L 2352 L 2380 L 2408 L 2436 L 2464 L 2492 L 2520 L 2548 L 2576 L 2604 L 2632 L 2660 L 2688 L 2716 L 2744 L 2772 L 2800" font-size="12" font-name="Courier"> <div paragraph-head-indent="86.4"> <![CDATA[ tell window timerName ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ -- open all of the needed areas first if not (exists (button "Mute" of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Control" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if not (exists (group 4 of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Recording" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if not (exists (checkbox "Timer Enabled" of scroll area 1)) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click button "Timer" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell -- make the selections for control click menu item "Select Target..." of menu "Control" of menu bar 1 keystroke "/" using control down set filePath to "/users/stevko/Desktop/" & channel tell sheet 1 of window "Open" ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ set value of text field 1 to filePath click button 1 ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell click button "Open" of window "Open" tell window timerName ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ -- make selections for recording -- change type tell pop up button 1 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click click menu item "MP3" of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 -- change stereo/mono tell pop up button 2 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click click menu item "Stereo" of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 -- change bitrate tell pop up button 3 of group 1 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click pick menu item bitrate of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 ]]> </div> </content> </bullet> </bullets> </slide> <slide id="slide-1" master-slide-id="master-slide-11"> <drawables> <title visibility="tracks-master" vertical-alignment="tracks-master"/> <body visibility="tracks-master" vertical-alignment="tracks-master"/> </drawables> <transition-style type="inherited"/> <thumbnails> <thumbnail byte-size="3170" size="60 45" file="thumbs/st44.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="56" paragraph-line-spacing="-1.75" font-name="Arial-BoldMT">The Final Applescript cont’d</content> </bullet> <bullet level="1" marker-type="none"> <content font-color="0.501961 0 0.501961" paragraph-head-indent="8.598" font-ligatures="none" tab-stops="L 28 L 56 L 84 L 112 L 140 L 168 L 196 L 224 L 252 L 280 L 308 L 336 L 364 L 392 L 420 L 448 L 476 L 504 L 532 L 560 L 588 L 616 L 644 L 672 L 700 L 728 L 756 L 784 L 812 L 840 L 868 L 896 L 924 L 952 L 980 L 1008 L 1036 L 1064 L 1092 L 1120 L 1148 L 1176 L 1204 L 1232 L 1260 L 1288 L 1316 L 1344 L 1372 L 1400 L 1428 L 1456 L 1484 L 1512 L 1540 L 1568 L 1596 L 1624 L 1652 L 1680 L 1708 L 1736 L 1764 L 1792 L 1820 L 1848 L 1876 L 1904 L 1932 L 1960 L 1988 L 2016 L 2044 L 2072 L 2100 L 2128 L 2156 L 2184 L 2212 L 2240 L 2268 L 2296 L 2324 L 2352 L 2380 L 2408 L 2436 L 2464 L 2492 L 2520 L 2548 L 2576 L 2604 L 2632 L 2660 L 2688 L 2716 L 2744 L 2772 L 2800" font-size="12" font-name="Courier"> <div paragraph-head-indent="115.2"> <![CDATA[ -- set recording value to minutes tell pop up button 1 of group 4 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click pick menu item "Minutes" of menu 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell delay 1 -- set recording time tell text field 1 of group 4 of scroll area 1 ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ set value to recordingTime ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end tell -- make selections for timer -- first, select timer enabled. if (value of checkbox "Timer Enabled" of scroll area 1 is equal to 0) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click checkbox "Timer Enabled" of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if (value of checkbox "Record" of group 6 of scroll area 1 is equal to 0) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click checkbox "Record" of group 6 of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if if (value of checkbox "Quit Target" of group 6 of scroll area 1 is equal to 0) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ click checkbox "Quit Target" of group 6 of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if -- setting array of days set daysLength to length of days repeat with counter from 1 to daysLength ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ set thisDay to item counter of days as number click button thisDay of list 1 of group 5 of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end repeat -- getting end time set endTime to startTime + (recordingTime div 60) if (recordingTime mod 60 > 0) then ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ set endTime to endTime + 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end if -- setting start time repeat startTime times ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ increment incrementor 2 of group 5 of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end repeat -- setting end time repeat endTime times ]]> </div> <div paragraph-head-indent="144"> <![CDATA[ increment incrementor 1 of group 5 of scroll area 1 ]]> </div> <div paragraph-head-indent="115.2"> <![CDATA[ end repeat ]]> </div> <div paragraph-head-indent="86.4"> <![CDATA[ end tell ]]> </div> <div paragraph-head-indent="57.6"> <![CDATA[ end tell ]]> </div> <div paragraph-head-indent="28.8"> <![CDATA[end tell ]]> </div> </content> </bullet> </bullets> </slide> <slide master-slide-id="master-slide-2"> <drawables> <title visibility="hidden" vertical-alignment="tracks-master"/> <body visibility="hidden" vertical-alignment="tracks-master"/> </drawables> <transition-style type="none" duration="0"/> <thumbnails> <thumbnail byte-size="3376" size="60 45" file="thumbs/st36.tiff"/> </thumbnails> <bullets> <bullet level="0" marker-type="inherited"> <content font-color="0 0 0" paragraph-spacing="-2" paragraph-alignment="left" tab-stops="L 0 L 72 L 144 L 216 L 288 L 360 L 432 L 504" font-size="28" paragraph-line-spacing="-1.76" font-name="Arial-BoldMT"/> </bullet> </bullets> <background-fill-style byte-size="198909" fill-type="image" image-data="OSX_intermission.jpg" image-scale="stretch"/> </slide> </slide-list> <ui-state> <number key="BGShowUIStateRulersVisible">1</number> <number key="BGShowUIStateNotesVisible">0</number> <array key="BGShowUIStateSelectedSlides"> <reference id-ref="slide-1"/> </array> <number key="BGShowUIStateNavigatorWidth">144</number> <number key="BGShowUIStateViewLayout">1</number> <array key="BGShowUIStateSelectedDrawables"/> <reference key="BGShowUIStateActiveSlide" id-ref="slide-1"/> <string key="BGShowUIStateCanvasOrigin">{0, 0}</string> <array key="BGShowUIStateSelectedBulletPoints"/> <string key="BGShowUIStateWindowSize">152 87 961 637 0 0 1152 746 </string> <number key="BGShowUIStateMasterNavigatorHeight">144</number> <string key="BGShowUIStateCanvasZoom">0.500000</string> </ui-state> </presentation>