You are not logged in.
I would like to know how can specific words be IGNORED from renaming rules? That is mostly related to Translit rule. You have some word(s) that you don't want to touch... Can anybody provide me a script? Thanks
TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!
Offline
Something like:
Parts = split(FileName, " ")
For Each Part in Parts Do
If (Part == "NoTouchWord1") Then Skip
If (Part == "NoTouchWord2") Then Skip
If (Part == "NoTouchWord3") Then Skip
If (Part == "NoTouchWord4") Then Skip
Else
//Translit rule
OUT = OUT + replace ( Part, ê, e) + ' '
OUT = OUT + replace ( Part, ä, a) + ' '
FileName := OUT
could be become complicated?
Maybe first translit all words with translit rule
and then use PascalScript rule to replace un-wanted translated words back?
All depends off how many words and translit items we talk.
I have less ideas, sorry
Read the *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)
Offline
A way to do it (maybe not very good) could be replacing the word with something you know it's not gonna be changed, and then restore it back. For example
Rule 1:
Replace: "something"
With: "<1>"
Rule 2:
Translit...
Rule 3:
...
Rule 4:
Replace: "<1>"
With: "something"
Last edited by SafetyCar (2010-08-07 08:45)
If this software has helped you, consider getting your pro version. :)
Offline
A way to do it (maybe not very good) could be replacing the word with something you know it's not gonna be changed, and then restore it back. For example
Rule 1:
Replace: "something"
With: "<1>"Rule 2:
Translit...Rule 3:
...Rule 4:
Replace: "<1>"
With: "something"
This is also what I do. It's not so "beautiful" but it's working very good.
_________________
Do, or do not. There is no 'try.'" -- Jedi Master Yoda
Offline
Something like:
Parts = split(FileName, " ")
For Each Part in Parts Do
If (Part == "NoTouchWord1") Then Skip
If (Part == "NoTouchWord2") Then Skip
If (Part == "NoTouchWord3") Then Skip
If (Part == "NoTouchWord4") Then SkipElse
//Translit rule
OUT = OUT + replace ( Part, ê, e) + ' '
OUT = OUT + replace ( Part, ä, a) + ' 'FileName := OUT
Yes something like that. It will be much easier for me to specify words in Script, rather to use Safety Car's solution which is feasible, for now. Thanks
Maybe first translit all words with translit rule
and then use PascalScript rule to replace un-wanted translated words back?All depends off how many words and translit items we talk.
I have less ideas, sorry
That could be very tedious if I have 10+ words, I think?
As I said, script would be great only if there is command to "ignore" or "skip" characters/words.
Thanks for giving your opinions guys
P.S. Поздрав Ozzii
TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!
Offline