how this apple script work . what is the use of it

MacBook Air 13″, macOS 14.3

Posted on Mar 3, 2024 1:23 PM

Reply
1 reply
Sort By: 

Mar 3, 2024 1:34 PM in response to abhijayshah74

It is not an AppleScript, it is C++ code and Apple's Script Editor is only used for real AppleScript, AppleScript/Objective-C, and JavaScript for Automation source code.


That C++ code when compiled with an Apple clang++ compiler simply outputs "Hello World" to the Terminal from where it was compiled and run.


You will need a proper text editor (e.g. free BBEdit) and Apple's command line developer tools in order to edit and compile this C++ source code.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how this apple script work . what is the use of it

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.