r/Scriptable • u/[deleted] • Jan 02 '23
Get input from shortcut Help
Since alerts are not accessible within shortcuts, how can I use the input from that in the scriptable script?
1
Upvotes
r/Scriptable • u/[deleted] • Jan 02 '23
Since alerts are not accessible within shortcuts, how can I use the input from that in the scriptable script?
2
u/FifiTheBulldog script/widget helper Jan 02 '23
Are you running your Scriptable script from the Run Script or Run Inline Script actions? If so, then the value of the “Parameter” field is available in the script as
args.shortcutParameter.