• 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: Calling methods on other applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling methods on other applications?


  • Subject: Re: Calling methods on other applications?
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 3 Apr 2005 11:54:27 +0200

Mike,

On 3.4.2005, at 11:27, Mike Hall wrote:

----- Original Message -----
 From: Ken Tozier
To: Cocoa Dev Dev
Sent: Sunday, April 03, 2005 4:04 AM
Subject: Re: Calling methods on other applications?

You might be able to do this with an AppleScript
 
As I remember you definitely can do this with AppleScript

Can you? I fear not.

Lately, I needed just to get the current document name (or current window title, if there's no document) of the current application. I've played with AppleScript long enough; far as I can say, with a number of apps these things work excellent, with other ones they do not work at all.

If you need to control a concrete application, AppleScript is an excellent tool, presumed you've got lucky and the particular app is AppleScriptable. To controll all (or vast majority) of apps though cannot be done this way, since, well, a number of them are *not* AppleScriptable.
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Calling methods on other applications? (From: Benjamin Blonder <email@hidden>)
 >Re: Calling methods on other applications? (From: Finlay Dobbie <email@hidden>)
 >Re: Calling methods on other applications? (From: Conrad Carlen <email@hidden>)
 >Re: Calling methods on other applications? (From: Ken Tozier <email@hidden>)
 >Re: Calling methods on other applications? (From: "Mike Hall" <email@hidden>)

  • Prev by Date: Re: insertObject:in<Key>AtIndex: not being called.
  • Next by Date: Re: insertObject:in<Key>AtIndex: not being called.
  • Previous by thread: Re: Calling methods on other applications?
  • Next by thread: Re: Calling methods on other applications?
  • Index(es):
    • Date
    • Thread