Re: Send events to AppleScript

2009-03-21 Thread Тимофей Даньшин
As far as TextEdit is concerned, i thought of taking its source and modifying it to my needs, and actually create a single application, not a tandem of two or more. I am even beginning to think of taking the OppenOffice as the host for my additional functionality, but OO doesn't look at all

Re: Send events to AppleScript

2009-03-21 Thread has
On Mar 21, 2009, at 12:09 PM, Тимофей Даньшин wrote: Well, I'm writing a "translation memory" application, which is a program that grabs sentence by sentence from a given text (that needs translating), asks the user to translate that sentence and stores the translation and the original in a

Re: Send events to AppleScript

2009-03-21 Thread Тимофей Даньшин
On Mar 21, 2009, at 5:38 AM, has wrote: On Mar 21, 2009, at 1:06 AM, Тимофей Даньшин wrote: On Mar 21, 2009, at 3:34 AM, has wrote: Is it at all possible to have an application send actions to a particular AppleScript script, Yes. See NSAppleScript/OSAKit/Carbon OSA APIs. There's a sampl

Re: Send events to AppleScript

2009-03-20 Thread has
On Mar 21, 2009, at 1:06 AM, Тимофей Даньшин wrote: On Mar 21, 2009, at 3:34 AM, has wrote: Is it at all possible to have an application send actions to a particular AppleScript script, Yes. See NSAppleScript/OSAKit/Carbon OSA APIs. There's a sample project in the objc-appscript repositor

Re: Send events to AppleScript

2009-03-20 Thread has
Re: Send events to AppleScript Is it at all possible to have an application send actions to a particular AppleScript script, Yes. See NSAppleScript/OSAKit/Carbon OSA APIs. There's a sample project in the objc-appscript repository, CallAppleScriptHandler, that provides a s

Send events to AppleScript

2009-03-20 Thread Тимофей Даньшин
Hello. Is it at all possible to have an application send actions to a particular AppleScript script, or set that script as a delegate of that application or to have an AppleScript as a means of communication between two applications (one of which is mine, and the other isn't)? Thank you in