• 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
set text on another application's window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set text on another application's window


  • Subject: set text on another application's window
  • From: Naomaru Itoi <email@hidden>
  • Date: Thu, 19 Dec 2002 12:43:33 -0800

Hello, Cocoa developers,

I am wondering how I can set a text on a Window that is owned by another
application.
For example, I would like to write a program which fill text fields of a
browser.
Would it be possible on MacOS X?

On Windows, I can do something like:

handle = FindWindow(NULL, "Browser");
SendMessage(h, WM_SETTEXT, "this is the text");

I wasn't able to find something like this in MacOS X. Any advices, please?

Thank you.

--
Concentration ... Naomaru Itoi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Why is this code leaking memory?
  • Next by Date: Re: "First Run" installation of Application support stuff?
  • Previous by thread: Antw.: Why is this code leaking memory?
  • Next by thread: ANN: PyObjC 0.8 released
  • Index(es):
    • Date
    • Thread