Re: Applescript & Microsoft IE
Re: Applescript & Microsoft IE
- Subject: Re: Applescript & Microsoft IE
- From: JJ <email@hidden>
- Date: Fri, 15 Feb 2002 20:25:36 +0100
>
The long answer is that AppleScript isn't designed nor intended as a User
>
Interface controller. Instead it is meant to provide a new interface into
>
applications. Rather than have a script mimic the actions of a user
>
(selecting a menu; typing some text and clicking a button) appleScript is
>
designed to simply send the text to the application.
>
I'd rather say that User Interfaces are not designed to be controlled by
AppleScript (nor other scripting languages).
>
The problem is that even in the very best scripting implementations there
>
are a few cases where the user interface is the only option available for
>
control of certain features. (And IE is not among the best of
>
implementations although I hear the latest release is greatly improved.)
>
Certainly IE is doesn't own the best applescript implementation, but its
dictionary has a command so useful: do script [javascript]. This command
gives the user best control over javascript objects. So, over all web pages
and its contents.
This is my favourite feature in any app supporting scripting languages, such
as FileMaker or IE itself (sorry, I hate MS's VBA for Word).
>
Before you rely on controlling the user interface I suggest you use the
>
script editor's "Open Dictionary" command and explore the IE dictionary.
>
You may find your solution there.
Of course, this is the first step :-)
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.