Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to using F-Script play with cocoa command line app written in Objective-C ? #23

Open
sunuslee opened this issue Mar 30, 2016 · 1 comment

Comments

@sunuslee
Copy link

hi,
i can using F-Script with OS X GUI Apps , it's fun.
but , how can i using F-Script with command line app written in Objective-C ?
i can use lldb attch that app and successfully load by

p (char)[[NSBundle bundleWithPath:@"/Library/Frameworks/FScript.framework"] load]

but, the command line app does Not have an menu , so i can not

p (void)[FScriptMenuItem insertInMainMenu]

how can i fire up the F-Script Console ? Thanks!

@Kentzo
Copy link
Owner

Kentzo commented Mar 30, 2016

@sunuslee See http://www.fscript.org/documentation/EmbeddingFScriptIntoCocoa/index.htm, the The FSInterpreterView graphical component section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants