Page 1 of 1

Creating Variables from UDC

Posted: 02 Jul 2014 13:41
by aviaryan
Situation:
For portability, I would like to set some paths using variables so that I can change them all at once when needed.
As for example, many of my favorites, applications, catalog items in XY are of portable softwares that I currently store in S:\Portables . If I migrate this folder to other computer, I may not be able to keep the same path and then the best way to update those will be changing a one-place variable.

Request:
Add a category "Variables" in User Defined Commands or List Management that allows the user to add his variables. These vars will be valid throughout the program just like in-built ones.

Re: Creating Variables from UDC

Posted: 02 Jul 2014 13:51
by binocular222

Code: Select all

perm $path = "S:\Portables"
Config > Refresh, Icons ,History > Tick "Remember permanent variables"

Re: Creating Variables from UDC

Posted: 02 Jul 2014 14:06
by aviaryan
binocular222 wrote:

Code: Select all

perm $path = "S:\Portables"
Config > Refresh, Icons ,History > Tick "Remember permanent variables"
Thanks again. :appl:
Your solution will do the work.

Re: Creating Variables from UDC

Posted: 03 Jul 2014 00:03
by yusef88
Any reference to read about creating these variables,please? how create new one and use it?

Re: Creating Variables from UDC

Posted: 03 Jul 2014 00:45
by PeterH
yusef88 wrote:Any reference to read about creating these variables,please? how create new one and use it?
See: Help / Advanced Topics / Scripting / Variables Scope and Lifetime: Local, ...
and: Help / Advanced Topics / Scripting Commands Reference / perm

Re: Creating Variables from UDC

Posted: 03 Jul 2014 01:56
by yusef88
@PeterH ..thanks a lot