Closed BitRancher closed 1 year ago
This is unfortunately a bug in Shortcuts, not Actions. You will have to report this to Apple instead. Actions provide the logic when an action is executed and it tells the system what it accepts, but in the end, it's the Shortcuts app that decides how it's all presented, so any interface bugs needs to be fixed in the Shortcuts app.
Thanks for your quick response. I submitted it as FB11927996.
On Dec 28, 2022, at 5:09 PM, Sindre Sorhus @.***> wrote:
This is unfortunately a bug in Shortcuts, not Actions. You will have to report this to Apple instead. Actions provide the logic when an action is executed and it tells the system what it accepts, but in the end, it's the Shortcuts app that decides how it's all presented, so any interface bugs needs to be fixed in the Shortcuts app.
— Reply to this email directly, view it on GitHub https://github.com/sindresorhus/Actions/issues/93#issuecomment-1366953567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRCDB2C7GZWIS63I33DV7TWPS3B3ANCNFSM6AAAAAATLQNN2I. You are receiving this because you authored the thread.
Summary: When supplying a List magic variable as the Keys option for the Generate CSV action, the magic variable disappears from the Keys field after closing the shortcut in the shortcut editor. However, the Generate CSV action continues to execute as expected.
I am using Generate CSV to create a text variable that I will copy to the clipboard. Rather than hard-code the columns to be generated, I am creating a List of column names that the user can modify as needed. Here is a description of what I've found:
Then, I close the editing window for that simple shortcut.
So, although the Generate CSV action is working correctly, the magic variable disappears from the Keys option field. This makes it difficult for a reader to understand what is going on or to edit this action at some point.
Note: Please keep this magic variable functionality. It's great to be able to dynamically control the columns in the CSV.
thank you.
Actions 2.2.0 (35) - com.sindresorhus.Actions macOS 13.1.0 MacBookPro18,3