Page 1 of 1

StatusBar3OnFile=<prop #LinkTarget> not work for *.url

Posted: 11 Jan 2015 13:05
by binocular222
For .url files:
Scripting works (i.e: echo property("LinkTarget"))
but ini tweak StatusBar3OnFile=<prop #LinkTarget> not work

Re: StatusBar3OnFile=<prop #LinkTarget> not work for *.url

Posted: 11 Jan 2015 16:43
by bdeshi
use StatusBar3OnFile="<prop *Link_Target>"


btw,
[quote="scripting_ref -> property()"]A couple of XYplorer-specific named arguments are also supported. They all have to be preceded by # to distinguish them from Windows shell properties.[/quote]
::echo property("LinkTarget") shouldn't work at all, It should either be ::echo property("*Link_Target") (there's a shell prop with same name) or ::echo property("#LinkTarget") .
To compare, ::echo property("#Tags") works but ::echo property("Tags") doesn't.
In retrospect, it's all correct really.


[ed]

Re: StatusBar3OnFile=<prop #LinkTarget> not work for *.url

Posted: 11 Jan 2015 16:58
by bdeshi
To sum up, ::echo property("LinkTarget") & ::echo property("*Link_Target") both return shell property value, (in English UI language)
and ::echo property("#LinkTarget") returns XY property value (which probably doesn't apply to *.urls)