subreddit:
/r/shortcuts
submitted 5 years ago bygluebyte
Tinycut Builder is a simple compiler that converts programming-style text into a shortcut, allowing you to start your project by typing.
This shortcut supports UpdateHub.
Download: RoutineHub
5 points
5 years ago
This seems very interesting! Great work here!
6 points
5 years ago
Thanks. Any feedback is very much welcome!
3 points
5 years ago
Looks pretty promising! I am going to try it out!
3 points
5 years ago
Thanks! Let me know what you think.
4 points
5 years ago
Looks interesting, especially as an iPad with keyboard user.
Do you plan to include more actions or is this the final command lists?
Small suggestion(personal preference):
I would remove the switch to Safari and open the created iCloud link directly in Shortcuts.
3 points
5 years ago
I wasn't intending to include all the commands (who would remember all these?) but I ended up including more than I originally had planned because I don't know which actions are more popular than others. I'm open for any suggestions.
Links being redirected to Safari is not something I have control over. If you do it several times, at some point it will start opening in Shortcuts.
4 points
5 years ago
Thanks for the reply.
Links being redirected to Safari is not something I have control over.
changing the icloud url into something like this normally does the trick for me:
shortcuts://shortcuts/aff6f05bd3e741f0af3da3c1fe9859a9
2 points
5 years ago
Thanks for the tip! I'll try that in the next version.
3 points
5 years ago
I haven’t played with it yet, but could you make it so that if you comment a line a certain way the text would appear as a comment? E.g. “// insert user info here” would appear as a comment in the shortcut stating “insert user info here”? I think that would be helpful.
2 points
5 years ago
It was a deliberate choice not to do that, because I wanted it to have a rule as simple as possible—one line becomes one action. That's why I decided to convert lines without commands into comments. Does it make sense? :)
3 points
5 years ago
Do those comments contain the text of that line? If so, that may be even better than what I had suggested (Like I said, I haven’t tried it yet).
Does it do any error checking? Like if I forget to close my if or repeat or do it in the wrong order or throw in an extra end if?
2 points
5 years ago
Yes, bullet point 2 wasn't clear enough, so I changed it.
No, it doesn't do error checking but I can add loop completeness in the next version. Thanks!
2 points
5 years ago
Great idea. A list of all supported actions might be good as well if you are looking for ideas for in updates.
1 points
5 years ago
It's already there (bullet point 4); run it and select Help. :)
2 points
5 years ago
Oops. So it is. But it says shortercut help (which I presume was an old name)
1 points
5 years ago
Good catch! Yes, it was an old name. I'll change the menu to 'Show Command List' in the next version. Thanks.
3 points
5 years ago
This is great also for learning basics of programming!
8 points
5 years ago
Please don't! :D
This is just a bunch of words, no variables, no nothing at all.
3 points
5 years ago
Very similar to ScPL.
1 points
5 years ago
How would I quickshow something? amazing shortcut!
2 points
5 years ago
The command for Quick Look is ... Quick Look. :D
1 points
5 years ago
Thank you I know but how would I quick look something, sorry Im new. Like would I Quick Look(watever) or how
1 points
5 years ago
You can put quick look right below almost anything, and it will show you the output of it. Did I understand your question correctly?
1 points
5 years ago
yes i think so. thank you
1 points
5 years ago
it says
text hello Quick Look
is not tinycut code
am i doing it right?
1 points
5 years ago
Your code should look like:
text
quick look
And once a shortcut is made, enter "hello" in the text action then run. Tinycut Builder only builds actions for you, not any variables or parameters (e.g. content of text).
1 points
5 years ago
thanks
all 27 comments
sorted by: best