[Webinar] Streamline your web hosting managementRegister Today


Call Apple Scripts in CodeWarrior IDE 3.2

Posted on 1999-11-11
Medium Priority
Last Modified: 2013-11-17
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??
Question by:Anuba
  • 2
  • 2

Expert Comment

ID: 2201520
Is this a PPC project or a 68K project?

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


Author Comment

ID: 2201555
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.  

Accepted Solution

boonstra earned 0 total points
ID: 2201603
Afraid someone else will have to help you with IPLab.  I don't know anything about the application.

You can investigate the IPLab scripting vocabulary by opening the application as a dictionary from the ScriptEditor (:Apple Extras:AppleScript:).  

Author Comment

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


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

640 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question