rejetto forum
May 26, 2012, 12:57:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: diff tpl with {.set item.}  (Read 627 times)
0 Members and 1 Guest are viewing this topic.
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« on: June 20, 2011, 11:00:48 PM »

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
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: June 22, 2011, 04:21:00 AM »

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="
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #2 on: June 22, 2011, 09:50:47 AM »

Oh nice!  Didn't know it was already in there.

Thanks!
Logged
blaabjerg88
Occasional poster
*
Offline Offline

Denmark Denmark

Posts: 1


View Profile Email
« Reply #3 on: July 09, 2011, 04:52:25 PM »

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
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #4 on: July 10, 2011, 02:34:02 PM »

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, 02:37:46 PM by Mars » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 18, 2012, 04:25:25 AM