FROM : Ondra Cada
DATE : Sun Apr 03 11:54:27 2005
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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
DATE : Sun Apr 03 11:54:27 2005
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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
| Related mails | Author | Date |
|---|---|---|
| Benjamin Blonder | Apr 3, 00:55 | |
| Finlay Dobbie | Apr 3, 01:19 | |
| Ondra Cada | Apr 3, 01:40 | |
| Finlay Dobbie | Apr 3, 01:49 | |
| Bill Cheeseman | Apr 3, 02:00 | |
| Olivier Lanctôt | Apr 3, 07:02 | |
| Conrad Carlen | Apr 3, 07:18 | |
| Ken Tozier | Apr 3, 11:04 | |
| Mike Hall | Apr 3, 11:27 | |
| Ondra Cada | Apr 3, 11:54 | |
| Ken Tozier | Apr 3, 12:45 |






Cocoa mail archive

