Feed on
Posts
Comments

Archive for November, 2007

I'm playing with the F-Script object browser to explore the scripting capabilities of various applications on my system. Starting with the SBApplication class, I can connect to an application, visualize its scripting interface as regular methods and manipulate it interactively just like a regular object. This is using the Scripting Bridge, the Cocoa/AppleScript bridge provided [...]

Read Full Post »

I have just released a new alpha of F-Script 2.0. Included is support for the Scripting Bridge. It is available for download at FScriptSources-2_0_alpha.zip.
The Scripting Bridge, introduced in Leopard, is a Cocoa/AppleScript bridge: it allows manipulating scriptable applications as if they were Cocoa objects, automatically taking care of the communication details (e.g. creating and sending [...]

Read Full Post »

Leopard comes with a brand new version of Interface Builder. The classic palette system is gone, replaced by a new plugin model that renders the old F-Script palette unusable.
In order to fix that, I have implemented a plugin for Interface Builder 3. It contains two elements that you can drag-and-drop from the Library window [...]

Read Full Post »

In F-Script 2.0, the object browser allows navigating Objective-C 2 properties. Adding this feature was pretty easy, using the class_copyPropertyList() and property_getName() functions provided by the Objective-C runtime. The hardest part was to choose the color of the properties sections in the browser. Magenta looks fine…

No new syntax is needed to access properties using F-Script, [...]

Read Full Post »

NSView Exploration

Visual elements in a Cocoa application are NSView objects (and have been since the early days of NEXTSTEP in the 80s). F-Script 2.0 makes it easier to select and explore them with the object browser.

The Select View tool, which let you select an NSView by just clicking on it on screen, now provides visual feedback. [...]

Read Full Post »

Garbage Collection

New in F-Script 2.0 is a fast, concurrent, generational garbage collector. It was a lot of work to implement. Fortunately, Apple did all of it, as F-Script 2.0 uses the new Cocoa garbage collector. As with Objective-C, when you run F-Script in GC mode you no longer have to manage retain counts and to care [...]

Read Full Post »

Gentlemen, we have rebuilt it

F-Script 2.0 is under development. An early alpha version is available for download: FScriptSources-2_0_alpha.zip.
Leopard only.
I’ll discuss some of the new features.

Read Full Post »