Link to home
Start Free TrialLog in
Avatar of Anuba
Anuba

asked on

Call Apple Scripts in CodeWarrior IDE 3.2

I am developing an application in CW IDE 3.2.  I want to execute an Apple Script from this CW application which is written using the PowerPlant feature.  When I try to use the calls like OSACompile or any other OSA functions from within my application, it gives me a linker error not able to identify object code for the OSA functions.  What could be the problem??  I have included the OSA header.  Is there any other file I have to include before linking??
Avatar of boonstra
boonstra

Is this a PPC project or a 68K project?

Did you try including AppleScriptLib in your project?  (::Metrowerks CodeWarrior:MacOS Support:Universal:Libraries:StubLibraries: )?

Avatar of Anuba

ASKER

Its a PPC project.  And I resolved the OSA calls problem by including AppleScriptLib. Thank u! But Bob, I think I better develop the interface using AppleScript and FaceSpan, its much simpler and a RAD tool.  

Here I have managed to call the IPLab  Script from my Apple Script but what do I do about passing parameters from applescript to IPLab script.  
ASKER CERTIFIED SOLUTION
Avatar of boonstra
boonstra

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Anuba

ASKER

This last answer is not for which I have posted my rating but for all the help that Bob provided me with earlier.