Steve Roy wrote: >For those of you who are familliar with the underlying machinery of >AppleEvents, there are two ways to launch an application, with an "open >document" event or an "open application" event. > >Doing the following is the equivalent of sending an "open application" >event, followed by an "open document" event. > > tell application "Foo" to open document "Bar" > >To simply have an "open document" event sent, one can do the following. > > tell application "Finder" to open alias "Bar" > >Now in my particular script, I need to use the second form, without using >the Finder. Is this possible? There's also this: tell application "Finder" to open alias "Bar" using application "Foo" or variant tell application "Finder" to open alias "Bar" using application file id "Fooo" >Can we send an "open document" event directly >to the app without using the tell application "Foo" terminology? The above is the only way I know to tell the app without telling the app. :-) -W ------------------------------
This archive was generated by hypermail 2b29 : Sun May 27 2001 - 12:00:28 AEST