Article ID: 150590 - Last Review: November 1, 2006 - Revision: 1.1 AppleScript Commands Supported by IE 2.0 for MacintoshThis article was previously published under Q150590 On This PageSUMMARY
This article lists AppleScript commands that Internet Explorer 2.0 for
Macintosh supports.
MORE INFORMATIONWeb 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 -- TransactionID
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 integer -- TransactionID
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 integer -- WindowID
[Flags integer] -- Reserved for future use
Result: integer -- WindowID of the front window
ListWindows Result: list GetWindowInfo integer -- WindowID of the window to get info about Result: list
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 integer -- TransactionID
with Message string -- Message to display with the progress
indicator.
Result: Boolean -- Success
SetProgressRange integer -- TransactionID
Max integer -- Max value for this progress indicator
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 integer -- TransactionID
RegisterDone integer -- TransactionID
Result: integer -- 0 = failure; 1 = success; 2 = sending program
needs more time to complete operation.
RegisterProtocol 'psn ' -- program
for string -- Protocol, such as NEWS, MAILTO, etc...
Result: Boolean -- Success
UnRegisterProtocol 'psn ' -- program
for string -- Protocol, such as NEWS, MAILTO, etc...
RegisterViewer 'psn ' -- program
for string -- MIMEType
[as type class] -- File type for saved documents
[Flags integer]
UnRegisterViewer 'psn ' -- program
for string -- MIMEType
RegisterURLEcho string -- program Result: Boolean -- Success UnRegisterURLEcho 'psn ' -- program RegisterWindowClose 'psn ' -- program UnRegisterWindowClose 'psn ' -- program URL Suite: Standard Suite for Uniform Resource Locators
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
Open bookmark: Reads in a bookmark file.
Open bookmark alias -- If not available, reloads the current bookmark
file.
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. | Article Translations
|

Back to the top
