Re: Scripting with 'Internet Explorer'
Re: Scripting with 'Internet Explorer'
- Subject: Re: Scripting with 'Internet Explorer'
- From: Andrew Oliver <email@hidden>
- Date: Thu, 13 Feb 2003 10:51:15 -0800
1) Try:
tell application "Internet Explorer.app"
or
tell application "Macintosh HD:Applications:Internet Explorer.app:"
The latter form is less portable, of course, but may solve your problem.
2) You can pass usernames and passwords in URLs in the form:
OpenURL "
http://username:email@hidden/path/index.html".
I'm not sure if that'll solve your problem or not.
On 2/13/03 5:48 AM, "email@hidden" <email@hidden> wrote:
>
I am running MacOS X [10.2.3] with System 9.2.2 [and mostly MacOS X Software]
>
installed on a Hard Disk Drive [HDD]. A separate Hard Disk Drive has System
>
9.2.2 only and related non-MacOS Software.
>
>
The following experiences are based on running MacOS X.
>
First - when using 'Script Editor [SE] 1.9' or the beta 2 Version and I run an
>
AppleScript [AS] Code which includes 'tell application "Internet Explorer"
>
[IE] SE will attempt to launch the non MacOS X IE Application. I can force SE
>
to use the MacOS X Version [by replacing 'Internet Explorer' with 'a', and
>
then having to navigate to 'Internet Explorer' on the MacOS X based HDD ];
>
but, when SE is quitted and then launched again - it again launches the non
>
MacOS X Version of IE. I have even changed the Creator and Type Fields of IE;
>
and, rebuilt the 'Desktop' of the MacOS X based 'System 9.2.2'. No
>
difference.
>
>
Anyone have a similar experience? Any solutions or suggestions?
>
>
I do not want to delete the non MacOS X Version of IE. I prefer using System
>
9.2.2, not as 'Classic', when I require top speed, productivity, and a
>
friendly User Interface - with my dual 500 MHz G4 PowerPC PowerMac [1 GB RAM,
>
and > 290 GB of HDD Storage].
>
>
-----
>
>
Second - I use the IE 'OpenURL' Event [actually use 'OpenURL
>
"http://lists.apple.com/archives/x11-users/2003/Jan/10/"'] in my AS Code and
>
when I come across a WebSite that presents a Log-In Window for User ID and
>
Password - my Code results in an Execution Error - 'Internet Explorer got an
>
error: Parameter error.'
>
At this Point I have to dismiss the Execution Error Alert Box, and then
>
navigate about IE to access the Log-In Window. After entering the required
>
Information and pressing the 'OK' Button, another Execution Error Alert Box
>
will appear. After dismissing this Alert Box my AS Code will run and works
>
correctly.The AS Code can then be executed over and over without any Errors.
>
>
What do I, and where can I, enter into my AS Code, to automatically fill in
>
the two Fields and have my Code execute without any User intervention?
>
>
Any information and / or suggestions is gratefully appreciated.
_______________________________________________
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.