I have a tool using autostart. Autostart works every time you start Renoise. For example, different cases to boot Renoise:
- Case 1) Invoke renoise.exe, logical
- Case 2) Invoke any related (and linked) file with Renoise, a skin (xrnc), a song (xrns)... etc.
My question is: Is there any way to avoid running a function if Renoise is in Case 2), specifically when initiating an xrns (with renoise closed previously)?
I mean, something like that (the idea):
The song: song.xrns
The function: function xxx() end
if not load a song xrns then
That is, I do not want to load a function if I am in case 2. Is this possible in some way? A condition of this style. This function xxx() is run with autostart.
Well thought, only I want it to run xxx() when running renoise.exe directly.
@Danoise, any way to do this?
Edited by Raul (ulneiz), 05 March 2017 - 15:32.