Hey Shane,
It's working with following as suggested by you.
ComponentInstance compInstance = [[OSALanguageInstance
languageInstanceWithLanguage:[OSALanguage languageForName:@"AppleScript"]]
componentInstance]
Thanks alot for helping.
On 28 February 2017 at 05:25, Shane Stanley
wrote:
> On 28
On 28 Feb 2017, at 5:43 am, sumit bansal wrote:
>
> API: OpenDefaultComponent, whenever we call this API, we always get a new
> instance to that component.
>
> *As per definition: *OpenDefaultComponent* Opens a connection to a
> registered component of the component type and subtype specified by
API: OpenDefaultComponent, whenever we call this API, we always get a new
instance to that component.
*As per definition: *OpenDefaultComponent* Opens a connection to a
registered component of the component type and subtype specified by your
application. *
But with the following API, we always g
On 26 Feb 2017, at 1:35 pm, dangerwillrobinsondan...@gmail.com wrote:
>
> Yeah but even with OSAKit, to implement a language you need to link to Carbon
> and use deprecated Carbon calls.
I think you'll find that most (if not all) the calls you need to use are no
longer marked as deprecated.
-
Yeah but even with OSAKit, to implement a language you need to link to Carbon
and use deprecated Carbon calls.
Sent from my iPhone
> On Feb 26, 2017, at 7:18, じょいすじょん wrote:
>
> Are you implementing scriptability for a Cocoa application? If so, you
> probably don't need all of this.
>
> Or
If you are linking against OSAKit, then something like the following (from
) may be a starting point:
ComponentInstance compInstance = [[OSALanguage defaultLanguage]
componentInstance];
-Ken
> On Feb 25, 2017, at 1:02 PM, sumit bansal
> wrote:
>
> I am using it to implement scripting in my
I am using it to implement scripting in my project.
I have used the API in following way:
*ComponentInstance & compInstance =
OpenDefalutConmponent(kOSAComponentType,
kOSAGenericScriptingComponentSubtype);*
*OSASetSendProc( compInstance, someParam1, someParam2); //function in
Carbon/Frameworks/O
> On Feb 24, 2017, at 9:11 AM, sumit bansal
> wrote:
>
> Can anyone please help me to find out the replacement of
> Function => Component Manager::OpenDefaultComponent.
That’s very generic; the Component Manager is/was just an ancient DLL-loading
mechanism. IIRC it was mostly used by QuickTi
Hello All,
Can anyone please help me to find out the replacement of
Function => Component Manager::OpenDefaultComponent.
I am removing deprecated APIs from my official project. As upper mentioned
APIs has been deprecated in 10.8 version, so I have to replace the same.
Big Thanks in Advance.
_