Was about to say the same rhowaldt (almost used a P again there for some reason :-/ ) but always forget the name Environment Variables so glad you got in before me.
Is needed if you want to get it to work between different version of Windows as things like %AppData% are different between WinXP and Win7 and this is a likely one for you to use. (Is there really not one for My Documents?)
Environment variables should be shared within the programming environment to be able to access these.
Renoise by default uses the path of the tool if it remains blank and then there are some other path aliasses available but i should look that up to be sure.
@kazakore: well, if you are going to MOVE your My Documents, there is nobody who can help you anymore.
but seriously, if i move my Program Files, surely my %ProgramFiles% Environment Variable would be pointing to the wrong directory as well. a matter of doing:
(yeah, syntax all wrong and Win/Linux combo but you get the gist)
No because that is exactly what Environmental Variables are for! I check the Windows generated My Documents link is any program, or on the Desktop etc etc and it takes me to the location I’ve moved it to because Windows knows I moved it there. Same if you have it based on a Server, which you quite likely will do on a work Domain, where you need to be able to access your files from any computer within the company!
ok, something else i ran into which i don’t really understand.
i thought stuff that was preceded by a dot (.) was a property. but it was surprising to see .app() because the ‘()’ indicates the ability to receive arguments, and shows you this is a function. also, in the Renoise App Api Reference, renoise.app() is listed under ‘functions’… so, can a function start with a dot as well? i thought functions were indicated with the colon, : ? this is the case with the next part, app():show_status() … again the () but also the : …
could someone enlighten me a bit, or is this just general LUA inconsistency?
Obviously you have to tell Windows you’re moving it, not just drag and drop into another position (or do so at installation.) They are all part of the Environment of the Operating System, which may have a Variable location. The name itself even suggests that (and it’s thanks to you I’ve come across that as I was trying to find more info on them a couple of months back as it happens.)
That is the unfortunate thing with an OOP oriented language it is not LUA specific, the dot is also used in objects and classes and the definition between objects and classes sometimes seem like a very thin line.