I edited my script so that it use set theFiles to choose file of type {“public.xml”} with multiple selections allowed
The result is something like :
set plandates to {{"datas for /Users/yvankoenig/Desktop/mediainfo copie.xml
"}, {Format:"MXF", Duration:"5s 5ms", Encoded_date:"2019-04-03 15:32:46.000", Format_settings:"Closed / Complete", Writing_application:"Adobe Systems Incorporated Adobe Media Encoder 1.0.0.0.1", Overall_bit_rate:"52.0 Mbps", Commercial_name:"XDCAM HD422", Complete_name:"/Users/jquimby/Desktop/test.mxf", Writing_library:"Adobe Systems Incorporated Adobe Media Encoder 1.0.0.0.1", Format_profile:"OP-1a", File_size:"31.0 MiB"}, {Color_space:"YUV", |standard|:"Component", Scan_order:"Top Field First", Scan_type:"Interlaced", Bits__Pixel_Frame_:"0.805", Color_primaries:"BT.709", Frame_rate:"29.970 fps", Chroma_subsampling:"4:2:2", Commercial_name:"XDCAM HD422", Format:"MPEG Video", Format_profile:"4:2:2@High", Format_Settings_Wrapping:"Frame", Height:"1 080 pixels", Duration:"5s 5ms", Bit_depth:"8 bits", Format_settings__GOP:"M=3, N=15", Format_version:"Version 2", Transfer_characteristics:"BT.709", |id|:"512", Stream_size:"29.8 MiB (96%)", Format_settings__BVOP:"Yes", Width:"1 920 pixels", Bit_rate:"50.0 Mbps", Format_settings__Matrix:"Custom", Delay_SDTI:"0", Compression_mode:"Lossy"}, {Bit_rate:"1 152 Kbps", Duration:"5s 5ms", Stream_size:"704 KiB (2%)", Delay_SDTI:"0", Format:"PCM", Format_settings__Endianness:"Little", Bit_depth:"24 bits", Channel_s_:"1 channel", Bit_rate_mode:"Constant", |id|:"768", Format_Settings_Wrapping:"Frame (AES)"}, {Bit_rate:"1 152 Kbps", Duration:"5s 5ms", Stream_size:"704 KiB (2%)", Delay_SDTI:"0", Format:"PCM", Format_settings__Endianness:"Little", Bit_depth:"24 bits", Channel_s_:"1 channel", Bit_rate_mode:"Constant", |id|:"1024", Format_Settings_Wrapping:"Frame (AES)"}, {Format:"EIA-608", Duration:"5s 5ms", Delay_SDTI:"0", Stream_size:"0.00 Byte (0%)", Bit_rate_mode:"Constant", |id|:"1280-CC1", Muxing_mode:"Ancillary data / CDP"}, {"
"}, {"datas for /Users/yvankoenig/Desktop/mediainfo.xml
"}, {Format:"MXF", Duration:"5s 5ms", Encoded_date:"2019-04-03 15:32:46.000", Format_settings:"Closed / Complete", Writing_application:"Adobe Systems Incorporated Adobe Media Encoder 1.0.0.0.1", Overall_bit_rate:"52.0 Mbps", Commercial_name:"XDCAM HD422", Complete_name:"/Users/jquimby/Desktop/test.mxf", Writing_library:"Adobe Systems Incorporated Adobe Media Encoder 1.0.0.0.1", Format_profile:"OP-1a", File_size:"31.0 MiB"}, {Color_space:"YUV", |standard|:"Component", Scan_order:"Top Field First", Scan_type:"Interlaced", Bits__Pixel_Frame_:"0.805", Color_primaries:"BT.709", Frame_rate:"29.970 fps", Chroma_subsampling:"4:2:2", Commercial_name:"XDCAM HD422", Format:"MPEG Video", Format_profile:"4:2:2@High", Format_Settings_Wrapping:"Frame", Height:"1 080 pixels", Duration:"5s 5ms", Bit_depth:"8 bits", Format_settings__GOP:"M=3, N=15", Format_version:"Version 2", Transfer_characteristics:"BT.709", |id|:"512", Stream_size:"29.8 MiB (96%)", Format_settings__BVOP:"Yes", Width:"1 920 pixels", Bit_rate:"50.0 Mbps", Format_settings__Matrix:"Custom", Delay_SDTI:"0", Compression_mode:"Lossy"}, {Bit_rate:"1 152 Kbps", Duration:"5s 5ms", Stream_size:"704 KiB (2%)", Delay_SDTI:"0", Format:"PCM", Format_settings__Endianness:"Little", Bit_depth:"24 bits", Channel_s_:"1 channel", Bit_rate_mode:"Constant", |id|:"768", Format_Settings_Wrapping:"Frame (AES)"}, {Bit_rate:"1 152 Kbps", Duration:"5s 5ms", Stream_size:"704 KiB (2%)", Delay_SDTI:"0", Format:"PCM", Format_settings__Endianness:"Little", Bit_depth:"24 bits", Channel_s_:"1 channel", Bit_rate_mode:"Constant", |id|:"1024", Format_Settings_Wrapping:"Frame (AES)"}, {Format:"EIA-608", Duration:"5s 5ms", Delay_SDTI:"0", Stream_size:"0.00 Byte (0%)", Bit_rate_mode:"Constant", |id|:"1280-CC1", Muxing_mode:"Ancillary data / CDP"}, {"
"}}
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) mardi 30 avril 2019 20:00:55