rejetto forum

diff tpl with {.set item.}

raybob · 5 · 2949

0 Members and 1 Guest are viewing this topic.

Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
One essential function missing from {.set item.} is the ability to change the item's diff tpl in HFS.

This really would be extremely useful.

For example:  {.set item|folder|diff tpl=C:\template.tpl.}

Could you add this to this next build please?

Thanks,
Raybob


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
sorry, i forgot to document it.
just added to the to-do list.
in the while you can already use it, of course, but it's "diff template=" instead of "diff tpl="


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Oh nice!  Didn't know it was already in there.

Thanks!


Offline blaabjerg88

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
kan you pleas show it in action... I have been looking for this BIG TIME.... but dont know how and where to implement it...

Thanks


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
blaabjerg88

when you uses some macro to create a folder

only an example:

for virtual folder
{.add folder|virtual|/personal/my pictures.}
{.set item|/personal/my pictures|hide=0|comment=you should never see this!.}
{.set item|/personal/my pictures|diff tpl=C:\template.tpl.}

for real folder
{.add folder|real|/personal/my pictures.}
{.set item|/personal/my pictures|hide=0|comment=you should never see this!.}
{.copy|C:\template.tpl|/personal/my pictures/hfs.diff.tpl.}

see others possibilities in the wiki
http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands
« Last Edit: July 10, 2011, 07:37:46 PM by Mars »