Re: Applescript & Microsoft IE
Re: Applescript & Microsoft IE
- Subject: Re: Applescript & Microsoft IE
- From: Ed Stockly <email@hidden>
- Date: Fri, 15 Feb 2002 08:41:47 -0800
>
> Okay well im trying to make a small script that will at least type
>
> something in a text box and click okay or enter or whatever... Ive Looked
>
> EVERYWHERE and i cant find ANY thing like this... It looks like in the M
>
> IE "applescript dictonary" there is only very basic commands so how the
>
> heck would i do this? I have also looked into netscape as well... a little
>
> more stuff but nothing like im looking for... I dont HAVE to use
>
> applescript but it seems it WOULD be the easyest way if i ever got it
>
> working but still i wouldnt know how to do it in studio or any of the
>
> other apple dev programs.. hmm maybe REAL basic? duno thx guys!
>
>
Not sure that I understand your problem. I suggest two attitudes.
>
>
- In "Finder", pull down the "Help" menu, choose "Mac Help", click the
>
house, click "AppleScript Help" and use the links to browse AppleScript
>
Help.
>
>
- Check the dictionary of the "Standard Additions" Scripting Addition.
>
>
Emmanuel
Emmanuel is pointing you to some basic and general information about
AppleScript, but that's not a good answer to your specific question, but
more of a stock answer fed to newbies that's not terribly helpful.
The short answer is you need to install some third party solutions like
"PreFab Player", "QuicKeys" or Akua Sweets Osax in order to 'puppet' the
user interface. Look here: <
http://www.osaxen.com/>
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.
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.)
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.
HTH,
ES
_______________________________________________
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.