11 lines
		
	
	
		
			712 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			712 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "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"
 | |
|         }
 | |
|     }
 | |
| } |