Stuck on a basic function, renoise.app():load_theme()

here’s the script for anyone else whose brain sees music in colours :crazy_face:

function startup_notifier()
local path=('C:\\Users\\tugbaot\\AppData\\Roaming\\Renoise\\V3.4.1\\Themes\\')  
local skin =path .. renoise.song().name .. '.xrnc'
renoise.app():load_theme(skin) 
end

if not renoise.tool().app_new_document_observable:has_notifier(startup_notifier) 
   then renoise.tool().app_new_document_observable:add_notifier(startup_notifier)
   else renoise.tool().app_new_document_observable:remove_notifier(startup_notifier)
end
1 Like