Microsoft KB Archive/150590

= AppleScript Commands Supported by IE 2.0 for Macintosh =

Article ID: 150590

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Internet Explorer 2.0 for Macintosh

-



This article was previously published under Q150590



SUMMARY
This article lists AppleScript commands that Internet Explorer 2.0 for Macintosh supports.



Web Browser Suite Events
Web 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  -- TransactionID ShowFile: 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  -- TransactionID CancelTransaction: Tells the Web browser to cancel a TransactionID in progress which the program has initiated with an OpenURL or ShowFile command.   CancelTransaction  integer  -- TransactionID QueryVersion: 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:  list Activate: 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 window ListWindows: Returns a list of WindowIDs representing each window currently being used by the Web browser.   ListWindows Result:  list GetWindowInfo: Returns a window information record (URL/Title) for the specified window.   GetWindowInfo  integer  -- WindowID of the window to get info about Result:  list ParseAnchor: 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  -- Success SetProgressRange: Sets a maximum value for the progress indicator associated with TransactionID.   SetProgressRange  integer  -- TransactionID Max integer  -- Max value for this progress indicator MakingProgress: 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]  -- Cancel EndProgress: Notifies the program that the progress indicator associated with TransactionID is no longer needed.   EndProgress  integer  -- TransactionID RegisterDone: 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. <pre class="fixed_text">  RegisterProtocol  'psn '  -- program for string  -- Protocol, such as NEWS, MAILTO, etc... Result:  Boolean  -- Success UnRegisterProtocol: Notifies that the sending program no longer wants to handle URLs for the specified protocol. <pre class="fixed_text">  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. <pre class="fixed_text">  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. <pre class="fixed_text">  UnRegisterViewer  'psn '  -- program for string  -- MIMEType RegisterURLEcho: Notifies that the sending program would like to receive EchoURL events. <pre class="fixed_text">  RegisterURLEcho  string  -- program Result:  Boolean  -- Success UnRegisterURLEcho: Notifies that the sending prgram would no longer like to receive EchoURL events. <pre class="fixed_text">  UnRegisterURLEcho  'psn '  -- program RegisterWindowClose: Notifies that the sending program would like to receive WindowClose events. <pre class="fixed_text">  RegisterWindowClose  'psn '  -- program UnRegisterWindowClose: Notifies that the sending program would no longer like to receive WindowClose events. <pre class="fixed_text">  UnRegisterWindowClose  'psn '  -- program

URL Suite: Standard Suite for Uniform Resource Locators
<pre class="fixed_text">GetURL: Open the URL (and optionally save it to disk) GetURL string  -- The URL [To file (optional) 'fss this file.

Netscape Suite: Events Defined by Netscape
<pre class="fixed_text">Open 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.

Additional query words: 2.00 Mac msie ie20 Power PowerPC

Keywords: KB150590

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.