1
RAWR-Designs / Re: Reloaded Page = messed up page
« on: September 24, 2009, 11:44:57 AM »
Aw shit, i didn't understand However, disabling "compressed browsing" didn't work for me.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
in your template
{.rename|%item-resource%|new-name.ext.}
[on macro rename]
{.rename|{.filepath|%old-name%.}[previews]\{.filename|%old-name%.}|%new-name%.}
when hfs find a macro rename, if the action rename is done, the he call the event [on macro rename] where
%old-name% is replaced by %item-resource% and %new-name% by new-name.ext
you have to use %item-folder%[preview]/%item-name%
mars is right. why don't you use {.rename.} ?
+ new symbols %old-name% and %new-name% for event [on macro rename]
[+on macro rename]
{.exec|cmd.exe /K rename_preview.cmd "%old-name%" "%new-name%".}
@echo off
set oldname=%~nx1.flv
set newname=%~nx2.flv
%~d1
cd %~p1
cd [previews]
ren "%oldname%" "%newname%"