Hello Leif, On Saturday, October 26, 2002, at 03:06 AM, leif halvard silli wrote:
Style supports all scripting languages based on Apple's Open Scripting Architecture, like Frontier. (Btw, doesn't also (Mac)Perl belong to those languages, all so?)No, unfortunately, MacPerl has no OSA capability. There were actually some attempts to make such an extension, but that never worked...
Style is scriptable, recordable and attachable; it has an easily customizable Script menu and supports Frontier's menu sharing > protocol.Well, any scriptable application can be scripted with Frontier... (or Radio, I think).
For instance, just now I opened AppleScript's ScriptEditor and turned on recording and recorded this script, within two secounds (and when I saved it I could activate it from a menu withing Style):
tell application "Style"
activate
select contents of document 1
set size of selection to "72 pt"
set font of selection to "AvantGarde Bk BT"
end tell
I.e. and external language that control another editor to a greater extent that the macrolanguage of NW. (Allthough in NW we can say that the way its three macro languages works together creates a fourth meta language...)
But I cannot imagine that NWX would not support AppleScript? But will it support it to the same deep extent as Style does? If it dit, that is: if it supports Apple's open scripting architecture, even Frontier would be supported!
Anyhow, if I can record and NWX action with the same ease as I can do it with Style, then I will not care whether the scripting language is external or internal. IN fact I would prefer that it was external, so that the things I learn can be used in other programs as well.Yes, if NW X could be made recordable in AppleScript, that would be very handy. But of course, there are things that cannot be recorded by AppleScript, so you should still learn the language to be able to use all the features of scriptability.
By the way, according to what I learned, it seems that the programming of AppleScript implementation belongs to Carbon, not to Cocoa. Since NW X is written mainly in Cocoa, Nisus programming team should do another effort to implement AppleScript scriptability into NW -- and I think this is not easy at all. We should encourage Nisus people to do it...!
Best regards,
Nobumi Iyanaga
Tokyo,
Japan
---------------------------------------------------
The Nisus Interactive List
[EMAIL PROTECTED]
Searchable archives:
http://www.mail-archive.com/nisus-interactive%40nisus.com/
To unsubscribe from this list please send a message with "unsubscribe
nisus-interactive" in the body of the email to [EMAIL PROTECTED]
