Page 1 of 1

SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 01 Jul 2017 11:48
by Filehero
Hi Don,

can SC setting(p) be extended to support

Code: Select all

SaveOverwrite: 0 | no Save Overwrite is applied during Custom Copy operations
                   (requires CustomCopy to be activated)
               1 | Save Overwrite is applied during Custom Copy operations
                   (requires CustomCopy to be activated)
               r | Restore previous setting


CopyTags:      0 | Tags (labels, tags, comments) are not copied on copy/backup operations
               1 | Tags (labels, tags, comments) are copied on copy/backup operations
               r | Restore previous setting
:?:

Thanks,
Filehero

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 12 Jul 2017 12:07
by Filehero
Hi Don,

any chance for being considered?

Thanks,
FH

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 12 Jul 2017 12:44
by admin
Yup.

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 12 Jul 2017 16:27
by admin
Uhm, spoke too soon. This would be 4 settings:

TagCopyTagsOnCopy
TagCopyTagsOnBackup
SafeOverwrite
BackupSafeOverwrite

And there are many more like these. I think I have to draw a line somewhere. :|

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 12 Jul 2017 20:27
by Filehero
admin wrote:I think I have to draw a line somewhere. :|
I see.

The wish for a "SafeOverwrite" handle result from a strange observation made with Custom Copy, described here.

Maybe it could be addressed differently?

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 13 Jul 2017 18:01
by admin
OK, I guess the addition of SafeOverwrite can be justified. :)

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 14 Jul 2017 07:19
by Filehero

Code: Select all

v18.10.0001 - 2017-07-13 18:43
    + Scripting commands setting/settingp enhanced: New named argument 
      "safeoverwrite" to temporarily enable/disable Custom Copy "Safe Overwrite".
Thanks. :D

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 14 Jul 2017 19:59
by Filehero
With 18.10.0002 and a code like

Code: Select all

  setting("UseCustomCopy", 1);
  setting("SafeOverwrite", 0);
  copyto(gpc($targetFile), $sourceFile, , , -1);
I still get this tab renaming in the editor.

Code: Select all

  settingp("SafeOverwrite", 0);
also has no effects when checked against the configuration.

:bug: ?

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 14 Jul 2017 20:01
by admin
Frankly I did not even test it. :oops: I come back later...

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 16 Jul 2017 13:14
by admin
Should be fixed in next beta.

Re: SC Setting: "Save Overwrite" and "Copy Tags"

Posted: 16 Jul 2017 16:27
by Filehero
admin wrote:Should be fixed in next beta.
Fix confirmed. What a relief, thanks. :D