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

Access jellycut shortcut as plain text in shortcuts #121

Open
ghost opened this issue Oct 20, 2022 · 3 comments
Open

Access jellycut shortcut as plain text in shortcuts #121

ghost opened this issue Oct 20, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Oct 20, 2022

Is your feature request related to a problem? Please describe.

There is currently no clean and fast option to copy paste multiple actions in a row between shortcuts which makes some workflows pretty slow.

Describe the solution you'd like

It would be very helpful if we could get access to the plain text of a jellycut shortcut within Shortcuts, so that we are able copy&paste actions between shortcuts in a faster way, for example:
Shortcut one
[Comment field with "###"]
actions I want to copy
[Comment field with "###"]
^match the text between the comments with a regex where ### is the start and endpoint

Shortcut two
[Comment field with "###"]
^replace with actions from Shortcut one

And then sync the modified shortcut within jellycuts back to the Shortcuts app.

Additional context

Add any other context or screenshots about the feature request here.

@ghost ghost added the enhancement New feature or request label Oct 20, 2022
@ActuallyTaylor
Copy link
Member

You can access the plaintext of a Jellycut by going through the files app document folder. Jellycuts stores all of its files publicly for you to access.

Let me know if this meets your needs, if it doesn't I can see what is possible to get something working!

@ghost
Copy link
Author

ghost commented Oct 21, 2022

Thx for the quick answer.
Yes and no. I see that the files are stored there, thanks for that, wasn't aware of it before, haha.
But as it is in .jelly Format, I have to access to the content of the files, outside of Jellycuts.
I can open it in quicklook and there is no action I am aware of to retrieve the content of that file, or am I something missing?

@ActuallyTaylor
Copy link
Member

But as it is in .jelly Format, I have to access to the content of the files, outside of Jellycuts.

I can open it in quicklook and there is no action I am aware of to retrieve the content of that file, or am I something missing?

That is really odd that shortcuts can't just grab the data from the file. It is just a txt with a different extension. I can add action to extract the text once I get through some of the action issues. For now you could do what this shortcut is doing:

https://www.icloud.com/shortcuts/cb700821085d4954aca3a977f46fe52a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant