AppleScript Commands Supported by IE 2.0 for MacintoshLast reviewed: September 2, 1997Article ID: Q150590 |
The information in this article applies to:
SUMMARYThis article lists AppleScript commands that Internet Explorer 2.0 for Macintosh supports.
MORE INFORMATION
Web Browser Suite EventsWeb Browser Suite: Class of events that are sent to Web browser programs. OpenURL: Retrieves Uniform Resource Locator (URL) off the Web. OpenURL string -- Fully specified URL [to file specification] -- File to save downloaded data into. [toWindow integer] -- Window to open this URL into. (Use -1 for top window) [Flags integer] -- Valid Flags settings are: 1-Ignore the document cache; 2-Ignore the image cache; 4-Operate in background mode. [FormData anything] -- Posting of forms of a given Multipurpose Internet Mail Extensions (MIME) type. [MIMEType string] -- MIME type for the FormData. [ProgressApp 'psn '] -- If specified, ProgressApp can be named to handle the user interface for process messages. [ResultApp 'psn '] -- When the requested URL has been accessed and all associated documents loaded, the Web browser will issue an OpenURLResult to the ResultApp. Result: integer -- TransactionIDShowFile: Passes FileSpec containing data of a given MIME type to be rendered in a given WindowID.
ShowFile alias -- The file to show. [MIME type string] -- MIME type [Window ID integer] -- Identification number of the window to open the file into. (Can use -1 for top window) [URL string] -- A URL which allows this document to be reloaded if necessary. [ResultApp 'psn '] -- When the requested URL has been accessed and all associated documents loaded, the Web browser will issue a ShowFileResult to the ResultApp. Result: integer -- TransactionIDCancelTransaction: Tells the Web browser to cancel a TransactionID in progress which the program has initiated with an OpenURL or ShowFile command.
CancelTransaction integer -- TransactionIDQueryVersion: Tells the Web browser that a program that wants to communicate with it supports a specific version (major.minor) of this SDI specification.
QueryVersion Major Version integer -- Major version of the SDI specification the sending program supports. Minor Version integer -- Minor version of the SDI specification the sending program supports. Result: listActivate: Tells the Web browser to bring itself to the front and show WindowID. (Can use -1 for top window.)
Activate integer -- WindowID [Flags integer] -- Reserved for future use Result: integer -- WindowID of the front windowListWindows: Returns a list of WindowIDs representing each window currently being used by the Web browser.
ListWindows Result: listGetWindowInfo: Returns a window information record (URL/Title) for the specified window.
GetWindowInfo integer -- WindowID of the window to get info about Result: listParseAnchor: Combines a base URL and a relative URL to produce a fully specified URL.
ParseAnchor string -- MainURL. The base URL. withURL string -- RelativeURL, which, when combined with the MainURL (in the direct object), is used to produce a fully- specified URL. Result: string -- The Fully specified URL.BeginProgress: Initializes a progress indicator.
BeginProgress integer -- TransactionID with Message string -- Message to display with the progress indicator. Result: Boolean -- SuccessSetProgressRange: Sets a maximum value for the progress indicator associated with TransactionID.
SetProgressRange integer -- TransactionID Max integer -- Max value for this progress indicatorMakingProgress: Updates the progress indicator associated with TransactionID.
MakingProgress integer -- TransactionID with message string -- Message to display in the progress indicator current setting integer -- Current value of the progress indicator [Result: Boolean] -- CancelEndProgress: Notifies the program that the progress indicator associated with TransactionID is no longer needed.
EndProgress integer -- TransactionIDRegisterDone: Signals that all processing initiated by the RegisterNow event associated by TransactionID has finished.
RegisterDone integer -- TransactionID Result: integer -- 0 = failure; 1 = success; 2 = sending program needs more time to complete operation.RegisterProtocol: Notifies that the sending program is able to handle all URLs for the specified protocol.
RegisterProtocol 'psn ' -- program for string -- Protocol, such as NEWS, MAILTO, etc... Result: Boolean -- SuccessUnRegisterProtocol: Notifies that the sending program no longer wants to handle URLs for the specified protocol.
UnRegisterProtocol 'psn ' -- program for string -- Protocol, such as NEWS, MAILTO, etc...RegisterViewer: Notifies that the sending program is able to handle all documents for the specified MIMEType.
RegisterViewer 'psn ' -- program for string -- MIMEType [as type class] -- File type for saved documents [Flags integer]UnRegisterViewer: Notifies that the sending program no longer wants to handle documents of the specified MIMEType.
UnRegisterViewer 'psn ' -- program for string -- MIMETypeRegisterURLEcho: Notifies that the sending program would like to receive EchoURL events.
RegisterURLEcho string -- program Result: Boolean -- SuccessUnRegisterURLEcho: Notifies that the sending prgram would no longer like to receive EchoURL events.
UnRegisterURLEcho 'psn ' -- programRegisterWindowClose: Notifies that the sending program would like to receive WindowClose events.
RegisterWindowClose 'psn ' -- programUnRegisterWindowClose: Notifies that the sending program would no longer like to receive WindowClose events.
UnRegisterWindowClose 'psn ' -- program URL Suite: Standard Suite for Uniform Resource LocatorsGetURL: Open the URL (and optionally save it to disk) GetURL string -- The URL [To file (optional) 'fss this file. Netscape Suite: Events Defined by NetscapeOpen bookmark: Reads in a bookmark file. Open bookmark alias -- If not available, reloads the current bookmark file.The third-party product discussed in this article is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability. AppleScript is a product of Apple Computer, Inc. Microsoft cannot troubleshoot AppleScript or assist in the creation of scripts. For further assistance, please consult your AppleScript documentation or contact Apple Computer.
|
KBCategory: kbtool kbref kbprg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |