Script Panel Text



  • How can I get the text inside of the script panel to display the currently selected items text instead of the value?

    HiseSnippet 1030.3ocsV0saiSDEdbZMpIPPrRf3VqbUpnDkzscAUDhrMoEEwl1nMKUfPvpI1mDOpimwXOtsQqVo9Hf3IZeT3Qf2.3LdricRS6tJR04lbly4alO+c9Y7nHoKDGKiHVUe07PfX8I1imKT987oLAYPeh0WZO1MhEpbFQE.2YLvAWEB334gz3XviXYs0OpC1p51jzm+8GNlxoBWnXIB4BIyEdAKfoJVcT2ehw4mR8fWwBJE8AcG3JE8jbYBRrsraSBotWRmAmQ0gUwlX8Qm3wPVLVQUPLwZ6ikdyG6KuVXh+BVLaBGzFcHiwMxr7oRtmlw5UI87YbuQ4BPLA2kQExwVF43ysGx7XKVuPV9rTGNEHJqGVUdH50oL8Z+gSOqRzaaC8dRVxovilaer8.gBhlRwTPYZYhkT4uqX2ShQHTsBnWBmFgFKPz7Ysaumygsau62UuFlFhUNWQibdAcBv6378N4HmApdxfPo.MZ1v3tgFi9GSvYBvYZhvUwjBGoHs5oiFbjj2zMG4d3lySfcqW6M0qUEcGK4PqvHldSM0Zfmy.ED3Ln+QNMb9pL.3AU0bnshALVEbipwdNuOLN3S8ZuMklq+MwPzF6p21L51ix4SvJvlq7Zj+1VnRF22qJku2o3LF5iYnLIFVbH4hVS3JDTlxn7Yw5PuP+hX7zJBhS3pTkH0sqOULC7ZV58Lmg4+JkPNSpfyEM2s1apUs1aq4rpqoSWqurWcNDsV25F4nGBXSQRvDHJOumGHVQubKi882xTti10nykBTJFHXpyCAw80HQxRN5VpLVggpRanpm2PoSNDF11risIQQRILRLKK8LpedPephluE3tgmPHDoXZxa0GtBG2Y5QqZ2GhuTICwIWKpEvlz26AdyhIhu626Negws+V2qYdJ+EK7Ogc8A1L+hIq2NnKVMIuNulBozmZZ4uQ4LDDIjPYXRn9e51Dz8eZONYh1tyQGoWpSsks2eE6mth8AqXeXt89qreY16aXv4hWpIdONy8xrI84D64b1rrTXL8JXfXDVuCp7jZgP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pDEKIr6LpXJ3UW6I8blwvr+Et3NUpfyD0aT4cUJW48UbVMzjIqMV5QmCgqMrtgO79.VWD6OFBypOxRDq7Wt0x9tasJ146Zz4BIJE8EL0YAf3tZ3HoWN5VuTVgopRZ7pl03oubHLr8ZGayEEIgvEmFR9k98nJZ1xfqHtKAPnhoO.V8fKwQil94x18fnKTx.bJ2h5Arg9+cSudwF9g2zY9BiadUmqXdpYKb72AclAroyxmBeS+NXEk7pr5JjRetY7v0JGcaBY4FFh0eXOJdr1t8gGpc0txx16sh8iWwd+UrOHyduUVuT68LL3LwKzDuKm4dQ5qBYD6Yb1zzqwH5kPewPrlGTYWr4B4NKKjICPRERyvjBB4M+dAgryushP9m2RH+vvNZMiX8012dHzJJDAvhX5hm.H2dxN99hzKlSUK+ni9k1z.X6xRS20SvEQL07h0dOHuD8wR2GYOjobmsd9VZM7EaQdn4a565UsOdxD7NJmraaexu9v+HN4ExXESLc.UExvZM6Si8GgeliKfLQfsx5QZVkzCeL1sz1ZkYDH7RL9W7WZv1ZaqzfsyBR7otgx25ZFYo+xgcR7fbRj7ATksGnscVLqx1tUyVDe7CZdqqqVJ9Vj6qGyda.lGuAX1eCvbvFf4Ia.luaCv782KF82R9rXkz2zlfNFdbxaFVVGKzyIRpHI+Gjlw2XK
    


  • @d-healey Thank you!. So from this, is it possible to only get the selected item without the "SubMenu1"? How can I filter that out so only the selected item is displayed "Item1" ?



  • @D-Williams23 substring



  • @d-healey Ok cool. I've never used substring before so how would I implement it in this situation?



  • HiseSnippet 1071.3ocsV0saaaCElxIZH1adXEX.C6NAekLVlgcZR2PJFlarSFLVchQcWvFZ6JnkN1hHzjZRTIwnn.4QXOR8AXOD6QXuAaGJJYK63jUXfHc04OxO9wyObPjzChikQDqxubVHPr9L6gyDpfNATlfzqKw5qrG5EwBUNCnBf6LD3fmBC3nYgz3XvmXYs0Ooc1p71jzu+4GOhxoBOXgJB4bIyCdNaJSsP6f1+LiyOg5CujMsf262tmmTzQxkIHv1xtIIj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jH8gTks6qkcl2gx1tYiljo3CadqmmlJ9VD6qOl81fXd7FDy9aPLGrAw7jMHluaCh46u2Xzuo7YIJ4TSYBpXvwoSJrrNVn6SjlQR9OfEOmSy
    

    Adapt as necessary.



  • @d-healey Perfect. I was close. I was thinking something had to go before the ".substring" Thank you sir!


Log in to reply
 

17
Online

736
Users

2.9k
Topics

24.7k
Posts