this is the script and the question is in image embedded.
async function retrieveJSON() {
let menuItems = [];
// Your template UUID for styling
let templateUUID = "BFBD1B46-0E72-49CF-B4DB-C2CB017E82B2";
let musicApps = [
{
templateItemUUID: templateUUID,
action: 'js::(async () => {runShellScript({script: "open -a Music"})})()',
icon: 'path::/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/icons/apple-music.png::width@@100::height@@100'
},
{
templateItemUUID: templateUUID,
action: 'js::(async () => {runShellScript({script: "open -a Spotify"})})()',
icon: 'path::/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/icons/spotify.png::width@@100::height@@100'
},
{
templateItemUUID: templateUUID,
action: 'js::(async () => {runShellScript({script: "open \\"https://soundcloud.com/recipesofromiyo\\" "})})()',
icon: 'path::/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/icons/soundcloud.png::width@@100::height@@100'
}
];
let templates = [
{
templateItemUUID: templateUUID,
action: 'js::(async () => {runShellScript({script: "open \\"/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/Main_template.flp\\" "})})()',
icon: 'path::/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/icons/Main_template.png::width@@100::height@@100'
},
{
templateItemUUID: templateUUID,
action: 'js::(async () => {runShellScript({script: "open \\"/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/Empty.flp\\" "})})()',
icon: 'path::/Users/mayankkaushik/Documents/Image-Line/FL Studio/Projects/Templates/my templates/icons/Empty.png::width@@100::height@@100'
}
];
menuItems = [...musicApps, ...templates];
return JSON.stringify(menuItems);
}