I\'m writing a Cocoa application and I\'d like to generate a Numbers spreadsheet from my application using Scripting Bridge. I\'ve generated the Numbers.h file and linked the ScriptingBridge.framework
The motivation for my question is the following doc, which describes how mail.app could be integrated using ScriptingBridge:
So, the application I\'m trying to script has a scripting definition file that includes a <contents> element, which is an \"implicitly specified container.\"
I can open a Terminal tab using the following AppleScript: tell application \"Terminal\" set myTab to do script \"exec sleep 1\"
Problem... Since MacPerl is no longer supported on 64bit perl, I am trying alter开发者_StackOverflow中文版native frameworks to control Terminal.app.
I have made a very simple AppleScript to close tabs in Safari. The problem is, it works, but not completely. Only a co开发者_Python百科uple of tabs are closed. Here\'s the code:
I\'m wondering if it is possible to use Scripting Bridge (as discussed here) in C. What I\'m trying to do is control and/or ge开发者_JS百科t information from Apple applications (such as iTunes, see li