Output plugin version in a label
-
This is how you get all the project info:
Console.print(trace(Engine.getProjectInfo()));
-
@Dan-Korneff I tried
Content.getComponent("VersionLabel").text = Engine.getVersion();
but it doesn't seem to work
-
@Morphoice Did gpt write that?
-
@d-healey yep
-
@d-healey another suggestions was
Content.getComponent("VersionLabel").setText(Engine.getVersion());
but don't work either
-
Here is a snippet. :-)
HiseSnippet 765.3ocsUssaSCDDc2ztkl.EQk3YjUepEUEkzj1FTEhPyEHhdIhTp3Mzl0SRVU6csrWWZDh+M9j3O.l01MIkF0KQB+PzNWNdOYNyLtanV.QQ5PBsvYiC.B8YrdiUlQMFwkJRmlD5yYGyiLPnSpqCGGvih.WBktzGrNn4Wlj7762cH2iqDvTWDx4Zo.NR5KMS81s9mjdds4tvYR+YxtZ8NBspg1SGi7YIVIR.WbAeHbB2lVNF4i7nQD5qYU.2cpUiua0JUD0dSMw9BdMPTt+9k1gOvsRMvsua0cqxIzUZ4JM5vdFtAhvW5gZ2w8Fo+tJ8BNWFI66AVixjd3Mm5lzXjzys60EmHBgtb2okpkRKUujcrzUNw+zR1KRB3LEwrEMZt6hRkeDThNCkVNkRqy5IBkAloQr74orNJTAGvQsYVpjlKI2qnrFZLCkonO+BncHZLAwl6Upz1N3OacPgBn9DYbtjG5bDuO3U14sNWibHXZn8CzJzXyMRCugES5whQ.51.WY1XamVpgREXgbNDFI0pM2ZqCFDqDF7riVch1.mhNK7iB4K7yBN+anAClaLKUB0ddP3bCa61BuKfaph86Cgai+A8hgIIhU2aJYq7vjLQZkYlD0pNJo4z.Hyts1y0JE1y2VfIYkV7zW5zja3VMOyGlW.DZjV5PaBWhSYoc.4YMgnKL5fjbyzCBkYRhtVV+QhlPj3UuJKUeHWMYPrdP8wSL9U+5VQiPeBqbwREwFwa20g86Z2XOt4lCA10CYAvx7M57rcWpHoY7rqOdDSFktyIiGJEWm0UZDilOGyMGNhBv+CNlsOYMVqAC.gYJAWl09qK5xi645+rN1HUCOlaBknzyNI1uGt2U.3sqTfG9xYzb1lvT6RVaaEnGnbSL9C9jErr0llEr70AI9bQn9ahzgK6FqUS7fbRkrQOO9oEz1oLIYfa15rOt.8aBwMeU2B3NKJvJKJvpKJvcWTf6sn.2eQAV69AZ+916iMZ+zwFB43tsR1PQosTbrCLoak7Wv972DF
-
@Oli-Ullmann thank you kindly!
-
@Morphoice Chat gpt won't help you write HISE script unless you know what the correct result looks like.
-
@Morphoice agree with @d.healey here, gpt will most likely send you down the wrong path. You have your own gpt in the forum, just takes a bit longer for the results to come back...
-
@DanH totally agree, I just don't want to bother all the pro's with super simple stupid questions I can't figure out on my own... lol