I guess. Can’t be bothered to recompile ATM, but the 1.2.5 version works in Haiku.
And the problem definitely seems to be a deficiency in hey. I tried two similar command lines, the first --using ‘create’ – supposedly correct, and the second --with ‘set’ – not actually permitted by the suite:
/boot/home/Desktop>hey Tracker create Folder to boot/home/TEMP/ABCD"
Send BMessage(B_CREATE_PROPERTY):
"specifiers" (B_MESSAGE_TYPE) : what=B_DIRECT_SPECIFIER
"property" (B_STRING_TYPE) : "Folder"
"_cur_specifier_" (B_INT32_TYPE) : 0 (0x00000000)
Reply BMessage(B_REPLY):
/boot/home/Desktop>hey Tracker set Folder to "/boot/home/TEMP/ABCD"
Send BMessage(B_SET_PROPERTY):
"specifiers" (B_MESSAGE_TYPE) : what=B_DIRECT_SPECIFIER
"property" (B_STRING_TYPE) : "Folder"
"_cur_specifier_" (B_INT32_TYPE) : 0 (0x00000000)
"data" (B_STRING_TYPE) : "/boot/home/TEMP/ABCD"
Didn't understand the specifier(s) (error 0x80002008)
With ‘set’, the data value is included, but ‘create’ just ignores it.
Playing further with ScriptWorld, too, I find that it has no way of providing a data value for any specifier type. So not much use for anything practical right now.
One general obstacle with hey, I think, is that Scripting Messages and the Command Line are a bit like strawberries and ketchup… They don’t go well together! I’d think it would be more useful to have some kind of structured text format for input – XML or JSON, say. (For response output, too, maybe.)
One possible route would be to do as I did with gadgeteer (for command-line presentation of GUI panels) and just put JSON in the command line. It works well, but seems to frighten people. Alternatively just have input from a file/standard input.
Seems to me that Scripting needs a lot of attention if it’s to see much general use. Not sure if I’m motivated to think about it yet. As Donn said earlier: “My impression is, someone thought it would be great to have scripting for free, via OOP inheritance, and we got something not terribly useful.”