• 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: IE and scripted mouse clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IE and scripted mouse clicks


  • Subject: Re: IE and scripted mouse clicks
  • From: JJ <email@hidden>
  • Date: Thu, 07 Mar 2002 00:27:38 +0100

> I get no event from using Sdndi's Additions' *MouseClick* command with
> Internet Explorer (on links). I've tried pre-setting the cursor using Cursor
> OSAX's *MoveMouse* prior to using the command, along with the *Multitask*
> command, and anthing else I could think to do. What am I missing? (OS 8.6)
> --
> Tony Wilson <email@hidden>

Perhaps you can only click on app controls (buttons, pop-ups...).

Try this pseudo-click:

tell app "Internet Explorer"
set | x.com | to do script "document.links[0].href"
--> first link: "http://www.x.com/";
do script "window.location = '" & | x.com | & "'"
end tell

I.e. in "http://www.google.com/"; you're clicking in "images" cathegory. If
you wish make a search then:

tell application "Internet Explorer"
set the_query to "fish"
do script "document.forms[0].elements[0].value = '" & the_query & "'"
do script "document.forms[0].submit()"
end tell

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.

  • Prev by Date: Script slowing down - suggestions?
  • Next by Date: Good beginner's book
  • Previous by thread: IE and scripted mouse clicks
  • Next by thread: Re: applescript-users digest, Vol 3 #223 - 15 msgs
  • Index(es):
    • Date
    • Thread