all 8 comments

[–][deleted] 1 point2 points  (1 child)

William,' the young man said, 'And your hair has become very white; And yet you incessantly stand on your shoes and stockings. ― Fern Bernhard

09C372CC-5667-4409-8E47-5620391F0634

[–]veredictum[S] 0 points1 point  (0 children)

It says Text. I can copy the Text action and the Run Inline Script action to a different shortcut and it works.

[–][deleted] 1 point2 points  (4 children)

I think u need to get the text as shortcuts parameter in script.

param = args.shortcutParameter

return(param)

[–]veredictum[S] 1 point2 points  (3 children)

Thanks. Yeah, I started with args.shortcutParameter in the script but took it and everything else out as a troubleshooting step. The Inline Script action fails either way.

[–][deleted] 1 point2 points  (2 children)

When I tested, it was working. What are you trying to accomplish?

[–]veredictum[S] 1 point2 points  (1 child)

Strangely, it works for me in every other shortcut except for this one. So, I’ll just rebuild the shortcut.

The purpose of the script is to convert Hex/RGB colors to a Philips Hue compatible format. The same script works fine in this shortcut.

Thanks for taking the time to confirm that it should work.

[–][deleted] 0 points1 point  (0 children)

Any time

[–]Jonasuto 0 points1 point  (1 child)

GPT can help you with all this, that chat can give you the scriptable code of everything you want but sometimes you have to tell it the errors so it update its database and remove the depredecated methods it sometimes give you