User Tools

Site Tools


howto:customize_abbreviations

This is an old revision of the document!


How to customize abbreviations

DropIt provides advanced features to modify abbreviated strings. It is possible to add an unlimited number of modifiers in each abbreviation, using the following syntax:
%Abbreviation#Modifier1#Modifier2%

Some destination examples for Rename action using modifiers:
(Destination ⇒ Original ⇒ Result)
%FileName#>3,4%.%FileExt% ⇒ Readme.txt ⇒ adme.txt
%FileName#s>(me)%.%FileExt% ⇒ Readme Example.doc ⇒ me Example.doc
%FileName#---#+%.%FileExt#---% ⇒ TEST NAME.JPG ⇒ Test name.jpg
%FileName#r(me,PH)%.%FileExt% ⇒ Memory me.zip ⇒ PHmory PH.zip



Supported Modifiers

Case modifiers:
+ ⇒ Uppercase the first character of the string.
++ ⇒ Uppercase the first character of each word in the string.
+++ ⇒ Uppercase all characters in the string.
- ⇒ Lowercase the first character of the string.
-- ⇒ Lowercase all characters except the first character of each word in the string.
--- ⇒ Lowercase all characters in the string.

String modifiers:
>d1,d2 ⇒ Take a string from position d1 (included) counting d2 characters (left to right).
<d1,d2 ⇒ Take a string from position d1 (included) counting d2 characters (right to left).
-d1,d2 ⇒ Take a string between d1 and d2 positions.
s>(s1) ⇒ Take a string from the substring s1 (included) until the end.
s>-(s1) ⇒ Take a string from the substring s1 (excluded) until the end.
s<(s1) ⇒ Take a string from the substring s1 (included) until the beginning.
s<-(s1) ⇒ Take a string from the substring s1 (excluded) until the beginning.
s-(s1,s2) ⇒ Take a string between string s1 and s2 (included).
s--(s1,s2) ⇒ Take a string between string s1 and s2 (excluded).
c>d ⇒ Cut d characters from the left of the string and take the rest.
c<d ⇒ Cut d characters from the right of the string and take the rest.
r(s1,s2) ⇒ Rename all occurrences of the string s1 with string s2.
d(s1) ⇒ Delete all occurrences of the string s1.

Cryptography modifiers: *
En(pass) ⇒ Encrypt with password.
De(pass) ⇒ Decrypt with password.
EnNPt(pass) ⇒ Encrypt with password, point skipped.
DeNPt(pass) ⇒ Decrypt with password, point skipped.
EnNSp(pass) ⇒ Encrypt with password, space skipped.
DeNSp(pass) ⇒ Decrypt with password, space skipped.
EnNSpPt(pass) ⇒ Encrypt with password, space and point skipped.
DeNSpPt(pass) ⇒ Decrypt with password, space and point skipped.
En(pass,exclude) ⇒ Encrypt with password, skipping all characters in exclude string.
De(pass,exclude) ⇒ Decrypt with password, skipping all characters in exclude string.

* Characters not allowed in filenames are not used. Instead, all characters are valid for passwords.

howto/customize_abbreviations.1392589554.txt.gz · Last modified: 2014/10/04 10:37 (external edit)