Ingresar:     


Forum: General Discussion

Tópico: Setting 'Genre' field using scripting? Backticks not working
I'm trying to prefix the Genre field on my tracks with a specific value (in this example the word: PREFIX) using a keyboard shortcut.

I want to select a track or multiple tracks, hit the shortcut and then it prepends a value to the Genre field. e.g. Rock, Female

Here's what I have so far as a script on a keyboard shortcut:

browsed_song 'Genre' "PREFIX, `get_browsed_song 'Genre'` "


So if the genre is currently "Retro, Dance" - I want it to become "PREFIX, Retro, Dance"
For some reason the backticks aren't evaluating the verb and just outputting it to the Genre - so it becomes:
PREFIX, `get_browsed_song 'Genre'


Any ideas as to what I'm doing wrong?
 

Mensajes 2 hours ago
browsed_song genre `param_add "get_browsed_song genre" "get_text 'myTextToAdd '"`