topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday December 13, 2024, 4:30 am
  • Proudly celebrating 15+ 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: Clip Order and Duplicate Copies  (Read 5991 times)

Garfield2

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 11
    • View Profile
    • Donate to Member
Clip Order and Duplicate Copies
« on: January 06, 2018, 01:49 PM »
Hello have a quick question if anybody can help. If I copy 1, 2, 2, 3. I want to past 1, 2, 2, 3 but it seems CHS wants to paste 1, 2, 3.

Does anyone know the setting to change to have the former?

Copy 1, 2, 2, 3

Paste 1, 2, 2, 3

Not 1, 2, 3, and whatever was in the history before then.
« Last Edit: January 06, 2018, 03:01 PM by Garfield2 »

Garfield2

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 11
    • View Profile
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #1 on: January 06, 2018, 04:09 PM »
Got the answer on this.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #2 on: January 06, 2018, 05:35 PM »
Got the answer on this.

I'm curious: what was the solution?
Tom

Garfield2

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 11
    • View Profile
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #3 on: January 06, 2018, 06:37 PM »
Thanks for asking. Actually there was no resolution to this issue as much as a confirmation that when a piece of text is copied more than once it is treated as one clipboard item.

I will have to make some differentiation between my placeholders if they are consecutive like * and **

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #4 on: January 07, 2018, 02:28 AM »
Thanks for asking. Actually there was no resolution to this issue as much as a confirmation that when a piece of text is copied more than once it is treated as one clipboard item.
I will have to make some differentiation between my placeholders if they are consecutive like * and **

You could try: CHS Options--> Misc. Options 1 --> When duplicate found: "Don't check for duplicates"

I haven't tried it, but I would presume that that could probably sort out your requirement to preserves duplicates in the stack in the order in which they arrive.
Just a thought.

Maybe we need a "CHS Experiential Tips and Tricks" thread, or something, in this forum. There's so much thoughtfully-designed functionality in CHS that even its creator - @mouser - sometimes seems to forget about bits of it.

Hilario

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 33
    • View Profile
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #5 on: January 13, 2020, 01:04 PM »
I tried last suggestion without success
1, 2, 2, 3 is till pasted as 1, 2, 3
Big problem because it generate a wrong stack.
Thanks for any suggestion

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #6 on: January 13, 2020, 01:08 PM »
I think I see what's happening..  Turning off the checking of duplicates, as IainB suggested, should solve your problem and do what you want, but CHS is still balking at copying the same clip multiple times in a row.. It's refusing to create a new clip that is the exact same contents of the previous clip..   That's almost always what one wants, but you've come up with a scenario where you need it.. I'll have to add an option for that..

Hilario

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 33
    • View Profile
    • Donate to Member
Re: Clip Order and Duplicate Copies
« Reply #7 on: January 14, 2020, 10:48 AM »
Correct. Generally we don't want duplicated values..
but sometimes.... we need it.
For example
city: Madrid
county: Madrid
Two consecutives Madrid
But something more usual is we can have EMPTY field, and in a record we have 2 or 3 empty fields.
city: Madrid
phone: empty
mail: empty
web: madrid.com
at this moment we are in troubles to copy it.
Thanks for any improvement

By the way. When we are doing this operation, it , perhaps, doesn't make any sense of storing everything in the database. There are temporary stacks used to transfer info from one site to another. I suggest this just in case it simplify the operation.