• 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: UI Scripting, Safari and text field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI Scripting, Safari and text field


  • Subject: Re: UI Scripting, Safari and text field
  • From: Gary Lists <email@hidden>
  • Date: Fri, 09 Jan 2004 03:58:00 -0500

Ronald Cross wrote [01-09-04 2:56 AM]:

> I would like to get in on the conversation. I have been trying to do
> the same thing for the last month and a half. I use a command that is
> similar to the one described below, but nothing is entered in the text
> field in the browser. I even tried forcing a text into the field by
> clicking at the text field by it {x,y} location. I get nothing.

Do you think that the browser's DOM might be a faster way to get and set
those elements? JavaScript sent from your AppleScript might be more native
than involving SE and and UI elements.


I don't use Safari, but I read:

"10/29/2003 02:19
As noted yesterday, the latest version of Safari includes the 'do
JavaScript' command in its AppleScript dictionary. By using the command,
users can create AppleScript scripts that interact with the Safari
JavaScript DOM (Document Object Model). Apple provides sample scripts along
with links to Safari Developer FAQ, Safari JavaScript DOM Part 1 and Safari
JavaScript DOM Part 2."

<http://www.stargeek.com/item/15286.html>
--
Gary
_______________________________________________
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: 
 >Re: UI Scripting, Safari and text field (From: Ronald Cross <email@hidden>)

  • Prev by Date: Re: UI Scripting, Safari and text field
  • Next by Date: Re: Can someone lend me a handler?
  • Previous by thread: Re: UI Scripting, Safari and text field
  • Next by thread: Re: UI Scripting, Safari and text field
  • Index(es):
    • Date
    • Thread