Custom Text Entry
Fancy way to get text entry
Description
It maybe overkill and silly but at times I am very irritated with the regular way of getting input. It’s ugly and small.
Everything here is hard coded so you will need to know W3 CSS to change it but it is all customizable. Just don’t mess with the script for the copy function or the ID’s unless you know how to change them back.
Text is copied to the system keyboard so use a get keyboard action to retrieve the text that is entered.
Feedback
Log in or sign up to leave feedback.
@Mbierman
Interesting! Is there a way to pass the value back to the Shortcut without using the clipboard? Sometimes that could cause problems.
It would be nice to see a series of these... for example, HTML would handle number input much better than Shortcuts does.
Nice work.
· 8 months, 1 week ago
· 8 months, 1 week ago
@Beneto
Author
Yes there is other options.
You can edit the html to use color picker, date picker and others. I will probably put up a bigger one that gives examples.
I believe there is a way to get the input other ways besides the clipboard but there is a lot of limitations on both web kit and what you can do in shortcuts.
Right now my limited understanding is that to get the data back out as text without clipboard would require more of a run JavaScript approach (which means leaving shortcuts).
· 8 months ago
· 8 months ago
@Mbierman
Agreed I don’t see how to do it without JavaScript, but that doesn’t seem like a bad thing. Off hand I’m not sure if webkit’s limitations on a page running locally prevent this or not.
· 8 months ago
· 8 months ago
@Beneto
Author
If it helps I have a version that uses W3 CSS that does not use JS.
The script it's self uses element id and all that so it's not JS either. I do have a few leads I am working on.
· 7 months, 4 weeks ago
· 7 months, 4 weeks ago
@Beneto
Author
And thank you for the compliment. Maybe someone who knows more than me will see this and have better ideas on how to avoid the clipboard.
· 8 months ago
· 8 months ago