Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click paste as plain text command #705

Merged
merged 3 commits into from
Mar 31, 2022

Conversation

iloveitaly
Copy link
Contributor

Description

This is a follow-up to #685

This command executes the "paste as plain text" menu item. The reason this is useful is there are some applications,
such as google sheets, which disable menu item although it can still be used. This command allows you to use this
menu item consistently regardless of if the application decides to disable the hotkeys associated with it.

Type of change

  • New script command

Screenshot

In original PR.

Dependencies / Requirements

N/A

Checklist

Coming from Alfred, this was one of the things I was missing. This is a simple
script that can be invoked to paste a string without any formatting.
Copy link
Member

@dehesa dehesa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey again @iloveitaly,

Thank you for the contribution. I can see the use of this and I am happy to merge, but could you please unwrap the shell script and make it an AppleScript. Raycast can execute AppleScripts directly, so there is no need for the wrapping.

@iloveitaly
Copy link
Contributor Author

Unwrapped the bash script! Thanks for the tip.

@dehesa
Copy link
Member

dehesa commented Mar 30, 2022

You didn't commit your change 😄

@iloveitaly
Copy link
Contributor Author

Whoops, fixed!

@dehesa dehesa merged commit c625193 into raycast:master Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants