Saving Text



  • is there a way to save a text entered into a label to computer?

    @d-healey



  • dumpAsJSON() perhaps



  • @Christoph-Hart
    @d-healey
    @orange
    Can you Check this snippet for me, I got it to save the label, but I'm struggling to read it from disk

    HiseSnippet 1416.3ocsX0rTabDDdVAKkkrkSbU9hyoszIgCHjv1jTljJxHfX4X.EKGW4TrG1cDZL6Nylcm0fBEU4bHOC4Vp73ji4MHuB4MvomY+aVgPVxNrvAld5tmu9q6d9gdAbaRXHO.YT94i7IHiaX1eDSLryPLkg5tMx3ll6gCEj.qXQaMxGGFRbPFFK7sRAFkWDo992uYKrKlYSxEgPufSsIOk5QE4R6096ntt6hcHOm5oo88a20ly5vc4Q.dVvrIxGaeL9Hx9XoZkLQFKsiCUvC5KvBRHxXws3Ni5OjeBKV+WPCoG5RjCZg5CNJV7tbWGIhkRQcFRcc5kF2gHvK8xYgEhYgaatG0glIOmM9T0DV4VnyGFklF7ZoCulyN7Lzf2hwv6Vl8sCn9h7YjX65lcYPhZ.FRA5vJVWToRKY1gCZvDM7vGS1M.FjYQ8MZ1bEqGzr4xaVsR7OPxHTX8FbfkLAzk4GIr9ZqTWbDQzg64yYvf50xznlz9bK6GcHj62JRH3rK0XckFydoe2QhQhyTW6DcpkhdqjupUnLWJiXMHhYKn.H3L8kS5w.tac6T2sBrrtQjkqV4rXu3xswtVRvmEix0+ERspKWNoRfaB4tjF9AT.QrXTjhgXO3fE3VfWxDK+NqvH4mJZp8PKVgYNeypEFWsRY8g6vNBhwFNQd9OJ7I8OX+5pUaEqZMZrVLrGva75PE8btBbyRlnQnbREA0A65dHzMVehzWdMyj3as7yzo6xIbsjlRBIWN1AJT8TA0jhlKx90FA6eXw.8rngOzpl0mCdLUUMrHit50DjSE0VIQioQMEpxlLybw.UmXV6t.DFmcrGRrO9.1Sgvr9xJDdVdlds0r53Rft.wPHVjUdYSkWKpGE0xnj3hDvAROqrOjDPAxc.PlwigMpflpATWxXUp9amTpNa4fLqGKMzQFZT1QJrlpWlxzA0iWmkKHtXCgV8PrxMj9ZyB5L1p9LRRfI0LO6WvjoUDjo345DYZ1.x0.4QCgpZf.wAhHe0bERiaVAr8tqo2AvEjCXPB9rJkqbdkwmYvfIMURIjKIXRyJO5LXJlUmE4cHIHs+JQO3DjhGQYd4GQoeBpcbKglhbVWFUbfOgcYGbgR5ifivLS.EnpPc.V0jCvdJ9PhKh5HO7JqjFofr5.ez3FdyDCi29QYIHRaGoTiyuBB58u3UM0JIR7vrX20LU+cqzEcCyuZ0UWMtBA98jgf+r5ZcBlIT8bjjSxj0aVBtE12GZumiUZ8zU5VlJzpJksdL3TD5G5JaQjWXHg3gjgOIPPk4YisIuAtIV70GJatMI7XA2GtPU1NbvZTbw6gYYKt5uagNMmWWu8n7A0ZeB0QLDRzFOnDBMjPOZnPN5eLPHpf3kdotxKcm6732IMIW555hQZ345yRshFj9dMH81WmBoTAAsSgUpjm2d.PT8o+hV4R61xbip1aLD9yO4yTZHmOOb9ie8SFKbjR+8e61WHZLm0B37H5OOUKhdkWaZ3dbOvY3.PrQIcueiYqzN22uUmsdk3CisVOls9+fpHv1RX0NOFKnGXkeu8d4wzeehdEPTRp7CroLqh9uP5Uz2CFcQhnY6OT7utF9a+SZ32ZPB9uXq9GCzt3iIfmzvchbwhhuyQ93tjIfCVJ7fB4iFXgTwH8G+ck73mYEt2xrGUXObx3szDvKrM4UMdSdJYUycFLfXKxA6hl69iW8uaD8Ldj.t90dXQ.EpwL2OxqOzzYS.jvfsykm9CahHMUMtobrjY5SXNpAuC9RlrkbrQxjsRmD4gsC3uzN93K4iUulRBfIl5M6kM2SN1J6DRIt8fWP+RaaIQrJf7Iaw5ysE2ats39ysEOXtsXi41huXts3KmhEx+cEOJRv8haK.A81QcOACicXxcETUfn+CfFvlcE
    


  • @Jay You need to disable saveInPreset for your SubmitButton otherwise the file will be overwritten every time you press compile or open the plugin.

    When you load it back in you need to specify the key for the data. Console.print("your name is: " + n1["Name"]);


 

3
Online

400
Users

1.3k
Topics

9.4k
Posts