GithubHelp home page GithubHelp logo

Edit text about maccy HOT 4 CLOSED

Alrazzouq avatar Alrazzouq commented on July 23, 2024
Edit text

from maccy.

Comments (4)

p0deje avatar p0deje commented on July 23, 2024

@Alrazzouq Sorry, but I believe that's too much for a clipboard manager application.

from maccy.

timbaileyjones avatar timbaileyjones commented on July 23, 2024

@p0deje - normally I would agree with you, but I have a need to edit what gets saved too. I just finished a job search, and most of my use of Maccy revolved around cutting and pasting canned responses to recruiters (multi-line strings maybe 1k-2k in size).

The trouble is that what I "copy" from Linkedin-within-chrome got saved with too much additional whitespace and newlines. While I realize that this is probably because of LinkedIn's rendering of my conversations in the LinkedIn chat window, the extra newlines get pasted into the chat windows of other recipients when I select and paste.

Side note: I've had a devil of a time finding a tool that will let me edit the ZITEMHISTORY.ZTITLE field in the Storage.sqlite file. I've tried 3 vscode sqlite-database plugins, plus a standalone app called 'DB Browser for SQLite'. Like Maccy itself, they all show me the beginning and end of my items, but with '...' in the middle. I was expecting a multi-line editing window with the full text visible.

A simpler workaround might be a configuration checkbox that enables newly-copied clipboard items to have trim() and replace('[\n\r]', '', 'g') run on them prior to being saved. Would you consider this solution? @Alrazzouq didn't mention how he wanted to edit his text, but this would fix my problem.

For now, my workaround is paste into MacVim, use it to clean up all of LinkedIn's extra whitespace garbage, do a select all, and have Maccy copy from there. Then I can pin the item copied from MacVim.

from maccy.

p0deje avatar p0deje commented on July 23, 2024

@timbaileyjones You could probably automate all of that via the Shortcuts.app. Just create a new workflow that receives selected text as input (you likely need to make it available via services menu), then cleanup all extra whitespace using "Replace Text" and finally copy it to the system clipboard using "Copy to Clipboard".

from maccy.

Alrazzouq avatar Alrazzouq commented on July 23, 2024

I believe that simple editing (eg delete/add spaces, delete/add words, clear format ...) will be very helpful.

from maccy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.