F-Script icon indicating copy to clipboard operation
F-Script copied to clipboard

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

Open sunuslee opened this issue 8 years ago • 1 comments

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!

sunuslee avatar Mar 30 '16 12:03 sunuslee

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

Kentzo avatar Mar 30 '16 14:03 Kentzo