Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 12:39:37 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Modify Format/Case: Sanitize Amazon.com URL  (Read 2451 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,845
    • View Profile
    • Donate to Member
Modify Format/Case: Sanitize Amazon.com URL
« on: February 12, 2009, 12:38:14 AM »
I "sanitize" some of my amazon.com URLs using CHS' Modify Format/Case functionality, changing things like:

Quote
http://www.amazon.co...thinghere&sr=8-1

to:

Quote
http://www.amazon.co...-Bono/dp/0316178314/

In my ClipboardHelpAndSpell\PresetFormats\ directory I have a filed named "SanitizeAmazonURL.preset.format", that contains:

Quote
[FormattingForm.rsPropSaver1]
acCheckGroupBoxAddEntire.Checked="false"
AddPrefixEdit.Text=
AddStuffCheckGroupBox.Checked="false"
AddSuffixEdit.Text=
ApplyCheckGroupBox.Checked="true"
ChangeCaseCheckGroupBox.Checked="false"
CheckBoxAddToBlanks.Checked="false"
CheckBoxEvenBetween.Checked="false"
CheckBoxFixedFont.Checked="false"
CheckBoxIndent.Checked="false"
CheckBoxJustify.Checked="false"
CheckBoxNewlineSentences.Checked="false"
CheckBoxNoSpacesInTrimLines.Checked="false"
CheckBoxPostAfterPrefix.Checked="true"
CheckBoxRemoveLinebreaks.Checked="false"
CheckBoxSearchCaseInsensitive.Checked="true"
CheckBoxSearchRegEx.Checked="true"
CheckBoxTrimExcessBlankLines.Checked="true"
CheckBoxTrimExcessWhitespace.Checked="true"
CheckBoxWordWrap.Checked="false"
CheckGroupBoxTrimLeft.Checked="true"
CheckGroupBoxTrimRight.Checked="true"
FindEdit.Text="^(.*\/)ref=.*$"
LabeledEditEntirePrefix.Text=
LabeledEditEntireSuffix.Text=
LeadingCheckGroupBox.Checked="false"
NumberEditWidth.Value=76
PostFormatCheckGroupBox.Checked="false"
RadioButtonInvertCase.Checked="false"
RadioButtonLowercase.Checked="false"
RadioButtonSentenceCase.Checked="true"
RadioButtonTitleCase.Checked="false"
RadioButtonUppercase.Checked="false"
RepEdit.Text="$1"
ReplacementCheckGroupBox.Checked="true"
StripLeadingEdit.Text="<,>,],["
StripperCheckGroupBox.Checked="true"
StripTrailingEdit.Text=
TrailingCheckGroupBox.Checked="false"
TrimLeftCountEdit.Value=0
TrimLineCheckGroupBox.Checked="false"
TrimRightCountEdit.Value=0