added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CLICK/RECIPE.LAYER_BUTTON.json
Normal file
11
LSL2/OIEVENT/CLICK/RECIPE.LAYER_BUTTON.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function dialog_box, set_property, msg, fieldcount\r\n$insert msg_equates\r\n$insert quote_spec_equ\r\n\r\nLayerInfo = .layer_info->text\r\nReturnVal = dialog_box( 'RECIPE2', @window, LayerInfo:char(244):.recipe_name->text )\r\nif ReturnVal <> 'CANCEL' and ReturnVal <> LayerInfo then\r\n .layer_info->text = ReturnVal\r\n Tlay = trim( .layer_button->text )\r\n convert '0123456789' to '' in Tlay\r\n Tlay := ' ':fieldcount( ReturnVal, char(248) )\r\n .layer_button->text = Tlay\r\n @@window->savewarn = 1\r\nend\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user