• 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: Auto type text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto type text


  • Subject: Re: Auto type text
  • From: JJ <email@hidden>
  • Date: Sat, 20 Apr 2002 22:38:35 +0200

> How to create a script that types a pre-defined text somewhere in a form in
> a browser-window with applescript?
> Thanks,
> grt

If you're planning use IE, you can use "do script" command:

set javascript_code to "
document.forms[0].elements[0].value = 'predefined text';
"
tell app IE
do script javascript_code
-- set value of first element (a textbox?)
-- of first form to "predefined text"
end

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: Re: Getting the path of a file.
  • Next by Date: URL Access Scripting launches Classic
  • Previous by thread: Auto type text
  • Next by thread: Getting the path of a file.
  • Index(es):
    • Date
    • Thread