Re: [F-Script-talk] need to develop a plugin for Terminal.app
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2008-06-06 17:26:09
|
Hello Jon, You can inject F-Script into Terminal.app, or any Cocoa application, using F-Script Anywhere. You'll find it included in the F-Script binary distribution. Upon injection, F-Script Anywhere adds an "FSA" menu item in the application's menu. From there, you can access the F-Script environment and explore the app from the inside. Philippe Le 6 juin 08 à 09:04, Jon Hancock a écrit : > Hello list, > I am looking for a way to develop a "plugin" extension to Terminal.app > on Leopard. > > My first task is to analyze Terminal.app and see if it exposes the > necessary objects for my desired plugin. > Then I want to see if I can prototype the plugin with F-Script. If > the behavior can be packaged right, I'm fine with using it for going > beyond prototyping; we'll see. > > I'm new to F-Script. Fairly new to OS X dev. But I am an old > Smalltalk programmer so my questions will be mostly about how to > integrate with an existing app, not F-Script language issues. > > My first set of questions: > > 1 - Can F-Script be forced into an existing app such as Terminal.app? > I see tutorial on how to embed F-Script into an app. But can I force > it to integrate into an app I don't "own". > > 2 - Does anyone have any experience with Terminal.app? I see I can > inspect the Terminal UI objects with the F-Script Object Browser via > "Select View". This exposes tons of UI stuff. Any pointers on where > to find interesting terminal/TTY objects? My plugin is pretty low > level and will depend on being able to monitor and maybe control or > replace the TTY stream. > > thanks, Jon |