• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Open webpage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open webpage


  • Subject: Re: Open webpage
  • From: Gary Lists <email@hidden>
  • Date: Tue, 01 Jul 2003 14:44:33 -0400

On or about 7/1/03 1:21 PM, Simon Manning wrote:

> Hi all,
>
> I am trying to write an extremely simple script but I get the error:
> "Internet Explorer got an error: Can't make some data into the
> expected type."
>
> The script is:
>
> Tell application "Internet Explorer"
> Open
> GetURL "http://monitor.cup.cam.ac.uk/mantis/main_page.php";
> End tell


Simon,

You want to tell IE to 'activate' not 'open...'

Open usually always takes a direct object. Open what? IE is asking. In the
case of IE, "open" takes an alias list and opens _local_ files from your
drvie.

Just 'activate' and your script works fine.

HTH

--
Gary

MacOS 9.1 / "9 is Fine"
OMM: osa:AS 183 / osa:JS 103 / FM 55 / BB 612 / Smile 188
______________________________________________________________
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
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.

References: 
 >Open webpage (From: Simon Manning <email@hidden>)

  • Prev by Date: Re: Microsoft Word do Visual Basic
  • Next by Date: Re: TextEdit.app
  • Previous by thread: Re: Open webpage
  • Next by thread: Microsoft Word do Visual Basic
  • Index(es):
    • Date
    • Thread